summaryrefslogtreecommitdiffstats
path: root/src/kernel/syscall.C
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-08-10 12:03:47 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-08-15 12:24:16 -0500
commit7fce1b890805c829b28867ce8fdf35e102a7ff14 (patch)
tree0bf9b318f4d6aa61f16ab1e1bbc701eed206d7d2 /src/kernel/syscall.C
parentb37ad3eba6e5d9334e4b35a1b32742fde4dff646 (diff)
downloadtalos-hostboot-7fce1b890805c829b28867ce8fdf35e102a7ff14.tar.gz
talos-hostboot-7fce1b890805c829b28867ce8fdf35e102a7ff14.zip
Disable EE when calling nap.
Due to the LPCR values, nap can already be exited by an interrupt or decrementer event. Remove EE in the MSR so that we are guarenteed that we fully enter nap even if there is a interrupt or decrementer pending. Change-Id: If70f82ea7c05576c1dd97de9e2a1d930c36ba46f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1515 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/kernel/syscall.C')
-rw-r--r--src/kernel/syscall.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/syscall.C b/src/kernel/syscall.C
index 645691d70..94c6a5860 100644
--- a/src/kernel/syscall.C
+++ b/src/kernel/syscall.C
@@ -681,9 +681,9 @@ namespace Systemcalls
if (0x4c000364 == (*instruction)) // Verify 'nap' instruction,
// otherwise just return.
{
- // Disable PR, IR, DR so 'nap' can be executed.
+ // Disable EE, PR, IR, DR so 'nap' can be executed.
// (which means to stay in HV state)
- t->context.msr_mask = 0x4030;
+ t->context.msr_mask = 0xC030;
}
};
OpenPOWER on IntegriCloud