Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp33963lqi; Wed, 6 Mar 2024 09:17:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUSiRMBSrr7/Nzqc+dkel+tjUxN2QbylIY26KpCIR7dtNzPbLlLonbrf7U7waO88AZeWCWqeasFelEz60DDK+Dhb2f4b6twI3BEYFqujg== X-Google-Smtp-Source: AGHT+IHFzBPhK9yA/1ciUG38JB9zHYXsf/xYQtL530rzomZOTJG8EZcBbDPLzAwOYz+W9OYxGy22 X-Received: by 2002:a05:6a20:9151:b0:1a1:511b:edb2 with SMTP id x17-20020a056a20915100b001a1511bedb2mr6086595pzc.29.1709745442360; Wed, 06 Mar 2024 09:17:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709745442; cv=pass; d=google.com; s=arc-20160816; b=cY0Ikdw5U+xGhgeQSaJTSUMbjMP2UgusQQUkxvVgn4NoHTrYxzs9s4amruivU9g8cv 0K5knfRCS0ZmMexOqz/WQIbXo5ujAtc8khPixEDIU+1t5aPZclJyab06M0Tkd1XTKmSi CFdK46sE+KMlQ9MHtGBW7sIBy4JETJx4831NgxrR+JUkqMqwWKNWvYEa179ysEapvZC1 ZkdMEI5EL/1PlPhMAMBVIgSYQBDF3xYVMEixPDKOk/N4YB0wyfXdUJsGPLiZhQ2CkaC6 D3HXkEWubI/xIJ1Nt+Qv7FGj7qeJ2mQ38Wjey7BFO8IXm+k8xWkTe8DRICATUTKE4GjT IJ0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=vbQn+OoB0S0JSESblEPZvsiWW6fd58wDKWFuC+9wmuM=; fh=d5XqwTM2j3+STDcddyJ17tViU0kjoW2Ul6PKJXcbqSc=; b=vu1aNEjSfg3buvoErALJkQxiZUZrZc0UPaaWFn3OPUrBRqt8j2GXxioiOfWhys8r+u r4Rjn/DWbh/ZaGBBAwsh2A0EFs9Icpk+xNt1xbddBry9Kjcz/lvdiazVRHICZKJfSGaW ZtYtVhANXoA+pK+eXClBz3kDt4OnkzQ4+vNjprAdEj8DE8U76fOrrCF6mI+Q5+pNPlAI Kgj1lzn19ZtyMPyX0HO5aj3fM5tO7srLjhitvnrefPAlNK69522mI2pAfEDdUjvXxXaU iuu+Y1cYwffESV0tVUNM/V3xJzpshMtxxa7R65yR8kzzOReAMnWY4SPCKZ9hEPiEwU7y 3jtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=hqrivvwV; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-94321-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94321-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fb3-20020a056a002d8300b006e64b9fda0csi1712001pfb.170.2024.03.06.09.17.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 09:17:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94321-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=@linutronix.de header.s=2020 header.b=hqrivvwV; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-94321-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94321-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.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 E0450283744 for ; Wed, 6 Mar 2024 17:17:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E503B13BAD2; Wed, 6 Mar 2024 17:17:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="hqrivvwV"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="V6wMfLDO" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 9935813A26E; Wed, 6 Mar 2024 17:17:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709745428; cv=none; b=kDaRA/3O+5NcrhM3++Ex+7YJk9JTy2Cnmm0AvpMR5d6FLayPV0Pdd11ndlxEjlLq98o5gxuHatC3iXKsEqDvOiig6/hneMoqRaWtt7If2aJksge4pfBO8KU6QBwfqb2+jn4i97Fl2mEQgIk6OCygC37TUMXxguPVAwgHc9tlAIU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709745428; c=relaxed/simple; bh=vbQn+OoB0S0JSESblEPZvsiWW6fd58wDKWFuC+9wmuM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=WNk0WzGcYmp055GaNDRhS2UlsoW3oagwFWiAJy8WeTilzyGDASYZELycfF+FBuHF+qmhCzvcZEMZ3xmeH+SYXJ9HnrjlWa/u+EKixcdHya+HP03CLVLsq+TjKzTtxgQNsw6Uyy0BQcpZ6nkM4CBv/N6fJ+919SKF+iK7GBW//J8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=hqrivvwV; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=V6wMfLDO; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1709745424; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vbQn+OoB0S0JSESblEPZvsiWW6fd58wDKWFuC+9wmuM=; b=hqrivvwV8/uKaYSb4vgXogwmxXcmvHD/vpzX4SBT0qMvFOUGrraEFjzmhKWJFdAjgFwGGu i0YzuY8UAmRYf0nsjTLgEHobhCl5xrMUkpEssGQL2qsxjWjlfnV1WwwZsck0s/iT0LXTQv 0Rl1eNFX6Z2fuzs4m8UZFZe3NmzD9v+oOARm8YY+Fk5f6y7mGuzj3DqaTd7Ikfe/xxEDxk o/Gn2QgDdLN/gW/30q5PkH4obkwRFVxPLxZYjQeciiXq9oUFO60wX+E19iH4m+YvzQnm17 bk4e9hBXQ4eLzXkZtwKVSF+vzA64I5Uh6wxpGU8BVYlxcOrJXuu6QcrFCrnF8w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1709745424; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vbQn+OoB0S0JSESblEPZvsiWW6fd58wDKWFuC+9wmuM=; b=V6wMfLDOUa0xxXybHidon5vJJmDL46LPJZaLPA1eJ+JCds6w+m0GI846wFu3s4IZ8nf3hV tO38zJpHmpndsvDg== To: Arnd Bergmann , Anna-Maria Behnsen , 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 , 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, Heiko Carstens , Stafford Horne , Johannes Berg Subject: Re: [PATCH v2 3/3] arch: define CONFIG_PAGE_SIZE_*KB on all architectures In-Reply-To: <20240306141453.3900574-4-arnd@kernel.org> References: <20240306141453.3900574-1-arnd@kernel.org> <20240306141453.3900574-4-arnd@kernel.org> Date: Wed, 06 Mar 2024 18:17:04 +0100 Message-ID: <87zfvbth4f.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Wed, Mar 06 2024 at 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 Reviewed-by: Thomas Gleixner