arm64: mask out POIndex when modifying a PTE
authorJoey Gouly <joey.gouly@arm.com>
Thu, 22 Aug 2024 15:10:58 +0000 (16:10 +0100)
committerWill Deacon <will@kernel.org>
Wed, 4 Sep 2024 11:52:41 +0000 (12:52 +0100)
commit6580a36dd75acbf9c9a6f040d07dc8a9da329ac9
tree65f4cd7f8dc028a137b5b3e4d1e202273204772b
parentb3c03fe13766f0455c4c77817a2aa385ed89937d
arm64: mask out POIndex when modifying a PTE

When a PTE is modified, the POIndex must be masked off so that it can be modified.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20240822151113.1479789-16-joey.gouly@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/pgtable.h