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

Lan Tianyu <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |[email protected]
           Assignee|acpi_power-video@kernel-bug |[email protected]
                   |s.osdl.org                  |

--- Comment #1 from Lan Tianyu <[email protected]> ---
Check the dsdt and ssdt5 table, both \_SB.PCI0.PEG0 and \_SB.PCI0.P0P2 have
same addr(0x00010000) but they don't have _STA method.

Before commit 33f767, acpi_get_child() returned the last one when there were
devices with the same _ADR. After the commit, it returned the first one.
This  may explain that the handle became \_SB.PCI0.P0P2 from \_SB.PCI0.PEG0.

commit c7d9ca should resolve the problem since it will return the last one if
all devices don't have _STA(Here is the case.).

I notice commit 33f767 changed do_acpi_find_child() as post_order_visit
callback 
for acpi_walk_namespace() from pre_order_visit. This may be the cause. I will
produce a debug.patch. Please have a try.

Device (P0P2)
{
     Name (_ADR, 0x00010000)  // _ADR: Address
     Method (_PRT, 0, NotSerialized)  // _PRT: PCI Routing Table
     {
          If (PICM)
          {
               Return (AR02 ())
          }

          Return (PR02 ())
     }
}



Scope (\_SB.PCI0)
{
        Name (LTRS, Zero)
        Name (OBFS, Zero)
        Device (PEG0)
        {
            Name (_ADR, 0x00010000)  // _ADR: Address
            OperationRegion (PEGR, PCI_Config, 0xC0, 0x30)
            Field (PEGR, DWordAcc, NoLock, Preserve)
            {
                Offset (0x02),
                PSTS,   1,
                Offset (0x2C),
                GENG,   1,
                    ,   1,
                PMEG,   1
            }
...

-- 
You are receiving this mail because:
You are watching the assignee of 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