From patchwork Tue Jan 23 14:53:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 13527733 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 7A59BC47DDF for ; Tue, 23 Jan 2024 16:01:15 +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:Cc:To:From:Subject:Message-ID: References:Mime-Version:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=cTYFzpPtX03wov+xT1JjbLR5284LPcpFpMbPsoeDpjc=; b=HoEVCURF2VMT8yALFwvgazXx+a HajxMXXa4zfLhkQ01K1kIgsO3oLhXw4XWqXiki4QXgBYY60zlbH/O4zKZArrIGvKwhRz7r09dX5yj WVUPrOz5NQEquJdRIVSgKV1aShSrKEfKAZ4EfPKxVDH02dll9ayKM19HXgfe95RAUo2kq/Uyj7096 kSjZyooY92bjqQODzwpLvG7FafNyJFLwVPwga+BAaxU8oyRWQu8ldI73Z5ihnVAw7vDNRiFhu5t2N e38mAOed4VaWsCTCih8/L8nfMVwV/2TDLxGwuXLxq3xRRmqw+LYkduAQxV7vGRdyoRlvKbFHDMlxa N88czEeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rSJCY-00HAxI-1Y; Tue, 23 Jan 2024 16:00:38 +0000 Received: from mail-wm1-x349.google.com ([2a00:1450:4864:20::349]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rSICD-00GuWg-0l for linux-arm-kernel@lists.infradead.org; Tue, 23 Jan 2024 14:56:24 +0000 Received: by mail-wm1-x349.google.com with SMTP id 5b1f17b1804b1-40eaedb4446so16916555e9.0 for ; Tue, 23 Jan 2024 06:56:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1706021771; x=1706626571; darn=lists.infradead.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=qLxpExRJ+KToT+NOe16t25WMLe6A3z/DcvJ2gUMSVJg=; b=3PbaKHsNBeTU9U/fz2kSYzsIPTAJfNdp4iomWwTSAjmmnkJpYKXoNJowvHi1frBq0x l11H4ssKTy2XebxEHMZ7daaoO57nJoK9xJHuJrWilNNMlvig/xtyo9kCqEipUixGP2Bx KbOJ4/BFI48LPE1lxIg2Cw2A4S7lq91WzEEPo6Xg20jEVy484HAj35tgxN0pzvNm2XDn GpeNX05WlI5DA9t+w2IA8iULgH91nuiK5/0Am96feSMH7fuj1ntomTdVrx71wKuIt9Iw tL1I+FShPc4+1Ml0YXCgmveL7FXOziUGihxzu+dst6WhsD4ahb78VhkSYRO1HKty+sKv ZE1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706021771; x=1706626571; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qLxpExRJ+KToT+NOe16t25WMLe6A3z/DcvJ2gUMSVJg=; b=WUFYRT4zh6sLTe/X2fiU8Im5N8RR9MefQbySdpWaFRvCWfQIejwNT7nPvM8HF7vDz9 tfIeFdSWydPITdBkFSpcx89a8Dhzl6/6YckZNv1TXTaobs7oEmEb/lKJitCoqqw2sNJ0 F+44ZCA0uZI7o2RVuQJ1Ie/gLvd+8p1lXc+TBI+H24q5N4GEJfG9xwmFNRXNTkR7yfCh qj602p6xzf7EH/uAPewalM10l4PPBpLTmN/mNB+62dCuQQjxizcZ7WJCg3WBTnKx+gxQ OCOVBblwLbohT9iA5hPxAoIOD8azIW3tOUG96QB4OQqcWRpSRYhsf3MQuUBIe3U2+JIV oG0A== X-Gm-Message-State: AOJu0Yztvq7bjJKwTx991JhbPAlz9y9SMOmJ0Kms6Ia4Csw6qFOy+Vbs RUD0dwVQLuTlLjT1+XlH4U29by80IWLxoZS2i5+sfum/sUhf/DyetAazhsF4sU4jZPeakNmkO7d l1JDhvhUeArsTJm65rf26/Pueu3+b1B8oiOicCMSQdXx64XFDPBigMQIPnZXkg1gPJKaaGxyGrh rNDu3d/6RU6HWfsyAYCwi/LETsPisfsscqBXbQAeez X-Google-Smtp-Source: AGHT+IGu2dW93waToFDU97i/TVNVrunLzp4oPh1eEphyj2bO8wknXPfD/B90FSEr5tFX8QCVtZvmHGIu X-Received: from palermo.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:118a]) (user=ardb job=sendgmr) by 2002:a05:600c:1f16:b0:40e:c364:b0bd with SMTP id bd22-20020a05600c1f1600b0040ec364b0bdmr224wmb.2.1706021770861; Tue, 23 Jan 2024 06:56:10 -0800 (PST) Date: Tue, 23 Jan 2024 15:53:46 +0100 In-Reply-To: <20240123145258.1462979-52-ardb+git@google.com> Mime-Version: 1.0 References: <20240123145258.1462979-52-ardb+git@google.com> X-Developer-Key: i=ardb@kernel.org; a=openpgp; fpr=F43D03328115A198C90016883D200E9CA6329909 X-Developer-Signature: v=1; a=openpgp-sha256; l=959; i=ardb@kernel.org; h=from:subject; bh=xh1UqpRMLse90QtRwfBPr+8BmLmmyswMHzRinVg9I1I=; b=owGbwMvMwCFmkMcZplerG8N4Wi2JIXX9pX85zScPn5zIPOt3d8ENl6u/Gq82rq7vEyo7+FX7R b/4mdu5HaUsDGIcDLJiiiwCs/++23l6olSt8yxZmDmsTCBDGLg4BWAib6Yw/I9abWXGGvXsdLtq M4fIh1P5LIv2NvpPOKjFYlbzIoT/nD4jw5LItltHHASPX9WcOtuPKX/p6QvFN6fstN0WNsewaju TICsA X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog Message-ID: <20240123145258.1462979-99-ardb+git@google.com> Subject: [PATCH v7 47/50] arm64: defconfig: Enable LPA2 support From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org Cc: Ard Biesheuvel , Catalin Marinas , Will Deacon , Marc Zyngier , Mark Rutland , Ryan Roberts , Anshuman Khandual , Kees Cook X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240123_065613_295849_DBB00A97 X-CRM114-Status: GOOD ( 12.25 ) 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 From: Ard Biesheuvel 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 e6cf3e5d63c3..c5919a762109 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -76,7 +76,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