Re: [PATCH for-11.1] target/arm: Fix testing of raw mtx value

Peter Maydell <[email protected]>
Newsgroups org.nongnu.qemu-arm,org.nongnu.qemu-devel
Message-ID <CAFEAcA8DYgLnV8YGPDsnQWR6wyVepbR=qJfJ5b4yFKJZD5mfuA@mail.gmail.com>
On Fri, 17 Jul 2026 at 17:15, Richard Henderson
<[email protected]> wrote:
>
> MTX is always a pair of bits, one for each half of the address space.
> Testing it like a boolean is incorrect.
>
> Introduce raw_mte_check, a mirror of the similar mte_check function
> that applies when MTX is passed in MTEDESC.
>
> Fixes: 8912ceced815 ("target/arm: load on canonical tag loads ext bits")
> Signed-off-by: Richard Henderson <[email protected]>
> ---
>  target/arm/tcg/mte_helper.c | 25 +++++++++++++++++--------
>  1 file changed, 17 insertions(+), 8 deletions(-)



Applied to target-arm.next, thanks.

-- PMM
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.