target/arm: Clean address for DC ZVA

This data access was forgotten when we added support for cleaning
addresses of TBI information.

Fixes: 3a471103ac1823ba

Backports commit 597d61a3b1f94c53a3aaa77671697c0c5f797dbf from qemu.
This commit is contained in:
Richard Henderson 2020-04-30 06:16:02 -04:00 committed by Lioncash
parent a37d9b2be5
commit e040675fbf

View file

@ -1975,7 +1975,7 @@ static void handle_sys(DisasContext *s, uint32_t insn, bool isread,
return;
case ARM_CP_DC_ZVA:
/* Writes clear the aligned block of memory which rt points into. */
tcg_rt = cpu_reg(s, rt);
tcg_rt = clean_data_tbi(s, cpu_reg(s, rt));
gen_helper_dc_zva(tcg_ctx, tcg_ctx->cpu_env, tcg_rt);
return;
default: