Re: [PATCH 18/43] target/ppc: Add function to get protection key for hash32 MMU

2024-07-03 Thread Nicholas Piggin
On Mon May 27, 2024 at 9:12 AM AEST, BALATON Zoltan wrote: > Add a function to get key bit from SR and use it instead of open coded > version. > Nice. Reviewed-by: Nicholas Piggin > Signed-off-by: BALATON Zoltan > --- > target/ppc/mmu-hash32.c | 9 ++--- > target/ppc/mmu-hash32.h | 5

[PATCH 18/43] target/ppc: Add function to get protection key for hash32 MMU

2024-05-26 Thread BALATON Zoltan
Add a function to get key bit from SR and use it instead of open coded version. Signed-off-by: BALATON Zoltan --- target/ppc/mmu-hash32.c | 9 ++--- target/ppc/mmu-hash32.h | 5 + target/ppc/mmu_common.c | 3 +-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/target/ppc/