]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Always pass cacheattr to get_phys_addr
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 26 Jun 2020 03:31:39 +0000 (20:31 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 26 Jun 2020 13:31:12 +0000 (14:31 +0100)
commit7e98e21c09871cddc20946c8f3f3595e93154ecb
tree9d9113256949a7f3a498165cf24d26fe14214f34
parent34669338bd9d66255fceaa84c314251ca49ca8d5
target/arm: Always pass cacheattr to get_phys_addr

We need to check the memattr of a page in order to determine
whether it is Tagged for MTE.  Between Stage1 and Stage2,
this becomes simpler if we always collect this data, instead
of occasionally being presented with NULL.

Use the nonnull attribute to allow the compiler to check that
all pointer arguments are non-null.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200626033144.790098-42-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c
target/arm/internals.h
target/arm/m_helper.c
target/arm/tlb_helper.c