Re: [PATCH 1/2] powerpc/book3e-64: hv exceptions aren't MASKABLE
From: Scott Wood <hidden>
Date: 2011-05-20 19:39:55
From: Scott Wood <hidden>
Date: 2011-05-20 19:39:55
On Fri, 20 May 2011 14:36:09 -0500 Kumar Gala [off-list ref] wrote:
On May 20, 2011, at 2:00 PM, Scott Wood wrote:quoted
In general we will not have EE soft-disabled or be napping when these exceptions happen, but still it is not correct. The guest doorbell exceptions can only be triggered with MSR[GS]=1, and thus for host kernel nesting purposes are base-level exceptions. Note that ehpriv and hypercall are triggerable from normal userspace. I tested that the process gets properly signalled in this case. 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.
Yes. -Scott