Re: [PATCH 09/13] target/ppc: Prevent supervisor from modifying MSR[ME]

2024-03-12 Thread Nicholas Piggin
On Tue Mar 12, 2024 at 8:27 PM AEST, Harsh Prateek Bora wrote: > > > On 3/12/24 00:21, Nicholas Piggin wrote: > > Prevent guest state modifying the MSR[ME] bit. Per ISA: > > > >An attempt to modify MSRME in privileged but non-hypervisor state is > > s/MSRME/MSR[ME] ? Yes, thanks. > > >ig

Re: [PATCH 09/13] target/ppc: Prevent supervisor from modifying MSR[ME]

2024-03-12 Thread Harsh Prateek Bora
On 3/12/24 00:21, Nicholas Piggin wrote: Prevent guest state modifying the MSR[ME] bit. Per ISA: An attempt to modify MSRME in privileged but non-hypervisor state is s/MSRME/MSR[ME] ? ignored (i.e., the bit is not changed). Signed-off-by: Nicholas Piggin --- target/ppc/helper_re

[PATCH 09/13] target/ppc: Prevent supervisor from modifying MSR[ME]

2024-03-11 Thread Nicholas Piggin
Prevent guest state modifying the MSR[ME] bit. Per ISA: An attempt to modify MSRME in privileged but non-hypervisor state is ignored (i.e., the bit is not changed). Signed-off-by: Nicholas Piggin --- target/ppc/helper_regs.c | 5 + 1 file changed, 5 insertions(+) diff --git a/target/pp