[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 33/34] target/ppc: Remove redundant mask in DCBZ
From: |
David Gibson |
Subject: |
[PULL 33/34] target/ppc: Remove redundant mask in DCBZ |
Date: |
Fri, 31 Jan 2020 17:09:23 +1100 |
From: Richard Henderson <address@hidden>
The value of addr has already been masked, just above.
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 e7d3a79d96..0cb78777e7 100644
--- a/target/ppc/mem_helper.c
+++ b/target/ppc/mem_helper.c
@@ -293,7 +293,7 @@ static void dcbz_common(CPUPPCState *env, target_ulong addr,
addr &= mask;
/* Check reservation */
- if ((env->reserve_addr & mask) == (addr & mask)) {
+ if ((env->reserve_addr & mask) == addr) {
env->reserve_addr = (target_ulong)-1ULL;
}
--
2.24.1
- [PULL 14/34] spapr: Implement get_dt_compatible() callback, (continued)
- [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, 2020/01/31
- [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 <=
- [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
- Re: [PULL 00/34] ppc-for-5.0 queue 20200131, Peter Maydell, 2020/01/31