[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 34/34] target/ppc: Use probe_write for DCBZ
From: |
David Gibson |
Subject: |
[PULL 34/34] target/ppc: Use probe_write for DCBZ |
Date: |
Fri, 31 Jan 2020 17:09:24 +1100 |
From: Richard Henderson <address@hidden>
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>
Message-Id: <address@hidden>
Tested-by: Howard Spoelstra <address@hidden>
Signed-off-by: David Gibson <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.24.1
- [PULL 22/34] spapr: Enable DD2.3 accelerated count cache flush in pseries-5.0 machine, (continued)
- [PULL 22/34] spapr: Enable DD2.3 accelerated count cache flush in pseries-5.0 machine, David Gibson, 2020/01/31
- [PULL 15/34] tpm_spapr: Support TPM for ppc64 using CRQ based interface, David Gibson, 2020/01/31
- [PULL 24/34] Wrapper function to wait on condition for the main loop mutex, David Gibson, 2020/01/31
- [PULL 25/34] ppc: spapr: Introduce FWNMI capability, David Gibson, 2020/01/31
- [PULL 21/34] ppc/pnv: change the PowerNV machine devices to be non user creatable, David Gibson, 2020/01/31
- [PULL 27/34] target/ppc: Build rtas error log upon an MCE, David Gibson, 2020/01/31
- [PULL 14/34] spapr: Implement get_dt_compatible() callback, David Gibson, 2020/01/31
- [PULL 17/34] hw/ppc/Kconfig: Enable TPM_SPAPR as part of PSERIES config, David Gibson, 2020/01/31
- [PULL 29/34] migration: Include migration support for machine check handling, David Gibson, 2020/01/31
- [PULL 23/34] target/ppc/cpu.h: Put macro parameter in parentheses, David Gibson, 2020/01/31
- [PULL 34/34] target/ppc: Use probe_write for DCBZ,
David Gibson <=
- [PULL 31/34] target/ppc: Use probe_access for LSW, STSW, David Gibson, 2020/01/31
- [PULL 26/34] target/ppc: Handle NMI guest exit, David Gibson, 2020/01/31
- [PULL 28/34] ppc: spapr: Handle "ibm, nmi-register" and "ibm, nmi-interlock" RTAS calls, David Gibson, 2020/01/31
- [PULL 04/34] hw/ppc/prep: Remove the deprecated "prep" machine and the OpenHackware BIOS, David Gibson, 2020/01/31
- [PULL 18/34] docs/specs/tpm: reST-ify TPM documentation, David Gibson, 2020/01/31
- [PULL 33/34] target/ppc: Remove redundant mask in DCBZ, David Gibson, 2020/01/31
- [PULL 30/34] ppc: spapr: Activate the FWNMI functionality, David Gibson, 2020/01/31
- [PULL 32/34] target/ppc: Use probe_access for LMW, STMW, David Gibson, 2020/01/31
- [PULL 20/34] ppc/pnv: Add models for POWER8 PHB3 PCIe Host bridge, David Gibson, 2020/01/31
- [PULL 19/34] ppc/pnv: Add models for POWER9 PHB4 PCIe Host bridge, David Gibson, 2020/01/31