From nobody Tue Dec 2 02:06:38 2025 Received: from canpmsgout02.his.huawei.com (canpmsgout02.his.huawei.com [113.46.200.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12E081A0BD6 for ; Thu, 20 Nov 2025 01:45:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.217 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763603122; cv=none; b=cQdX3f8uj3fDz7WapUbAR5kEoqMV2lun4zoOvy928LP/Vo0VzWGIFOBYeei7UNIK215fbh5ot45VaJoZnlnebrNmmJzbO12PYRtcmB6P0UnBQg1h9xXP6odXfttKcCJ10weMmM++bo6K01gA5cR68iCAsZzx6u6x4AvOYWCSfqU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763603122; c=relaxed/simple; bh=COSg52NzmvN6uwVLQSHIVOXelzTTRqFigmPaB+fTiSM=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=NR2VIdWyOgNK9DDvOQ+07jcyBDbx4ULmyGEKQbOGgBqM9y2GvQHyFFlzydC0pvii/VJhYBEEuFBO99QxsxnmJO0Oe56C0PVSi89Og8CZu+kV+NgKi+JefwdN83GlNAhr9Ew1K/VjyeKhurThXmwuuQson2EAcWUlMOVooo0yw/k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=mke2N297; arc=none smtp.client-ip=113.46.200.217 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="mke2N297" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=uwrpkl7zbFrAgnEGRIXjPeKubGZS4PCBbwYxIUmugX8=; b=mke2N297u+d/Wi/xwXDfdAPqBH7Va6KlxN29APXFU9xKgS7QBMqxrryhmD5/zmJJ9WiD/2skW DviNfV3fPBW6jd43+Dac+vz0mM75TtMcF30QCkn7d9ZRv4Qz/3wZNPCEgxa7PGcAHjjo7AUXpT7 eCD+T/RjHS+I5KTq4nq5hpc= Received: from mail.maildlp.com (unknown [172.19.163.252]) by canpmsgout02.his.huawei.com (SkyGuard) with ESMTPS id 4dBh290Rjfzcb1s; Thu, 20 Nov 2025 09:43:13 +0800 (CST) Received: from dggemv706-chm.china.huawei.com (unknown [10.3.19.33]) by mail.maildlp.com (Postfix) with ESMTPS id 91105180BD0; Thu, 20 Nov 2025 09:45:16 +0800 (CST) Received: from kwepemq200017.china.huawei.com (7.202.195.228) by dggemv706-chm.china.huawei.com (10.3.19.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 20 Nov 2025 09:45:16 +0800 Received: from hulk-vt.huawei.com (10.67.174.72) by kwepemq200017.china.huawei.com (7.202.195.228) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 20 Nov 2025 09:45:15 +0800 From: Cai Xinchen To: , , , CC: , Subject: [PATCH -next] arm64: remove duplicate ARCH_HAS_MEM_ENCRYPT Date: Thu, 20 Nov 2025 01:30:25 +0000 Message-ID: <20251120013025.1791800-1-caixinchen1@huawei.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: kwepems500002.china.huawei.com (7.221.188.17) To kwepemq200017.china.huawei.com (7.202.195.228) Content-Type: text/plain; charset="utf-8" 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. Signed-off-by: Cai Xinchen --- arch/arm64/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 893e0af0bc51..0c88aebce43d 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -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 --=20 2.34.1