Re: [Bug 53811] [REGRESSION]: acpiphp broken on Lenovo X220 from 3.6 onwards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[+cc Zheng, Rafael, linux-pci]

On Wed, Feb 13, 2013 at 11:55 PM,  <bugzilla-daemon@xxxxxxxxxxxxxxxxxxx> wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=53811
>
>            Summary: acpiphp broken on Lenovo X220 from 3.6 onwards

> Distribution: Debian Sid AMD64
> Hardware: Lenovo X220, i5-2520M, 8GB
>
> Hotplugging the expresscard no longer works after 3.5.
>
> Bisected to commit 71a83bd727cc31c5fe960c3758cb396267ff710e
>
> "PCI/PM: add runtime PM support to PCIe port"
>
> "Because runtime suspend is broken for some chipsets, a black list is used to
> disable runtime PM support for these chipsets."
>
> I'm not sure how the blacklist is supposed to look, so I reversed the test and
> the problem is gone. Here's a diff against 3.7.7:
>
> diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c
> index ebb3e5f..b427aad 100644
> --- a/drivers/pci/pcie/portdrv_pci.c
> +++ b/drivers/pci/pcie/portdrv_pci.c
> @@ -225,7 +225,7 @@ static int __devinit pcie_portdrv_probe(struct pci_dev
> *dev,
>       * it by default.
>       */
>      dev->d3cold_allowed = false;
> -    if (!pci_match_id(port_runtime_pm_black_list, dev))
> +    if (pci_match_id(port_runtime_pm_black_list, dev))
>          pm_runtime_put_noidle(&dev->dev);
>
>      return 0;

Thanks for the report.  Can you please attach complete dmesg logs from
kernels with your patch (showing a working hotplug) and without your
patch (showing the failing hotplug)?
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux