[RFC,v2,17/21,SeaBIOS] acpi_dsdt: Revert internal dimm state on _OST failure

Submitted by Vasilis Liaskovitis on July 11, 2012, 10:32 a.m.

Details

Message ID 1342002726-18258-18-git-send-email-vasilis.liaskovitis@profitbricks.com
State New
Headers show

Commit Message

Vasilis Liaskovitis July 11, 2012, 10:32 a.m.
This reverts bitmap state in the case of a failed hot operation, in order to
allow retry of failed hot operations

Signed-off-by: Vasilis Liaskovitis <vasilis.liaskovitis@profitbricks.com>
---
 src/acpi-dsdt.dsl |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl
index 1c253ca..0d37bbc 100644
--- a/src/acpi-dsdt.dsl
+++ b/src/acpi-dsdt.dsl
@@ -832,6 +832,8 @@  DefinitionBlock (
                     Switch(And(Arg1, 0xFF)) {
                         Case(0x1) {
                             Store(Arg2, MEF)
+                            // Revert MEON flag for this memory device to one
+                            Store(One, Index(MEON, Arg2))
                         }
                     }
                 }
@@ -843,6 +845,8 @@  DefinitionBlock (
                         }
                         Case(0x1) {
                             Store(Arg2, MIF)
+                            // Revert MEON flag for this memory device to zero
+                            Store(Zero, Index(MEON, Arg2))
                         }
                     }
                 }