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

            Bug ID: 195325
           Summary: ACPI customize method feature is broken
           Product: ACPI
           Version: 2.5
    Kernel Version: 4.11-rc4
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Config-Tables
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

In drivers/acpi/custom_method.c, acpi_install_method returns 0x1001. which is
AE_BAD_PARAMETER I suppose.

The sample ASL code I use is
DefinitionBlock ("", "SSDT", 2, "", "", 0x20080715)
{
//External (\_SB_.PCI0.GFX0.DD03, DeviceObj)
//External (\_SB_.AMW0.BLAP, MethodObj)
//External (\BCLP, IntObj)
//External (CFGD)
External (\_SB.PCI0.LPCB.EC0.PSST)
External (\PWRS)
External (\_SB.PCI0.LPCB.EC0.ECAV, IntObj)

  Method (\_SB.PCI0.LPCB.EC0.ADP1._PSR, 0, NotSerialized)
  {
                    If (ECAV)
                    {
                        Return ((PSST & One))
                    }
                    Else
                    {
                        Return (PWRS) /* \PWRS */
                    }
  }
}

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to