Re: [PATCH 41/43] target/ppc: Change MMU xlate functions to take CPUState

2024-07-06 Thread BALATON Zoltan
On Thu, 4 Jul 2024, Nicholas Piggin wrote: On Mon May 27, 2024 at 9:13 AM AEST, BALATON Zoltan wrote: The callers of xlate functions get CPUState which is then cast to PowerPCCPU that is then cast back to CPUState by most xlate functions. Avoid this back and forth casting by passing the existing

Re: [PATCH 41/43] target/ppc: Change MMU xlate functions to take CPUState

2024-07-04 Thread Nicholas Piggin
On Mon May 27, 2024 at 9:13 AM AEST, BALATON Zoltan wrote: > The callers of xlate functions get CPUState which is then cast to > PowerPCCPU that is then cast back to CPUState by most xlate functions. > Avoid this back and forth casting by passing the existing CPUState to > xlate functions and let t

[PATCH 41/43] target/ppc: Change MMU xlate functions to take CPUState

2024-05-26 Thread BALATON Zoltan
The callers of xlate functions get CPUState which is then cast to PowerPCCPU that is then cast back to CPUState by most xlate functions. Avoid this back and forth casting by passing the existing CPUState to xlate functions and let them convert it as needed. Signed-off-by: BALATON Zoltan --- targ