[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 3/6] accel/tcg: Suppress auto-invalidate in probe_access_i
From: |
Peter Maydell |
Subject: |
Re: [PATCH v3 3/6] accel/tcg: Suppress auto-invalidate in probe_access_internal |
Date: |
Tue, 20 Sep 2022 12:21:14 +0100 |
On Mon, 5 Sept 2022 at 21:26, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> When PAGE_WRITE_INV is set when calling tlb_set_page,
> we immediately set TLB_INVALID_MASK in order to force
> tlb_fill to be called on the next lookup. Here in
> probe_access_internal, we have just called tlb_fill
> and eliminated true misses, thus the lookup must be valid.
>
> This allows us to remove a warning comment from s390x.
> There doesn't seem to be a reason to change the code though.
I looked at the s390 code and although it seems a bit awkward
to still have the action-at-a-distance env->tlb_fill_exc, I
couldn't think of an obviously neater way to do it. So
assuming the s390 folks are happy with this,
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- [PATCH v3 0/6] tcg: Introduce CPUTLBEntryFull, Richard Henderson, 2022/09/05
- [PATCH v3 1/6] accel/tcg: Rename CPUIOTLBEntry to CPUTLBEntryFull, Richard Henderson, 2022/09/05
- [PATCH v3 3/6] accel/tcg: Suppress auto-invalidate in probe_access_internal, Richard Henderson, 2022/09/05
- Re: [PATCH v3 3/6] accel/tcg: Suppress auto-invalidate in probe_access_internal,
Peter Maydell <=
- [PATCH v3 2/6] accel/tcg: Drop addr member from SavedIOTLB, Richard Henderson, 2022/09/05
- [PATCH v3 4/6] accel/tcg: Introduce probe_access_full, Richard Henderson, 2022/09/05
- [PATCH v3 6/6] include/exec: Introduce TARGET_PAGE_ENTRY_EXTRA, Richard Henderson, 2022/09/05