[PATCH v3 0/6] target/arm: Do memory alignment check for device memory

Richard Henderson posted 6 patches 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240301204110.656742-1-richard.henderson@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Peter Maydell <peter.maydell@linaro.org>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>
include/exec/cpu-all.h     |  4 +++-
include/exec/memattrs.h    | 12 ------------
include/hw/core/cpu.h      |  3 +++
accel/tcg/cputlb.c         | 35 ++++++++++++++++++++++++++++-------
target/arm/ptw.c           | 32 ++++++++++++++++++++++++++++++++
target/arm/tcg/hflags.c    | 34 ++++++++++++++++++++++++++++++++--
target/arm/tcg/translate.c |  8 +-------
target/sparc/mmu_helper.c  |  2 +-
8 files changed, 100 insertions(+), 30 deletions(-)
[PATCH v3 0/6] target/arm: Do memory alignment check for device memory
Posted by Richard Henderson 2 months ago
v1: https://lore.kernel.org/qemu-devel/20230223204342.1093632-1-richard.henderson@linaro.org/
v2: https://lore.kernel.org/qemu-devel/20230621121902.1392277-1-richard.henderson@linaro.org/

Some of the v2 patch set was merged last June, but the rest languished.
No substantive changes from v2; only fixed rebase conflicts.


r~


Richard Henderson (6):
  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     |  4 +++-
 include/exec/memattrs.h    | 12 ------------
 include/hw/core/cpu.h      |  3 +++
 accel/tcg/cputlb.c         | 35 ++++++++++++++++++++++++++++-------
 target/arm/ptw.c           | 32 ++++++++++++++++++++++++++++++++
 target/arm/tcg/hflags.c    | 34 ++++++++++++++++++++++++++++++++--
 target/arm/tcg/translate.c |  8 +-------
 target/sparc/mmu_helper.c  |  2 +-
 8 files changed, 100 insertions(+), 30 deletions(-)

-- 
2.34.1
Re: [PATCH v3 0/6] target/arm: Do memory alignment check for device memory
Posted by Peter Maydell 1 month, 3 weeks ago
On Fri, 1 Mar 2024 at 20:42, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> v1: https://lore.kernel.org/qemu-devel/20230223204342.1093632-1-richard.henderson@linaro.org/
> v2: https://lore.kernel.org/qemu-devel/20230621121902.1392277-1-richard.henderson@linaro.org/
>
> Some of the v2 patch set was merged last June, but the rest languished.
> No substantive changes from v2; only fixed rebase conflicts.

Applied to target-arm.next (with the comment tweak to the last
patch as noted there), thanks.

-- PMM