[Skiboot] [PATCH] ATTN: Set attn bit instead of hile bit in enable/disable attn function
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Thu Jun 16 19:31:22 AEST 2016
Commit 3ff35034 (Abstract HILE and attn enable bit definitions for HID0)
enabled HILE bit instead of ATTN bit in enable/disable_attn fuction.
Hence OPAL assert is failing.
Fixes: 3ff35034 (Abstract HILE and attn enable bit definitions for HID0)
CC: Michael Neuling <mikey at neuling.org>
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
core/cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/cpu.c b/core/cpu.c
index b5a3614..ffc264f 100644
--- a/core/cpu.c
+++ b/core/cpu.c
@@ -411,7 +411,7 @@ static void enable_attn(void)
unsigned long hid0;
hid0 = mfspr(SPR_HID0);
- hid0 |= hid0_hile;
+ hid0 |= hid0_attn;
set_hid0(hid0);
}
@@ -420,7 +420,7 @@ static void disable_attn(void)
unsigned long hid0;
hid0 = mfspr(SPR_HID0);
- hid0 &= ~hid0_hile;
+ hid0 &= ~hid0_attn;
set_hid0(hid0);
}
--
2.5.5
More information about the Skiboot
mailing list