[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/4] target/ppc: Use probe_write for DCBZ
From: |
Richard Henderson |
Subject: |
[PATCH 4/4] target/ppc: Use probe_write for DCBZ |
Date: |
Wed, 29 Jan 2020 15:50:40 -0800 |
Using probe_write instead of tlb_vaddr_to_host means that we
process watchpoints and notdirty pages more efficiently.
Signed-off-by: Richard Henderson <address@hidden>
---
target/ppc/mem_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/ppc/mem_helper.c b/target/ppc/mem_helper.c
index 0cb78777e7..98f589552b 100644
--- a/target/ppc/mem_helper.c
+++ b/target/ppc/mem_helper.c
@@ -298,7 +298,7 @@ static void dcbz_common(CPUPPCState *env, target_ulong addr,
}
/* Try fast path translate */
- haddr = tlb_vaddr_to_host(env, addr, MMU_DATA_STORE, mmu_idx);
+ haddr = probe_write(env, addr, dcbz_size, mmu_idx, retaddr);
if (haddr) {
memset(haddr, 0, dcbz_size);
} else {
--
2.20.1
- [PATCH 0/4] target/ppc: Use probe_access, Richard Henderson, 2020/01/29
- [PATCH 1/4] target/ppc: Use probe_access for LSW, STSW, Richard Henderson, 2020/01/29
- [PATCH 2/4] target/ppc: Use probe_access for LMW, STMW, Richard Henderson, 2020/01/29
- [PATCH 3/4] target/ppc: Remove redundant mask in DCBZ, Richard Henderson, 2020/01/29
- [PATCH 4/4] target/ppc: Use probe_write for DCBZ,
Richard Henderson <=
- Re: [PATCH 0/4] target/ppc: Use probe_access, Aleksandar Markovic, 2020/01/29
- Re: [PATCH 0/4] target/ppc: Use probe_access, Howard Spoelstra, 2020/01/30
- Re: [PATCH 0/4] target/ppc: Use probe_access, Howard Spoelstra, 2020/01/30
- Re: [PATCH 0/4] target/ppc: Use probe_access, David Gibson, 2020/01/30