https://bugzilla.kernel.org/show_bug.cgi?id=42696

--- Comment #27 from Peter <[email protected]> ---
The original issue was that while iterating the list of devices, the last match
would be returned. It seemed logical to me that the first result is immediately
returned for efficiency reasons. Hence I suggested to return on the first match
instead of continuing the iteration and ending up at the last device.

Using a dummy module that walked on the parent of the PCI video device
0000:01:00.0, (acpi_walk_namespace(ACPI_TYPE_DEVICE, parent, 1, find_child,
NULL, NULL, NULL);) resulted in the following:
[  364.003582] walk: Walking through all handles...
[  364.003679] walk: Address: 00000000 (valid); handle: \_SB_.PCI0.PEG0.PEGP
[  364.003784] walk: Address: 00000001 (valid); handle: \_SB_.PCI0.PEG0.VGA1
[  364.003872] walk: Address: 00000000 (valid); handle: \_SB_.PCI0.PEG0.VGA_
[  364.003882] walk: Walked through all handles

Here, there are valid _ADR methods unlike in bug 60561.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to