Commit 0efabac9b7c8535eeb199d2f16d3eb44dc4761b2
1 parent
c420bc9f09
Exists in
master
and in
7 other branches
ACPICA: allow Load(OEMx) tables
HP and Hitachi machines have been implemented with SSDT's that use the "OEMx" signatures. But upon Load, ACPICA is rejecting these tables because they are not using the "SSDT" signature. ACPI Error (tbinstal-0134): Table has invalid signature [OEMx], must be SSDT... Signed-off-by: Len Brown <len.brown@intel.com>
Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff
drivers/acpi/tables/tbinstal.c
... | ... | @@ -123,14 +123,14 @@ |
123 | 123 | } |
124 | 124 | } |
125 | 125 | |
126 | - /* The table must be either an SSDT or a PSDT */ | |
126 | + /* The table must be either an SSDT or a PSDT or an OEMx */ | |
127 | 127 | |
128 | 128 | if ((!ACPI_COMPARE_NAME(table_desc->pointer->signature, ACPI_SIG_PSDT)) |
129 | 129 | && |
130 | - (!ACPI_COMPARE_NAME(table_desc->pointer->signature, ACPI_SIG_SSDT))) | |
131 | - { | |
130 | + (!ACPI_COMPARE_NAME(table_desc->pointer->signature, ACPI_SIG_SSDT)) | |
131 | + && (strncmp(table_desc->pointer->signature, "OEM", 3))) { | |
132 | 132 | ACPI_ERROR((AE_INFO, |
133 | - "Table has invalid signature [%4.4s], must be SSDT or PSDT", | |
133 | + "Table has invalid signature [%4.4s], must be SSDT, PSDT or OEMx", | |
134 | 134 | table_desc->pointer->signature)); |
135 | 135 | return_ACPI_STATUS(AE_BAD_SIGNATURE); |
136 | 136 | } |