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

            Bug ID: 150841
           Summary: sysfs is broken due to LoadTable("OEM"...)
           Product: ACPI
           Version: 2.5
    Kernel Version: All
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: ACPICA-Core
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

We are running into an issue in Linux with using dynamic tables and I was
hoping you could help or shed some light on the issue.

We are creating dynamic OEMx tables based on OS capabilities from _OSC method
for CPU power management.

During boot time, we patch and install these OEMx tables based on certain setup
questions so that they are in ACPI memory and linked in with RSDT/XSDT.

In the ASL, we will load them using LoadTable:
      LoadTable("OEM1", "INTEL", "CPU EIST",,,)   // Dynamically load the
CPUEIST table

However, in Linux, it is generating a blank OEM12 file at the location: 
/sys/firmware/acpi/tables/dynamic/OEM12

If we use an acpidump tool to dump ACPI tables, we will get an error:
/sys/firmware/acpi/tables/dynamic/OEM12 Could not get ACPI table at index 36,
AE_BAD_HEADERTool's

/sys/firmware/acpi/tables/OEM1 is present and functionality wise, it is working
as expected.

Any ideas why this table is generated with no data?  Is this an issue with
Linux by chance or is there a different way to program our ASL to avoid this? 
We have protections around the LoadTable calls to avoid loading them multiple
times.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

------------------------------------------------------------------------------
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to