From: Arnd Bergmann <arnd@kernel•org>
To: Anna-Maria Behnsen <anna-maria@linutronix•de>,
Thomas Gleixner <tglx@linutronix•de>,
Vincenzo Frascino <vincenzo.frascino@arm•com>,
Kees Cook <keescook@chromium•org>
Cc: x86@kernel•org, loongarch@lists•linux.dev,
Andreas Larsson <andreas@gaisler•com>,
Catalin Marinas <catalin.marinas@arm•com>,
linux-mips@vger•kernel.org, Max Filippov <jcmvbkbc@gmail•com>,
Guo Ren <guoren@kernel•org>,
linux-csky@vger•kernel.org, sparclinux@vger•kernel.org,
linux-hexagon@vger•kernel.org, linux-riscv@lists•infradead.org,
Jan Kiszka <jan.kiszka@siemens•com>,
linux-s390@vger•kernel.org, linux-sh@vger•kernel.org,
Richard Weinberger <richard@nod•at>, Helge Deller <deller@gmx•de>,
Huacai Chen <chenhuacai@kernel•org>,
Russell King <linux@armlinux•org.uk>,
Geert Uytterhoeven <geert@linux-m68k•org>,
Vineet Gupta <vgupta@kernel•org>,
Matt Turner <mattst88@gmail•com>,
linux-snps-arc@lists•infradead.org, linux-alpha@vger•kernel.org,
Arnd Bergmann <arnd@arndb•de>,
Kieran Bingham <kbingham@kernel•org>,
linux-um@lists•infradead.org, linux-m68k@lists•linux-m68k.org,
Andy Lutomirski <luto@kernel•org>,
John Paul Adrian Glaubitz <glaubitz@physik•fu-berlin.de>,
linux-arm-kernel@lists. infradead.org,
Brian Cain <bcain@quicinc•com>, Michal Simek <monstr@monstr•eu>,
Thomas Bogendoerfer <tsbogend@alpha•franken.de>,
linux-parisc@vger•kernel.org, linux-openrisc@vger•kernel.org,
linux-kernel@vger•kernel.org, Palmer Dabbelt <palmer@dabbelt•com>,
Andrew Morton <akpm@linux-foundation•org>,
linuxppc-dev@lists•ozlabs.org
Subject: [v2 PATCH 0/3] arch: mm, vdso: consolidate PAGE_SIZE definition
Date: Wed, 6 Mar 2024 15:14:50 +0100 [thread overview]
Message-ID: <20240306141453.3900574-1-arnd@kernel.org> (raw)
From: Arnd Bergmann <arnd@arndb•de>
Naresh noticed that the newly added usage of the PAGE_SIZE macro in
include/vdso/datapage.h introduced a build regression. I had an older
patch that I revived to have this defined through Kconfig rather than
through including asm/page.h, which is not allowed in vdso code.
The vdso patch series now has a temporary workaround, but I still want to
get this into v6.9 so we can place the hack with CONFIG_PAGE_SIZE
in the vdso.
I've applied this to the asm-generic tree already, please let me know if
there are still remaining issues. It's really close to the merge window
already, so I'd probably give this a few more days before I send a pull
request, or defer it to v6.10 if anything goes wrong.
Sorry for the delay, I was still waiting to resolve the m68k question,
but there were no further replies in the end, so I kept my original
version.
Changes from v1:
- improve Kconfig help texts
- remove an extraneous line in hexagon
Arnd
Link: https://lore.kernel.org/lkml/CA+G9fYtrXXm_KO9fNPz3XaRxHV7UD_yQp-TEuPQrNRHU+_0W_Q@mail.gmail.com/
Link: https://lore.kernel.org/all/65dc6c14.170a0220.f4a3f.91dd@mx.google.com/
Link: https://lore.kernel.org/lkml/20240226161414.2316610-1-arnd@kernel.org/
Arnd Bergmann (3):
arch: consolidate existing CONFIG_PAGE_SIZE_*KB definitions
arch: simplify architecture specific page size configuration
arch: define CONFIG_PAGE_SIZE_*KB on all architectures
arch/Kconfig | 92 +++++++++++++++++++++++++++++-
arch/alpha/Kconfig | 1 +
arch/alpha/include/asm/page.h | 2 +-
arch/arc/Kconfig | 3 +
arch/arc/include/uapi/asm/page.h | 6 +-
arch/arm/Kconfig | 1 +
arch/arm/include/asm/page.h | 2 +-
arch/arm64/Kconfig | 29 +++++-----
arch/arm64/include/asm/page-def.h | 2 +-
arch/csky/Kconfig | 1 +
arch/csky/include/asm/page.h | 2 +-
arch/hexagon/Kconfig | 24 ++------
arch/hexagon/include/asm/page.h | 6 +-
arch/loongarch/Kconfig | 21 ++-----
arch/loongarch/include/asm/page.h | 10 +---
arch/m68k/Kconfig | 3 +
arch/m68k/Kconfig.cpu | 2 +
arch/m68k/include/asm/page.h | 6 +-
arch/microblaze/Kconfig | 1 +
arch/microblaze/include/asm/page.h | 2 +-
arch/mips/Kconfig | 58 ++-----------------
arch/mips/include/asm/page.h | 16 +-----
arch/nios2/Kconfig | 1 +
arch/nios2/include/asm/page.h | 2 +-
arch/openrisc/Kconfig | 1 +
arch/openrisc/include/asm/page.h | 2 +-
arch/parisc/Kconfig | 3 +
arch/parisc/include/asm/page.h | 10 +---
arch/powerpc/Kconfig | 31 ++--------
arch/powerpc/include/asm/page.h | 2 +-
arch/riscv/Kconfig | 1 +
arch/riscv/include/asm/page.h | 2 +-
arch/s390/Kconfig | 1 +
arch/s390/include/asm/page.h | 2 +-
arch/sh/include/asm/page.h | 13 +----
arch/sh/mm/Kconfig | 42 ++++----------
arch/sparc/Kconfig | 2 +
arch/sparc/include/asm/page_32.h | 2 +-
arch/sparc/include/asm/page_64.h | 3 +-
arch/um/Kconfig | 1 +
arch/um/include/asm/page.h | 2 +-
arch/x86/Kconfig | 1 +
arch/x86/include/asm/page_types.h | 2 +-
arch/xtensa/Kconfig | 1 +
arch/xtensa/include/asm/page.h | 2 +-
scripts/gdb/linux/constants.py.in | 2 +-
scripts/gdb/linux/mm.py | 2 +-
47 files changed, 185 insertions(+), 238 deletions(-)
--
2.39.2
To: Thomas Gleixner <tglx@linutronix•de>
To: Vincenzo Frascino <vincenzo.frascino@arm•com>
To: Kees Cook <keescook@chromium•org>
To: Anna-Maria Behnsen <anna-maria@linutronix•de>
Cc: Matt Turner <mattst88@gmail•com>
Cc: Vineet Gupta <vgupta@kernel•org>
Cc: Russell King <linux@armlinux•org.uk>
Cc: Catalin Marinas <catalin.marinas@arm•com>
Cc: Guo Ren <guoren@kernel•org>
Cc: Brian Cain <bcain@quicinc•com>
Cc: Huacai Chen <chenhuacai@kernel•org>
Cc: Geert Uytterhoeven <geert@linux-m68k•org>
Cc: Michal Simek <monstr@monstr•eu>
Cc: Thomas Bogendoerfer <tsbogend@alpha•franken.de>
Cc: Helge Deller <deller@gmx•de>
Cc: Michael Ellerman <mpe@ellerman•id.au>
Cc: Christophe Leroy <christophe.leroy@csgroup•eu>
Cc: Palmer Dabbelt <palmer@dabbelt•com>
Cc: John Paul Adrian Glaubitz <glaubitz@physik•fu-berlin.de>
Cc: Andreas Larsson <andreas@gaisler•com>
Cc: Richard Weinberger <richard@nod•at>
Cc: x86@kernel•org
Cc: Max Filippov <jcmvbkbc@gmail•com>
Cc: Andy Lutomirski <luto@kernel•org>
Cc: Vincenzo Frascino <vincenzo.frascino@arm•com>
Cc: Jan Kiszka <jan.kiszka@siemens•com>
Cc: Kieran Bingham <kbingham@kernel•org>
Cc: Andrew Morton <akpm@linux-foundation•org>
Cc: Arnd Bergmann <arnd@arndb•de>
Cc: linux-kernel@vger•kernel.org
Cc: linux-alpha@vger•kernel.org
Cc: linux-snps-arc@lists•infradead.org
Cc: linux-arm-kernel@lists•infradead.org
Cc: linux-csky@vger•kernel.org
Cc: linux-hexagon@vger•kernel.org
Cc: loongarch@lists•linux.dev
Cc: linux-m68k@lists•linux-m68k.org
Cc: linux-mips@vger•kernel.org
Cc: linux-openrisc@vger•kernel.org
Cc: linux-parisc@vger•kernel.org
Cc: linuxppc-dev@lists•ozlabs.org
Cc: linux-riscv@lists•infradead.org
Cc: linux-s390@vger•kernel.org
Cc: linux-sh@vger•kernel.org
Cc: sparclinux@vger•kernel.org
Cc: linux-um@lists•infradead.org
next reply other threads:[~2024-03-06 14:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-06 14:14 Arnd Bergmann [this message]
2024-03-06 14:14 ` [PATCH v2 1/3] arch: consolidate existing CONFIG_PAGE_SIZE_*KB definitions Arnd Bergmann
2024-03-06 17:14 ` Thomas Gleixner
2024-03-06 23:41 ` Michael Ellerman
2024-03-06 14:14 ` [PATCH v2 2/3] arch: simplify architecture specific page size configuration Arnd Bergmann
2024-03-06 17:16 ` Thomas Gleixner
2024-03-07 12:34 ` Michael Ellerman
2024-03-06 14:14 ` [PATCH v2 3/3] arch: define CONFIG_PAGE_SIZE_*KB on all architectures Arnd Bergmann
2024-03-06 16:23 ` Geert Uytterhoeven
2024-03-06 17:17 ` Thomas Gleixner
2024-03-07 14:42 ` Andreas Larsson
2024-03-06 17:17 ` [v2 PATCH 0/3] arch: mm, vdso: consolidate PAGE_SIZE definition Thomas Gleixner
2024-03-08 16:28 ` Vincenzo Frascino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240306141453.3900574-1-arnd@kernel.org \
--to=arnd@kernel$(echo .)org \
--cc=akpm@linux-foundation$(echo .)org \
--cc=andreas@gaisler$(echo .)com \
--cc=anna-maria@linutronix$(echo .)de \
--cc=arnd@arndb$(echo .)de \
--cc=bcain@quicinc$(echo .)com \
--cc=catalin.marinas@arm$(echo .)com \
--cc=chenhuacai@kernel$(echo .)org \
--cc=deller@gmx$(echo .)de \
--cc=geert@linux-m68k$(echo .)org \
--cc=glaubitz@physik$(echo .)fu-berlin.de \
--cc=guoren@kernel$(echo .)org \
--cc=jan.kiszka@siemens$(echo .)com \
--cc=jcmvbkbc@gmail$(echo .)com \
--cc=kbingham@kernel$(echo .)org \
--cc=keescook@chromium$(echo .)org \
--cc=linux-alpha@vger$(echo .)kernel.org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-csky@vger$(echo .)kernel.org \
--cc=linux-hexagon@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-m68k@lists$(echo .)linux-m68k.org \
--cc=linux-mips@vger$(echo .)kernel.org \
--cc=linux-openrisc@vger$(echo .)kernel.org \
--cc=linux-parisc@vger$(echo .)kernel.org \
--cc=linux-riscv@lists$(echo .)infradead.org \
--cc=linux-s390@vger$(echo .)kernel.org \
--cc=linux-sh@vger$(echo .)kernel.org \
--cc=linux-snps-arc@lists$(echo .)infradead.org \
--cc=linux-um@lists$(echo .)infradead.org \
--cc=linux@armlinux$(echo .)org.uk \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=loongarch@lists$(echo .)linux.dev \
--cc=luto@kernel$(echo .)org \
--cc=mattst88@gmail$(echo .)com \
--cc=monstr@monstr$(echo .)eu \
--cc=palmer@dabbelt$(echo .)com \
--cc=richard@nod$(echo .)at \
--cc=sparclinux@vger$(echo .)kernel.org \
--cc=tglx@linutronix$(echo .)de \
--cc=tsbogend@alpha$(echo .)franken.de \
--cc=vgupta@kernel$(echo .)org \
--cc=vincenzo.frascino@arm$(echo .)com \
--cc=x86@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox