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

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

 



>> If the problem is with config space access, not with the SCI, why
>> can't you just put the root port back in D0 before scanning its
>> secondary bus?  That seems like a more direct fix.
>
> comment #4 patch does exactly like that.  ALLurGroceries tried that patch and
> it works for him in comment #7.  But in comment #14, ALLurGroceries reported
> that it does not work reliably enough.  So I write comment #26 patch to fix the
> issue in a more conservative way, and it works reliable for ALLurGroceries.

The comment #4 patch adds "pm_runtime_get_sync(&bridge->pci_dev->dev)"
before re-enumerating.  If that is supposed to keep the bridge in D0
but doesn't, we need to figure out why.  I don't know how PM works,
but maybe Rafael will chime in.

> If acpiphp cannot identify the slots, acpiphp cannot work regardless whether
> the bridge is put into low power state.  If acpiphp can identify the slots,
> with the help of comment #26 patch, acpiphp can work properly and the root port
> will not be put into low power state.  So I think the point is to make acpiphp
> identify all slots.  And comment #26 patch is a valid fix.

Please look at the bug #54981 DSDT and explain either (1) why we
should use pciehp rather than acpiphp on that machine, or (2) how we
can make acpiphp identify the ExpressCard slot.

My contention is that the "slot identification" model currently used
by acpiphp is fundamentally broken and that we should change acpiphp
so it doesn't depend on identifying slots.  I don't believe it is
possible to identify all possible slots by looking at the DSDT, and
therefore, I don't want to make changes like the comment #26 patch
that depend on identifying slots.
--
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