]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: remove duplicate ARCH_HAS_MEM_ENCRYPT
authorCai Xinchen <caixinchen1@huawei.com>
Thu, 20 Nov 2025 01:30:25 +0000 (01:30 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 20 Nov 2025 17:57:23 +0000 (17:57 +0000)
The commit e7bafbf717775 ("arm64: mm: Add top-level dispatcher for
internal mem_encrypt API") adds ARCH_HAS_MEM_ENCRYPT. And then the
commit 42be24a4178fe ("arm64: Enable memory encrypt for Realms") adds
duplicate config. Just remove it.

Fixes: 42be24a4178f ("arm64: Enable memory encrypt for Realms")
Signed-off-by: Cai Xinchen <caixinchen1@huawei.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig

index 6663ffd23f252eb96c1bb5af9cefe94454af8905..c3f9557e94fdac0157295ddbfef34ad92bb8a4d9 100644 (file)
@@ -47,7 +47,6 @@ config ARM64
        select ARCH_HAS_SETUP_DMA_OPS
        select ARCH_HAS_SET_DIRECT_MAP
        select ARCH_HAS_SET_MEMORY
-       select ARCH_HAS_MEM_ENCRYPT
        select ARCH_HAS_FORCE_DMA_UNENCRYPTED
        select ARCH_STACKWALK
        select ARCH_HAS_STRICT_KERNEL_RWX