From patchwork Tue Mar 7 14:05:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 13163875 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2849CC6FD1E for ; Tue, 7 Mar 2023 14:58:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gM5vDfnV2k1GBk/yAmPxOMVTHwD7XPzNSu8ulscG4Sc=; b=Y3PnQxYTGRhY1V J/Yxbo1oK3EB3kHcxnHV5mKKmy8k/kpxZ1oUKNB7aBVQlAu5/JqhwKlaovFjB7OBOcMC6ggkE7ilQ 1pofYsWsCadZWpYo5VYTEl9v81B6QIJ3/LlZLawkZPxkz6/nZkEYK2AOcZRlHEB5xcHhVbwD+S4yz 0bVfWFd9zwU2Jt0YJYMZXiWgwxELihbVbv1Q6IkchQOeYvmTIOqUWzj8A8xhI1P8Ap/2Yhi3nmH2G JuUQ14TWDscpAQrghw3VEa47vzWfZIg/Ub21dT9Z6rSyQ3ponMoA7ivJ+vG1/EtNr5zhzEAa/Jx1g Nl0dNoQC4iRrHCmAZaOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZYkI-0010XK-AO; Tue, 07 Mar 2023 14:56:55 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZXzw-000f2B-1V for linux-arm-kernel@lists.infradead.org; Tue, 07 Mar 2023 14:09:01 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CF35761467; Tue, 7 Mar 2023 14:08:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3870C4339E; Tue, 7 Mar 2023 14:08:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678198138; bh=roqr6Q+/LaCDBS0wdH1j7SIax2HpGRyxNIxGqchdc0Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qcBZHpheeGEgqeu9h7lOW0O1leSo000RLluqbtqGMnIUTfeN6SjVzECb8VaYa1qUr E4AJDNnjARA2jTPupgk7HgTZAUjR4A7kHjhiXh9rr4CzbplQL1zoG630uqMAfWXfp3 DXVsaXwInlb8fSY2s+GqUJGLqLZOArUZszoWi1eGtrWwmaPNePOY0JYvLHP7dDLmmh DuGGGtyGCDdZKfzp3qntSv5+FekBZjl5dYrE5ySgQYPcu31bq4m8GezeNgiQWE3xel gI1CZzri3Mps0bJ5OQWsJqvJ3mzqqv8/nlFfl3aLJpR55sAeBmW5cbo1Cocxw42Pxn DjWV7klsej/wg== From: Ard Biesheuvel To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , Catalin Marinas , Will Deacon , Marc Zyngier , Mark Rutland , Ryan Roberts , Anshuman Khandual , Kees Cook Subject: [PATCH v3 58/60] arm64: defconfig: Enable LPA2 support Date: Tue, 7 Mar 2023 15:05:20 +0100 Message-Id: <20230307140522.2311461-59-ardb@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230307140522.2311461-1-ardb@kernel.org> References: <20230307140522.2311461-1-ardb@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=946; i=ardb@kernel.org; h=from:subject; bh=roqr6Q+/LaCDBS0wdH1j7SIax2HpGRyxNIxGqchdc0Q=; b=owGbwMvMwCFmkMcZplerG8N4Wi2JIYXdZc6Zv6fn1lid3HjxBbdmUDLjI+FWzvr7XU4VcXp7h br6dHs7SlkYxDgYZMUUWQRm/3238/REqVrnWbIwc1iZQIYwcHEKwESMnRn+B+Z+nRnu07U7IqI+ VaorSVB8bdJWtc/zrZhlHl7zOPzZk+GfrlqJzYVdz4X87Fffu1prcvHT2Q3hlVOtrx1+HxOnVa3 BDgA= X-Developer-Key: i=ardb@kernel.org; a=openpgp; fpr=F43D03328115A198C90016883D200E9CA6329909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230307_060900_173329_401C0251 X-CRM114-Status: GOOD ( 13.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org We typically enable support in defconfig for all architectural features for which we can detect at runtime if the hardware actually supports them. Now that we have implemented support for LPA2 based 52-bit virtual addressing in a way that should not impact 48-bit operation on non-LPA2 CPU, we can do the same, and enable 52-bit virtual addressing by default. Signed-off-by: Ard Biesheuvel --- arch/arm64/configs/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 7790ee42c68a88d7..728b29549e058e94 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -69,7 +69,7 @@ CONFIG_ARCH_VEXPRESS=y CONFIG_ARCH_VISCONTI=y CONFIG_ARCH_XGENE=y CONFIG_ARCH_ZYNQMP=y -CONFIG_ARM64_VA_BITS_48=y +CONFIG_ARM64_VA_BITS_52=y CONFIG_SCHED_MC=y CONFIG_SCHED_SMT=y CONFIG_NUMA=y