Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp606516lqi; Thu, 7 Mar 2024 06:43:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW8IqB6zAL79Ygt1MbFCVwF4DCNBdnmwXGo8HklZ/UJSUPaRcbcvwwEENmwUo2uR+L80lfpcg8A8uK1nGrHXZZBsw5JW8NjWAODsJapfg== X-Google-Smtp-Source: AGHT+IHonmBbE709itsE1xWP3ANloGSB/2W7l2eMM3oKCphvavVzP7zqk99Y+tatCXyP3KTyaJnv X-Received: by 2002:a05:620a:2911:b0:788:4404:a76 with SMTP id m17-20020a05620a291100b0078844040a76mr4049067qkp.64.1709822620745; Thu, 07 Mar 2024 06:43:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709822620; cv=pass; d=google.com; s=arc-20160816; b=skC2pvtkCxt0QYvsmSKwNTXoFRUzPs5cwgp/8DQWNW/d9hixRbiXGTCSNfZLGmB+ro h5xz6TfHznm8wMlqGxAfwVYXyTQM5HWta4Sz+x1wZecoSqaTKa839yTqdLwdxQMCUIfy ig8kcWY7/R3Tv/ofqj4FP//9OZu5TbAHK6SMrk4rY7oPSJrFSk/cAKrQ0VRtyEU8to3J m+xV7JmXFbgNfucCFmt9rRvdxB8SX0OXRNbFGw1bVp53UiLUSQhVdeVei+kPypFXfWzb PcoJYbPJ0awdpA1tWLabM1SKh9Q3dsNOu/aCVNwUiA5p2CFBKAIt6NsiZe3HNdnSlg2/ MuTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=9Vrev7IgmUrXRDq+27lTQvP4S7JHkTqf6RpOH6wBrY8=; fh=+uRlDGIVe8+vpThIKTxq8Kj0Fnc7Rw7FIqgRhE4WVMU=; b=Rt4ngAg47XM4luzR9JAh5zcaKHENjWO2zgfK2U9B3U134nnbJXI9XfkqFJrtionQD/ g1BqVcMDkWAj823jwknR1EmqyVTpoU+gSvylTHU6cj6TC9YIjRcM0vC70gaQ8ZXtqv+b ZUryYEf1Xnm/gnnZY8eVRAERoT6Xo8Z29krvPeuXxBo9MP7w894PAbglKyEA+WLCRs3B Z7lxwDia1Ee1ERjqbpPojO6Mr84pKXHGBaQG4XfaqOJZRMtmHofVdYzCzw5wYEzT6ukQ bB5jgOkmF0VUiQV5Y0zQs7Y1Ji1oaUAnjR6JP2gFCD0TBuZ2B7XCLHKhd2OK4l7SH44c conw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b="cI0rJs/n"; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-95759-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c39-20020a05620a26a700b0078827d39617si9842913qkp.304.2024.03.07.06.43.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 06:43:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95759-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b="cI0rJs/n"; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-95759-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 649AC1C249B9 for ; Thu, 7 Mar 2024 14:43:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6F681EB39; Thu, 7 Mar 2024 14:43:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b="cI0rJs/n" Received: from smtp-out3.simply.com (smtp-out3.simply.com [94.231.106.210]) (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 246131E865; Thu, 7 Mar 2024 14:43:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.231.106.210 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709822609; cv=none; b=Wy/8U4y9IPcS9DNVwI7eoJcl8/vBgwIYL6hBXXM/kfrsozON6GTtw/vnOL8CSBVYKi4GPPEJP4/fcbJvaT4SVRifJUWkqdGf5PjGBlwIfrTPokmXYWHcLJHLCWAmgUrErc7RJwbraCTv0mNT4MhrCJNCoeClBltUIwRUqM5Xe/s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709822609; c=relaxed/simple; bh=YmLmZj77zkxuMJT0tJQG78tQTce7Gx17YscP/2PSIVQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VuI2IU3Don5LTfdTMj0zDXP7EpteXWs5V/uymevruUIC+1m6tdK9uI/igcIQbRoxCKAGB+MoEUFhBDauEqjOdRNEbX2q7KL3FRZHs2NaNGE5dcVxXUxEVx8xA2jGqWvhFYjdoxr8p4RtFXZGCFIjjPBiD/yHixy6XBJDwzLcnFQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com; spf=pass smtp.mailfrom=gaisler.com; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b=cI0rJs/n; arc=none smtp.client-ip=94.231.106.210 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gaisler.com Received: from localhost (localhost [127.0.0.1]) by smtp.simply.com (Simply.com) with ESMTP id 4TrBqw0YTHz6871; Thu, 7 Mar 2024 15:43:24 +0100 (CET) Received: from [192.168.0.25] (h-98-128-223-123.NA.cust.bahnhof.se [98.128.223.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by smtp.simply.com (Simply.com) with ESMTPSA id 4TrBpz5w11z686W; Thu, 7 Mar 2024 15:42:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaisler.com; s=unoeuro; t=1709822603; bh=9Vrev7IgmUrXRDq+27lTQvP4S7JHkTqf6RpOH6wBrY8=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=cI0rJs/n2a5JovKEHh1TYmBzRxJ87Bt5Bk9Xi2ViHf6tqC5yT0pNhekjnIplLA6zG +pFOMlnBFON+gaT+yppwquMwOHjqvX6GtdSnkG7oU1AsXu0gfEswgGVp6gSOiWhYfY 6DpsBN4xKX8XZflxM1403bFN0rq2D47eZSFJCk/Y= Message-ID: <86cf6c72-e15a-4aa1-8c4b-499ec90a9a82@gaisler.com> Date: Thu, 7 Mar 2024 15:42:32 +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 v2 3/3] arch: define CONFIG_PAGE_SIZE_*KB on all architectures Content-Language: en-US To: Arnd Bergmann , Anna-Maria Behnsen , Thomas Gleixner , Vincenzo Frascino , Kees Cook Cc: Arnd Bergmann , Matt Turner , Vineet Gupta , Russell King , Catalin Marinas , Guo Ren , Brian Cain , Huacai Chen , Geert Uytterhoeven , Michal Simek , Thomas Bogendoerfer , Helge Deller , Michael Ellerman , Christophe Leroy , Palmer Dabbelt , John Paul Adrian Glaubitz , 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, Heiko Carstens , Stafford Horne , Johannes Berg References: <20240306141453.3900574-1-arnd@kernel.org> <20240306141453.3900574-4-arnd@kernel.org> From: Andreas Larsson In-Reply-To: <20240306141453.3900574-4-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024-03-06 15:14, Arnd Bergmann wrote: > From: Arnd Bergmann > > Most architectures only support a single hardcoded page size. In order > to ensure that each one of these sets the corresponding Kconfig symbols, > change over the PAGE_SHIFT definition to the common one and allow > only the hardware page size to be selected. > > Acked-by: Guo Ren > Acked-by: Heiko Carstens > Acked-by: Stafford Horne > Acked-by: Johannes Berg > Signed-off-by: Arnd Bergmann > --- > No changes from v1 > arch/sparc/Kconfig | 2 ++ > arch/sparc/include/asm/page_32.h | 2 +- > arch/sparc/include/asm/page_64.h | 3 +-- Acked-by: Andreas Larsson Thanks, Andreas