summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-06-21 18:39:39 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-06-21 18:39:39 +0000
commitaf9a005315a804ed3c115a0038338e0b90b815bc (patch)
treefdeec4dbe4b67e6c1ee0d1648f58719845906657
parent557c70a9e09ced2163bb840e1d423d27322672ac (diff)
Enable machine check interrupt.
-rw-r--r--sys/arch/powerpc64/powerpc64/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc64/powerpc64/machdep.c b/sys/arch/powerpc64/powerpc64/machdep.c
index a110c97a2da..79ebada20b6 100644
--- a/sys/arch/powerpc64/powerpc64/machdep.c
+++ b/sys/arch/powerpc64/powerpc64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.27 2020/06/21 16:18:54 kettenis Exp $ */
+/* $OpenBSD: machdep.c,v 1.28 2020/06/21 18:39:38 kettenis Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
@@ -147,7 +147,7 @@ init_powernv(void *fdt, void *tocbase)
/* We're now ready to take traps. */
msr = mfmsr();
- mtmsr(msr | PSL_RI);
+ mtmsr(msr | (PSL_ME|PSL_RI));
#define LPCR_LPES 0x0000000000000008UL
#define LPCR_HVICE 0x0000000000000002UL