]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: realm: Query IPA size from the RMM
authorSteven Price <steven.price@arm.com>
Thu, 17 Oct 2024 13:14:26 +0000 (14:14 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 23 Oct 2024 09:19:32 +0000 (10:19 +0100)
commit399306954996be58ac20b4b29f6334e3d55a2ce7
treee5ed6d7b208a3eeb3fd84b31ed3021af24c22556
parentc077711f718be7cebcc8b987eac2ebfd17447e9f
arm64: realm: Query IPA size from the RMM

The top bit of the configured IPA size is used as an attribute to
control whether the address is protected or shared. Query the
configuration from the RMM to assertain which bit this is.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Co-developed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20241017131434.40935-4-steven.price@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/pgtable-prot.h
arch/arm64/kernel/rsi.c