From patchwork Sat Oct 28 13:52:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 13439492 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98F22C0032E for ; Sat, 28 Oct 2023 13:52:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229984AbjJ1Nw1 (ORCPT ); Sat, 28 Oct 2023 09:52:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbjJ1Nw0 (ORCPT ); Sat, 28 Oct 2023 09:52:26 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45ADBED; Sat, 28 Oct 2023 06:52:23 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 692505C01F7; Sat, 28 Oct 2023 09:52:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 28 Oct 2023 09:52:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1698501142; x=1698587542; bh=fRFxfVZQMQ+iwmH5/1/sMEmpdm0BY/1L6Uv PQZbT4lQ=; b=zmZJXQ9YDU7awpWx+y1cysOqGRW9cZMsJUQrfrG291SQm0tFRRt Za+91lGmTbRyS+acymZPbOdk9Z+q0nxW1h505j1eVhkstNfGmC/ZO0lUM2vklRTI zPxX8Fj5hof1VDSGcAnJvSkS2oEzmyipfWbDFtO9uoyRPkYmh0keWgWqbJPb50ta nBYPRTS+6/56wEERfg0464P2ywZpBfWPtilWgw5Ya3pADJGGq1ZAuywMevoJjXQc WIJQpQaIDDdopbRwF6zs2LdMSyyFwrxheaDwLWLB5NOtjwHlRgPmrMDyKg5u3rRC wMzT1wTpjRPl6YTy5pTB21Q677pvZFpp+bQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698501142; x=1698587542; bh=fRFxfVZQMQ+iwmH5/1/sMEmpdm0BY/1L6Uv PQZbT4lQ=; b=R0M3/aJsdpD8XYX3NarQWs4ItYGvrRcKK4yAhLYtU0EHiRGCOIw eMzfxmeF+iBp49oQsHgpxwiaodc2+7++kCW9wVxdB1icDLyVSBaH4CPHvztBTNrG gMfJSaRcaFg5eoApDm0FFXsQCoyHI3czwiRrsQGpPV3HKwRroYSqKmvQ+V1lZzeA LUwQD0DejcEdUhUxPDSFkIry+LN5HWZZN4ANtEiQt7D/ZLtr+LV6FZwzKHY+IfX0 +WGyahKwd8qTXopyHQMoaAZY3jCMR9cMac1+CwQ4mv8irCS8q4x1UItXTTUrhehJ c5HiucBk6tKZPJffTbH8g+HLCIUKMOiHVUQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrleeigdeghecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhfffugggtgffkfhgjvfevofesthejredtredtjeenucfhrhhomheplfhirgig uhhnucgjrghnghcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhmqeenuc ggtffrrghtthgvrhhnpedvkeeihfefveekueevteefleffkeegudeghfdtuddugefhueev geffgedukeejleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 28 Oct 2023 09:52:21 -0400 (EDT) From: Jiaxun Yang Date: Sat, 28 Oct 2023 14:52:17 +0100 Subject: [PATCH 2/2] MIPS: generic: Set SPARSEMEM by default for 64BIT kernel MIME-Version: 1.0 Message-Id: <20231028-mm-v1-2-45377cd158cf@flygoat.com> References: <20231028-mm-v1-0-45377cd158cf@flygoat.com> In-Reply-To: <20231028-mm-v1-0-45377cd158cf@flygoat.com> To: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Jiaxun Yang X-Mailer: b4 0.12.4 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Select ARCH_SPARSEMEM_DEFAULT for 64bit generic kernel build, as all platforms supported by 64bit generic kernel have a hole in their address space. Signed-off-by: Jiaxun Yang --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index d12e8f3c1d08..fad05f699efd 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -133,6 +133,7 @@ choice config MIPS_GENERIC_KERNEL bool "Generic board-agnostic MIPS kernel" + select ARCH_SPARSEMEM_DEFAULT if 64BIT select MIPS_GENERIC select BOOT_RAW select BUILTIN_DTB