Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp523797lqi; Thu, 7 Mar 2024 04:34:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUFla1v7Bkx5OaNqgfUoE05NeFJ4FNL92hTsvvHYAPkHQrqi2S3CricoEt4SX8q/Qhhf7bVIcUDFhelVxgxphD5SqrzkbXzWGQKnF9Ung== X-Google-Smtp-Source: AGHT+IHw/MiAzy8gT6sMnjahQXXiBkXfwby1IDO4DMOz0rZyphYQLFFAkjD4qH+WiFvYLyqpFst+ X-Received: by 2002:a05:620a:2945:b0:788:1f51:f6fb with SMTP id n5-20020a05620a294500b007881f51f6fbmr9436490qkp.30.1709814862484; Thu, 07 Mar 2024 04:34:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709814862; cv=pass; d=google.com; s=arc-20160816; b=xcN/Rj+LwKBSIJxurV+mgUGERHe6u748P8YweCq6ADGHeMfLR8/HF1y7tmYe1ZP9MP mR0E0J7Ef3+mW6D7oI0pun+g0S0zrCkJX++eOLm59U8SaY5e5bOHhmOb7anIIshOsGS6 RFMBQ9jijmb35ijgQ12HCHIjndze2eZzVN62yO2onjpWl61bFwToixJaC8Vu5dJghR5X ehfehGdLhzxRni2RxtB+nPBAQvWhfc5mvNqNS36T/ZvByFT4zPJDvh88XjsaBum0l9Ud hNtYoYZ7ZKbLiHmvntItvLnz5hNwrgKV22mE6Bt/eh83ENyEqFMuK3ZlLUBhcjCzvKTt y5aA== 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:from :dkim-signature; bh=5GCSx/SWwEQN6H1v+rlc6aQIECBTZdtYZCIuJdaUGZc=; fh=Jmhqd0pKF79qGeqx9XAB94APTlGVGOpEciuMtfcwhTc=; b=Vp0uzIDX/aGchr4bnFiWByLeFgnwnggRj6+0JN6VnV8mdHDgeXBIsxL0Sd8vBaPUzY hzvdZXN5gTDeV+DyUqSDOdRw8Y6Hz4u3PsHeWZ+DnvumffeJwQYNkhJpWjRUEDXeIwun Ug59YvFZvZnOWSV544GF4mlAZ/XKgpIHXCM1EoECwLn+6DTOgmtrUjmI3KBDP2AXNOOz Im9v7uH+EvXvEKOyZ3um+HZ9jfy7x/oqtPFVb/DKDIMJhcvOCjWY9GO0sge/g4zDMLkY Y7svxzEAidynVYV3xm499e9+cfxBHwb0Vp8Xvjrl/28aTqJgxbRJ7bcq0AugS/Jjrk+0 F7mw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=m2hV8+Uz; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au dkim=pass dkdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-95541-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95541-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h8-20020a05620a13e800b0078826373df2si9307747qkl.611.2024.03.07.04.34.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 04:34:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95541-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=@ellerman.id.au header.s=201909 header.b=m2hV8+Uz; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au dkim=pass dkdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-95541-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95541-linux.lists.archive=gmail.com@vger.kernel.org" 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 39E551C229B3 for ; Thu, 7 Mar 2024 12:34:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA00912BEA8; Thu, 7 Mar 2024 12:34:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b="m2hV8+Uz" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 678111292CD; Thu, 7 Mar 2024 12:34:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709814854; cv=none; b=q9lnFMreDpziGRypK1KILGcPa70m7PVKWYjypoUs0OGANROERInDPwob40yrAPcLR5cidJ0AzGHwQTLrRyYrVlf93kQ+rs9qy768vv6kr2oq+m6GlT1MWUlkSjz/l2WQi6HfggPXPNrTpB1vW6XICi7oYUT6LtyMU9wvWIsstMU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709814854; c=relaxed/simple; bh=A8FmQi+nWttuZkN0OHf+hc97YU7oIRy5k7+znlJGMlI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=fKP66HIDcPfXHGPsU0JkipDg/5RGLq2YWeUE8am3xOhEQu/7tObarZHXNmX707H7b7ua6+apWri1YZrfnza11jgzDfNdBIEoB2kxMnxfepxG0AuCQln3VHbMHw7bi/xswijfy3ymVljb061baJ6QuCgvrh9zznkVtC4aMtBnKh4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; spf=pass smtp.mailfrom=ellerman.id.au; dkim=pass (2048-bit key) header.d=ellerman.id.au header.i=@ellerman.id.au header.b=m2hV8+Uz; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1709814848; bh=5GCSx/SWwEQN6H1v+rlc6aQIECBTZdtYZCIuJdaUGZc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=m2hV8+UzshtbVo1SMQpGCIZAVMu9h2hQvtpDC9CkF6Ead01MUqjonBYL92rbYu9o5 eONdwUL5JV+qzsPtqxYxcbEZTnxik/VNQnkbfcaMbISw7CbDppUAmAH/9P3sku/f8b i2LMQgXCW1DJms0NeuRTzJ0tBX4bUIMqKowAPBctWZSTjYyNqR0YILGQIfrcB30lQJ AxLogULtOaYvLPcYayeLz0xu9HzQh3oaG4608ibo49kkmjQLQ5CoPOkqEhC/05rYgX JxgCpZfY9Df2KdR0oUWson/F66hS7hXm3iPnnhME1f/unkDf0IfUz0QTmy9qELYv1z htVjJ1WY+KwZQ== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Tr7yd1VsMz4wc8; Thu, 7 Mar 2024 23:34:01 +1100 (AEDT) From: Michael Ellerman 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 , 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 Subject: Re: [PATCH v2 2/3] arch: simplify architecture specific page size configuration In-Reply-To: <20240306141453.3900574-3-arnd@kernel.org> References: <20240306141453.3900574-1-arnd@kernel.org> <20240306141453.3900574-3-arnd@kernel.org> Date: Thu, 07 Mar 2024 23:34:00 +1100 Message-ID: <878r2unruv.fsf@mail.lhotse> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Arnd Bergmann writes: > 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. > > Reviewed-by: Christophe Leroy (powerpc32) > Acked-by: Catalin Marinas > Acked-by: Helge Deller # parisc > Signed-off-by: Arnd Bergmann > --- > No changes from v1 > > 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 +--------- > arch/powerpc/Kconfig | 31 ++++++------------------------- > arch/powerpc/include/asm/page.h | 2 +- > scripts/gdb/linux/constants.py.in | 2 +- > scripts/gdb/linux/mm.py | 2 +- > 10 files changed, 32 insertions(+), 58 deletions(-) Acked-by: Michael Ellerman (powerpc) cheers