summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorFuad Tabba <fuad.tabba@linux.dev>2026-10-21 12:06:58 +0100
committerMarc Zyngier <maz@kernel.org>2026-11-03 12:03:43 +0000
commit62b9e1f75a3c39cfc38b3950bbad017ac5f95bcc (patch)
tree95b13f743cb7feaf974de0d7d2046d3183212881 /tools/perf/scripts/python/bin
parentcbf47fe57a568f178ac55176d98a13caba1d8598 (diff)
KVM: arm64: Clear the whole hugetlb folio when storing MTE tags
When KVM_ARM_MTE_COPY_TAGS copies tags into a page, it marks the page as tagged. For a hugetlb folio the flag covers every page in the folio. If the folio wasn't tagged yet, its other pages are marked as tagged with their previous owner's tags still in place. The stage-2 fault path then maps them into the guest without clearing them. The ioctl's read side also copies them out to the VMM. Clear the whole folio on its first tagging, before copying in this page's tags. Fixes: 25c17c4b55def ("hugetlb: arm64: add mte support") Reviewed-by: Lorenzo Stoakes (ARM) <ljs@kernel.org> Cc: stable@vger.kernel.org Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://patch.msgid.link/20261021110700.493315-3-fuad.tabba@linux.dev Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions