Re: [PATCH 1/2] powerpc/book3e-64: hv exceptions aren't MASKABLE

From
Kumar Gala <hidden>
Date
2011-05-20 19:36:15
Reply to
Scott Wood, 2011-05-20
On May 20, 2011, at 2:00 PM, Scott Wood wrote:
In general we will not have EE soft-disabled or be napping when
these exceptions happen, but still it is not correct.
=20
The guest doorbell exceptions can only be triggered with MSR[GS]=3D1,
and thus for host kernel nesting purposes are base-level exceptions.
=20
Note that ehpriv and hypercall are triggerable from normal userspace.
I tested that the process gets properly signalled in this case.
=20
Signed-off-by: Scott Wood <redacted>
---
arch/powerpc/include/asm/reg_booke.h |    2 +
arch/powerpc/kernel/exceptions-64e.S |   67 =
++++++++++++++++++++++++++--------
2 files changed, 53 insertions(+), 16 deletions(-)
Can you look at a similar patch for 32-bit fsl-booke so we handle HV =
exceptions if they happen to get generated, maybe something already =
exists for KVM.

- k=
Thread (4 messages) 4 messages, 3 authors, last reply 2011-05-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help