You need to sign in or sign up before continuing.
MTE tags are applied at page granularity (4K) instead of tag granularity (16)
Host environment
- Operating system: Fedora 36
- OS/kernel version:
6.0.15-200.fc36.x86_64
- Architecture: x86
- QEMU flavor: qemu-system-aarch64
- QEMU version: 7.2.0
Emulated/Virtualized environment
- Architecture: AArch64
Description of problem
After upgrading to QEMU v7.2.0 from v7.1.0, when executing stg/ldg instructions on any address, QEMU behaves as if the instruction was executed on the page base of said address.
I believe this was introduced in b8967ddf (@rth7680), since in that commit ptr_paddr
is changed to be calculated based on CPUTLBEntryFull::phys_addr
, which contains the page base address, while beforehand it was calculated based on host
which does have the page offset applied.