Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1934501rbb; Tue, 27 Feb 2024 06:02:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXJxXrzEaMlAixYx+QZng/ZNilj0jX3KKOAsR2aFj3PaVbP0AGq3JxBZ0oBva0289OQjtq0BoBvcwfiGibdlqmIQkY8yO/VzQMdYOxKWA== X-Google-Smtp-Source: AGHT+IGaw58LnyKUysHJUTAfYyHInel/pcJ6eNMSYulVxaBeGioGAhxxwHo2NE/p3bSk+Sz3t7kd X-Received: by 2002:a17:90a:8c0b:b0:29a:be15:9c90 with SMTP id a11-20020a17090a8c0b00b0029abe159c90mr5582381pjo.34.1709042571368; Tue, 27 Feb 2024 06:02:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709042571; cv=pass; d=google.com; s=arc-20160816; b=DatvAi3Y8NQtKXTuECW+Gsde1rzB78L1Vff7/ymIWTob/gypLl/vHvhdMSGPLZZje/ OJA9CCe/kdzs1xn3euVDyEJCe7752vFFVfrUG6vy09myqxP5NmeIoSYz8B0pxhIMzoV1 +Q1y7xYISQ0tVsX5WVWPxZOqdUtWepQ1+IRwNRhv0ZY3gzeMVuFAJ1/1+Mb+z5bDGnHr Z7BvuKMf424aFGFF0Lu8D5qkvxQ3y+t4AQ0wVWZfRuEvoWqmG3YDNi7JlLkZBRFJ3w8X L5DIM22gdb+GfNZlCrkS8ygrQ7/vPDrSpHhpq0kIkfTh/bDDDqrhSEsdWJVK9LCtCKX0 dUAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:autocrypt :from:content-language:references:cc:to:subject:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=k+A9QI+Wn2LSY1c05cdWC9+2MkoV6tyOGjqBkczqv7g=; fh=d9+pJoIu7Dq7/3+gtjt8VzIyHZnW/ZJbDSoYrwlaP30=; b=UKRaUHvMTmTdm82k2SSE3cu2rlaiMMPKXIgsvCfz9Pj/AZNntSqv35TYZ+tpGOueYI PoLEMShGG3uQtaX3cfN3UFA83tHjvooQ39Qqkk+7fYEQadlku2gJpyGqAO1I8N6eRjOd 7J3ErUygWNKQV3ecWsJ729uOxZMkLW7c+DZ4mpuIP/2WfiLcxbhaE0pxaViPsiOihTN3 uypClBBHLpkXaElaN7hnqGrXBeyODOk46CfJeDDarMvb3HSlfhRS9oy8VC0y/rih1Z9I 5NaLGdk6Ec3J8C7G/n043vqV0ZpG6+tz+/MKWoTF/6DnfjwQaTqjzuEFNIZjLJ+vtbex PD0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=Uo1YuRNK; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-83359-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id pm18-20020a17090b3c5200b0029aea375559si382797pjb.108.2024.02.27.06.02.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 06:02:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83359-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=Uo1YuRNK; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-83359-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A9F0F286904 for ; Tue, 27 Feb 2024 13:55:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C221145323; Tue, 27 Feb 2024 13:55:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.de header.i=deller@gmx.de header.b="Uo1YuRNK" Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (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 CC69013B29B; Tue, 27 Feb 2024 13:55:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.17.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709042117; cv=none; b=CLVBHrwxyyjg1Opjmy53Dq9jsOmb+TZHsVo9NjvqwO44aP0bYIjp19JsI/OuklJfh3yruMZtdw0MBltzkjay9YAPVkN8yFca1bhce+6hDS72k7k4pJ4Z4ZGNXyQXdKzrvoCSSARigZDkfDoVw+7GwcYkPF/gWrGGA6iJuZ+Jgiw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709042117; c=relaxed/simple; bh=HGGO3MU/eeqHbARDqKo9ThxHWt83jFsN9Hq6Lxh3rOs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cG9plAVv3ahrS2tSTH8FbSFH9TlDj3d12lsPfmMMNPN8wsSIBMlp2IWSVv/kqlSjZMBNQPxZreVzALZhohsUfEz4s4db+DXCdOKuv1x6cRGBXU5WYHAPaSeXv7T1oKFfl73ijt0Jg4CiHCOaE2OB1eVN8wxYW2OtkoEINLcikiI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de; spf=pass smtp.mailfrom=gmx.de; dkim=pass (2048-bit key) header.d=gmx.de header.i=deller@gmx.de header.b=Uo1YuRNK; arc=none smtp.client-ip=212.227.17.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1709042040; x=1709646840; i=deller@gmx.de; bh=HGGO3MU/eeqHbARDqKo9ThxHWt83jFsN9Hq6Lxh3rOs=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=Uo1YuRNKdRFudCtP9NBwGZ/BIMlYJ8uouEe0MIzezHHQsbOczbOK5c6g3wDOBpgp 8aNYr5k5QtLpOU5DhVK97DEBS6VKK01fGKBut0z1ivkd/JLzdi4XcDH2xK+YqzOny 3SYxQf15vg1l6qqpm8kJ3pJh6XeVgfdRdq9Cx9H2fwTO2iPbLgwGPMexB+dh9XaCz QVdlLqhsWpev4WQqb5Gp3ZaZZWa3iiK9LOP1h2jdhcu3A/q4o8XJaUEluf3ELxTpF rxceN+zy0mN2DmM7qd2ZzWy8AGSSZB5I4mNcLbYQLUBLpsgsXrcCW3vd6JyVTQ3GI qU1P9CAIKsKILiVGPQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [10.8.0.6] ([78.94.87.245]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MQvD5-1rI5xY47kt-00NvTX; Tue, 27 Feb 2024 14:54:00 +0100 Message-ID: <951c6d29-ef8c-43ce-b91b-fcb905198f80@gmx.de> Date: Tue, 27 Feb 2024 14:53:50 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] arch: simplify architecture specific page size configuration To: Arnd Bergmann , Thomas Gleixner , Vincenzo Frascino , Kees Cook , Anna-Maria Behnsen Cc: Arnd Bergmann , Matt Turner , Vineet Gupta , Russell King , Catalin Marinas , Guo Ren , Brian Cain , Huacai Chen , Geert Uytterhoeven , Michal Simek , Thomas Bogendoerfer , Michael Ellerman , Christophe Leroy , Palmer Dabbelt , John Paul Adrian Glaubitz , Andreas Larsson , Richard Weinberger , x86@kernel.org, Max Filippov , Andy Lutomirski , Jan Kiszka , Kieran Bingham , Andrew Morton , linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org References: <20240226161414.2316610-1-arnd@kernel.org> <20240226161414.2316610-3-arnd@kernel.org> Content-Language: en-US From: Helge Deller Autocrypt: addr=deller@gmx.de; keydata= xsFNBF3Ia3MBEAD3nmWzMgQByYAWnb9cNqspnkb2GLVKzhoH2QD4eRpyDLA/3smlClbeKkWT HLnjgkbPFDmcmCz5V0Wv1mKYRClAHPCIBIJgyICqqUZo2qGmKstUx3pFAiztlXBANpRECgwJ r+8w6mkccO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XchrcwIbDAAKCRA+ Xz0Ep6JGAxtdEAC54NQMBwjUNqBNCMsh6WrwQwbg9tkJw718QHPw43gKFSxFIYzdBzD/YMPH l+2fFiefvmI4uNDjlyCITGSM+T6b8cA7YAKvZhzJyJSS7pRzsIKGjhk7zADL1+PJei9p9idy RbmFKo0dAL+ac0t/EZULHGPuIiavWLgwYLVoUEBwz86ZtEtVmDmEsj8ryWw75ZIarNDhV74s BdM2ffUJk3+vWe25BPcJiaZkTuFt+xt2CdbvpZv3IPrEkp9GAKof2hHdFCRKMtgxBo8Kao6p Ws/Vv68FusAi94ySuZT3fp1xGWWf5+1jX4ylC//w0Rj85QihTpA2MylORUNFvH0MRJx4mlFk XN6G+5jIIJhG46LUucQ28+VyEDNcGL3tarnkw8ngEhAbnvMJ2RTx8vGh7PssKaGzAUmNNZiG MB4mPKqvDZ02j1wp7vthQcOEg08z1+XHXb8ZZKST7yTVa5P89JymGE8CBGdQaAXnqYK3/yWf FwRDcGV6nxanxZGKEkSHHOm8jHwvQWvPP73pvuPBEPtKGLzbgd7OOcGZWtq2hNC6cRtsRdDx 4TAGMCz4j238m+2mdbdhRh3iBnWT5yPFfnv/2IjFAk+sdix1Mrr+LIDF++kiekeq0yUpDdc4 ExBy2xf6dd+tuFFBp3/VDN4U0UfG4QJ2fg19zE5Z8dS4jGIbLg== In-Reply-To: <20240226161414.2316610-3-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:hQzjzd7p5TM5Kw1mzvAh+YheK9ajjziFjVP/rq6z93mOcW5SPOs e6zmoNjX63XqeTgBwmmYXz0rXFuKFvd8XC66SD7FfY+WnPNGx2dtMFhb8xJts0RVw6olrzE lpJ4rkVeLTnLvlzJf86dorWqoPaHA4gaQfDDMpVHU60xM+wJfVgHYdRp1Vf0oMb26RgCcoV x700IvlTmiQiOzHig96HA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:JL9i5HKn/14=;K6/YQ9sF4WAtWoetrz9CHb8JPjw eHbMooc38h0sAzTqwt6CWi9CY9pNLE5PZHFmRClaQ7ahEw4VwiySJGmkYbImpC3iQu7y7/muL iD5vZ42b3nhcfkWSs2vmsG023U3cqDhmf6PssAJkPd7wSKleQWPnF148IFwAFzZwaKKj5UyAm lnsfKi7NkNUboWKdcd3W/N4NiFVuyMb2faYznKzvLDjGmBv/HXwuwMOXk00b/jzVM8E1inRza Hd/r1UOPnRhbh0ONIjuwGG1/R180mk4fwSD6B4uFYatFatTSEMqlWWp48lPQd6Zg+a0FkwzuK LBH91jUQfP+VZiPXH91lMpmn9+AeTD2BD74SfaJFSpnMzTa3/FIgLuzbONAEkr0CHZaJw/0Gs UAkusnK5RLsA7jRYcsewFqPl8tN48HW0M/hTiYJzkrgKC6GLEZNod4eidd7aJzXJyo4GkLsqt Bz7kopSndiJQbjykNCEdinVZb5FNzMpl2H2WiH1QjysQuzHKkHBlMY4ZYg+8XKT0st0gNQcUv dy39a5hGCVENqqLUMv8DICeuMNSTPSsPaAlfrGgWrQ7kMVYoATx1CAdd1WFUDLlMdWHn7SWNz /NnPmpgO/X2L2LLcr1wGcF0bCAekeo2XJtJnuAyZa6yoiFQdSKAnCXN3NWY2sjODF9heXndiR nVTI5o3bjKgD8r7+07ugQhP3Sq477uKRmL139SAtRRfWUv3fM2ArEnlKyp2Y6obX7qxBdJKVr FcjlGLpAT0mIcokEJvu5q0m05Tw7YZZB/W0o6l9hk4OUwgx5Zx9NLXPfV97cq/G2OcI8NkOgl dJriZcRah6Tep44PJPV878JpPqr6hHqfVWEAd8VmB/6Ko= On 2/26/24 17:14, Arnd Bergmann wrote: > From: Arnd Bergmann > > arc, arm64, parisc and powerpc all have their own Kconfig symbols > in place of the common CONFIG_PAGE_SIZE_4KB symbols. Change these > so the common symbols are the ones that are actually used, while > leaving the arhcitecture specific ones as the user visible > place for configuring it, to avoid breaking user configs. > > Signed-off-by: Arnd Bergmann > --- > arch/arc/Kconfig | 3 +++ > arch/arc/include/uapi/asm/page.h | 6 ++---- > arch/arm64/Kconfig | 29 +++++++++++++---------------- > arch/arm64/include/asm/page-def.h | 2 +- > arch/parisc/Kconfig | 3 +++ > arch/parisc/include/asm/page.h | 10 +--------- Acked-by: Helge Deller # parisc Thanks for the cleanups! Helge