[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 23/33] target/ppc/mmu_common.c: Remove BookE from direct s
|
From: |
Nicholas Piggin |
|
Subject: |
Re: [PATCH v3 23/33] target/ppc/mmu_common.c: Remove BookE from direct store handling |
|
Date: |
Wed, 08 May 2024 22:59:53 +1000 |
On Wed May 8, 2024 at 10:15 AM AEST, BALATON Zoltan wrote:
> As BookE never returns -4 we can drop BookE from the direct store case
> in ppc_jumbo_xlate().
>
> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
> ---
> target/ppc/mmu_common.c | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/target/ppc/mmu_common.c b/target/ppc/mmu_common.c
> index 87cac12d68..03b834eb77 100644
> --- a/target/ppc/mmu_common.c
> +++ b/target/ppc/mmu_common.c
> @@ -1287,12 +1287,7 @@ static bool ppc_jumbo_xlate(PowerPCCPU *cpu, vaddr
> eaddr,
> /* Direct store exception */
> /* No code fetch is allowed in direct-store areas */
> cs->exception_index = POWERPC_EXCP_ISI;
> - if ((env->mmu_model == POWERPC_MMU_BOOKE) ||
> - (env->mmu_model == POWERPC_MMU_BOOKE206)) {
> - env->error_code = 0;
> - } else {
> - env->error_code = 0x10000000;
> - }
> + env->error_code = 0x10000000;
> break;
> }
> } else {
- [PATCH v3 26/33] target/ppc/mmu_common.c: Simplify ppc_booke_xlate() part 1, (continued)
- [PATCH v3 16/33] target/ppc/mmu_common.c: Simplify mmubooke_get_physical_address(), BALATON Zoltan, 2024/05/07
- [PATCH v3 22/33] target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot(), BALATON Zoltan, 2024/05/07
- [PATCH v3 11/33] target/ppc/mmu_common.c: Move some debug logging, BALATON Zoltan, 2024/05/07
- [PATCH v3 23/33] target/ppc/mmu_common.c: Remove BookE from direct store handling, BALATON Zoltan, 2024/05/07
- Re: [PATCH v3 23/33] target/ppc/mmu_common.c: Remove BookE from direct store handling,
Nicholas Piggin <=
- [PATCH v3 09/33] target/ppc/mmu_common.c: Introduce mmu6xx_get_physical_address(), BALATON Zoltan, 2024/05/07
- [PATCH v3 28/33] target/ppc/mmu_common.c: Move BookE MMU functions together, BALATON Zoltan, 2024/05/07
- [PATCH v3 21/33] target/ppc/mmu_common.c: Make get_physical_address_wtlb() static, BALATON Zoltan, 2024/05/07
- [PATCH v3 18/33] target/ppc/mmu_common.c: Fix misindented qemu_log_mask() calls, BALATON Zoltan, 2024/05/07
- [PATCH v3 20/33] target/ppc/mmu_common.c: Replace hard coded constants in ppc_jumbo_xlate(), BALATON Zoltan, 2024/05/07
- [PATCH v3 19/33] target/ppc/mmu_common.c: Deindent ppc_jumbo_xlate(), BALATON Zoltan, 2024/05/07
- [PATCH v3 25/33] target/ppc/mmu_common.c: Remove BookE handling from get_physical_address_wtlb(), BALATON Zoltan, 2024/05/07