Re: [BUGFIX] PCI/PM: Fix proc config reg access for D3cold and bridge suspending

From: Bjorn Helgaas
Date: Mon Nov 05 2012 - 17:10:50 EST


On Fri, Nov 2, 2012 at 2:25 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> On Friday, November 02, 2012 10:38:43 AM Bjorn Helgaas wrote:
>> On Wed, Oct 24, 2012 at 7:36 PM, Huang Ying <ying.huang@xxxxxxxxx> wrote:
>> > In
>> >
>> > https://bugzilla.kernel.org/show_bug.cgi?id=48981
>> >
>> > Peter reported that /proc/bus/pci/??/??.? does not works for 3.6.
>> > This is This is because the device configuration space registers will
>> > be not accessible if the corresponding parent bridge is suspended or
>> > the device is put into D3cold state.
>> >
>> > This is the same as /sys/bus/pci/devices/0000:??:??.?/config access
>> > issue. So the function used to solve sysfs issue is used to solve
>> > this issue.
>> >
>> > Cc: stable@xxxxxxxxxxxxxxx
>> > Reported-by: Peter <lekensteyn@xxxxxxxxx>
>>
>> Is this bug the same as the one originally reported by Forrest Loomis
>> (original reporter of bug 48981)? And
>> https://bugzilla.kernel.org/show_bug.cgi?id=49031, reported by Micael
>> Dias (Rafael marked 49031 as a duplicate of 48981)?
>>
>> If so, I'll mention Forrest and Micael and bug 49031 here as well.
>
> No, it's not. That one turned out to be a duplicate of bko#48981.

I applied this to my for-linus branch as v3.7 material. Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/