diff options
author | Tomasz Nowicki <tomasz.nowicki@linaro.org> | 2013-09-19 16:41:35 +0200 |
---|---|---|
committer | Tomasz Nowicki <tomasz.nowicki@linaro.org> | 2013-09-19 16:41:35 +0200 |
commit | 01ecbbe784c46c2d57b96177616b5eda241248b7 (patch) | |
tree | 326fbc1ebe76ab2a6644bc4b2af71998daadd736 /platforms | |
parent | 893d817f43ec1d5a9b11cfb1bb8f7240814a8bfc (diff) |
acpi, apei, ghes: Enable APEI firmware first mode by APEI bit.
Platform-Wide OSPM Capabilities (\_SB._OSC control method)
describe platform features that are supported, APEI bit in this case.
Signed-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/exynos5250-arndale.acpi/dsdt.asl | 17 | ||||
-rw-r--r-- | platforms/foundation-v8.acpi/dsdt.asl | 17 | ||||
-rw-r--r-- | platforms/rtsm_ve-aemv8a.acpi/dsdt.asl | 17 |
3 files changed, 48 insertions, 3 deletions
diff --git a/platforms/exynos5250-arndale.acpi/dsdt.asl b/platforms/exynos5250-arndale.acpi/dsdt.asl index aa01757..a3508c2 100644 --- a/platforms/exynos5250-arndale.acpi/dsdt.asl +++ b/platforms/exynos5250-arndale.acpi/dsdt.asl @@ -12,7 +12,7 @@ DefinitionBlock ( 2, // DSDT compliance revision "LINARO", // OEM ID "ARNDALE ", // table ID - 0x00000002) // OEM revision + 0x00000003) // OEM revision { Scope (\_SB) { @@ -46,6 +46,21 @@ DefinitionBlock ( } } + Method (_OSC, 4, NotSerialized) + { + /* Platform-Wide OSPM Capabilities */ + If(LEqual(Arg0,ToUUID("0811B06E-4A27-44F9-8D60-3CBBC22E7B48"))) + { + /* APEI support unconditionally */ + Return (Arg3) + } Else { + CreateDWordField (Arg3, Zero, CDW1) + /* Set invalid UUID error bit */ + Or (CDW1, 0x04, CDW1) + Return (Arg3) + } + } + Device (SCK0) { Name (_HID, "ACPI0004") diff --git a/platforms/foundation-v8.acpi/dsdt.asl b/platforms/foundation-v8.acpi/dsdt.asl index 89459ec..c1760f7 100644 --- a/platforms/foundation-v8.acpi/dsdt.asl +++ b/platforms/foundation-v8.acpi/dsdt.asl @@ -12,10 +12,25 @@ DefinitionBlock ( 2, // DSDT compliance revision "LINARO", // OEM ID "FOUNDATI", // table ID - 0x00000002) // OEM revision + 0x00000003) // OEM revision { Scope (\_SB) { + Method (_OSC, 4, NotSerialized) + { + /* Platform-Wide OSPM Capabilities */ + If(LEqual(Arg0,ToUUID("0811B06E-4A27-44F9-8D60-3CBBC22E7B48"))) + { + /* APEI support unconditionally */ + Return (Arg3) + } Else { + CreateDWordField (Arg3, Zero, CDW1) + /* Set invalid UUID error bit */ + Or (CDW1, 0x04, CDW1) + Return (Arg3) + } + } + Device (SCK0) { Name (_HID, "ACPI0004") diff --git a/platforms/rtsm_ve-aemv8a.acpi/dsdt.asl b/platforms/rtsm_ve-aemv8a.acpi/dsdt.asl index ed13b1f..2788810 100644 --- a/platforms/rtsm_ve-aemv8a.acpi/dsdt.asl +++ b/platforms/rtsm_ve-aemv8a.acpi/dsdt.asl @@ -12,10 +12,25 @@ DefinitionBlock ( 2, // DSDT compliance revision "LINARO", // OEM ID "RTSMVEV8", // table ID - 0x00000002) // OEM revision + 0x00000003) // OEM revision { Scope (\_SB) { + Method (_OSC, 4, NotSerialized) + { + /* Platform-Wide OSPM Capabilities */ + If(LEqual(Arg0,ToUUID("0811B06E-4A27-44F9-8D60-3CBBC22E7B48"))) + { + /* APEI support unconditionally */ + Return (Arg3) + } Else { + CreateDWordField (Arg3, Zero, CDW1) + /* Set invalid UUID error bit */ + Or (CDW1, 0x04, CDW1) + Return (Arg3) + } + } + Device (SCK0) { Name (_HID, "ACPI0004") |