[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 00/13] {tcg,aarch64}: Add TLB_CHECK_ALIGNED
From: |
Richard Henderson |
Subject: |
[PATCH 00/13] {tcg,aarch64}: Add TLB_CHECK_ALIGNED |
Date: |
Thu, 23 Feb 2023 10:43:29 -1000 |
Based-on: 20230216025739.1211680-1-richard.henderson@linaro.org
("[PATCH v2 00/30] tcg: Improve atomicity support")
This adds some plumbing to handle an ARM page table corner case.
But first, we need to reorg the page table bits to make room,
and in the process resolve a long-standing FIXME for AdvSIMD.
r~
Richard Henderson (13):
target/sparc: Use tlb_set_page_full
accel/tcg: Retain prot flags from tlb_fill
accel/tcg: Store some tlb flags in CPUTLBEntryFull
accel/tcg: Honor TLB_DISCARD_WRITE in atomic_mmu_lookup
softmmu/physmem: Check watchpoints for read+write at once
accel/tcg: Trigger watchpoints from atomic_mmu_lookup
accel/tcg: Move TLB_WATCHPOINT to TLB_SLOW_FLAGS_MASK
target/arm: Support 32-byte alignment in pow2_align
exec/memattrs: Remove target_tlb_bit*
accel/tcg: Add tlb_fill_flags to CPUTLBEntryFull
accel/tcg: Add TLB_CHECK_ALIGNED
target/arm: Do memory type alignment check when translation disabled
target/arm: Do memory type alignment check when translation enabled
include/exec/cpu-all.h | 29 +++++--
include/exec/cpu-defs.h | 9 ++
include/exec/memattrs.h | 12 ---
include/hw/core/cpu.h | 7 +-
accel/tcg/cputlb.c | 171 ++++++++++++++++++++++++++------------
softmmu/physmem.c | 19 +++--
target/arm/helper.c | 36 +++++++-
target/arm/ptw.c | 28 +++++++
target/arm/translate.c | 8 +-
target/sparc/mmu_helper.c | 121 ++++++++++++---------------
10 files changed, 278 insertions(+), 162 deletions(-)
--
2.34.1
- [PATCH 00/13] {tcg,aarch64}: Add TLB_CHECK_ALIGNED,
Richard Henderson <=
- [PATCH 01/13] target/sparc: Use tlb_set_page_full, Richard Henderson, 2023/02/23
- [PATCH 02/13] accel/tcg: Retain prot flags from tlb_fill, Richard Henderson, 2023/02/23
- [PATCH 03/13] accel/tcg: Store some tlb flags in CPUTLBEntryFull, Richard Henderson, 2023/02/23
- [PATCH 04/13] accel/tcg: Honor TLB_DISCARD_WRITE in atomic_mmu_lookup, Richard Henderson, 2023/02/23
- [PATCH 05/13] softmmu/physmem: Check watchpoints for read+write at once, Richard Henderson, 2023/02/23
- [PATCH 06/13] accel/tcg: Trigger watchpoints from atomic_mmu_lookup, Richard Henderson, 2023/02/23
- [PATCH 07/13] accel/tcg: Move TLB_WATCHPOINT to TLB_SLOW_FLAGS_MASK, Richard Henderson, 2023/02/23
- [PATCH 08/13] target/arm: Support 32-byte alignment in pow2_align, Richard Henderson, 2023/02/23