public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm•com>
To: Arnd Bergmann <arnd@kernel•org>
Cc: x86@kernel•org, loongarch@lists•linux.dev,
	Andreas Larsson <andreas@gaisler•com>,
	Jan Kiszka <jan.kiszka@siemens•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,
	Vincenzo Frascino <vincenzo.frascino@arm•com>,
	linux-s390@vger•kernel.org, linux-sh@vger•kernel.org,
	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,
	Kees Cook <keescook@chromium•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>,
	Thomas Gleixner <tglx @linutronix.de>,
	Anna-Maria Behnsen <anna-maria@linutronix•de>,
	linux-arm-kernel@lists•infradead.org,
	Brian Cain <bcain@quicinc•com>, Michal Simek <monstr@monstr•eu>,
	Thomas Bogendoerfer <tsbogend@alpha•franken.de>,
	Linux Kernel Functional Testing <lkft@linaro•org>,
	linux-parisc@vger•kernel.org, linux-openrisc@vger•kernel.org,
	linux-kernel@vger•kernel.org, Palmer Dabbelt <palmer@dabbelt•com>,
	Richard Weinberger <richard@nod•at>,
	Andrew Morton <akpm@linux-foundation•org>,
	linuxppc-dev@lists•ozlabs.org
Subject: Re: [PATCH 4/4] vdso: avoid including asm/page.h
Date: Tue, 27 Feb 2024 13:46:40 +0000	[thread overview]
Message-ID: <Zd3nwGX2oevtj_hQ@arm.com> (raw)
In-Reply-To: <20240226161414.2316610-5-arnd@kernel.org>

On Mon, Feb 26, 2024 at 05:14:14PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb•de>
> 
> The recent change to the vdso_data_store broke building compat VDSO
> on at least arm64 because it includes headers outside of the include/vdso/
> namespace:
> 
> In file included from arch/arm64/include/asm/lse.h:5,
>                  from arch/arm64/include/asm/cmpxchg.h:14,
>                  from arch/arm64/include/asm/atomic.h:16,
>                  from include/linux/atomic.h:7,
>                  from include/asm-generic/bitops/atomic.h:5,
>                  from arch/arm64/include/asm/bitops.h:25,
>                  from include/linux/bitops.h:68,
>                  from arch/arm64/include/asm/memory.h:209,
>                  from arch/arm64/include/asm/page.h:46,
>                  from include/vdso/datapage.h:22,
>                  from lib/vdso/gettimeofday.c:5,
>                  from <command-line>:
> arch/arm64/include/asm/atomic_ll_sc.h:298:9: error: unknown type name 'u128'
>   298 |         u128 full;
> 
> Use an open-coded page size calculation based on the new CONFIG_PAGE_SHIFT
> Kconfig symbol instead.
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro•org>
> Fixes: a0d2fcd62ac2 ("vdso/ARM: Make union vdso_data_store available for all architectures")
> Link: https://lore.kernel.org/lkml/CA+G9fYtrXXm_KO9fNPz3XaRxHV7UD_yQp-TEuPQrNRHU+_0W_Q@mail.gmail.com/
> Signed-off-by: Arnd Bergmann <arnd@arndb•de>

Acked-by: Catalin Marinas <catalin.marinas@arm•com>

      parent reply	other threads:[~2024-02-27 13:47 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-26 16:14 [PATCH 0/4] arch: mm, vdso: consolidate PAGE_SIZE definition Arnd Bergmann
2024-02-26 16:14 ` [PATCH 1/4] arch: consolidate existing CONFIG_PAGE_SIZE_*KB definitions Arnd Bergmann
2024-02-26 16:55   ` Samuel Holland
2024-02-27 15:40     ` Arnd Bergmann
2024-02-27 15:44       ` Christophe Leroy
2024-02-27 15:48         ` Arnd Bergmann
2024-02-26 19:02   ` Christophe Leroy
2024-02-27 15:42     ` Arnd Bergmann
2024-02-27  8:45   ` Geert Uytterhoeven
2024-02-27 15:43     ` Arnd Bergmann
2024-02-26 16:14 ` [PATCH 2/4] arch: simplify architecture specific page size configuration Arnd Bergmann
2024-02-26 19:05   ` Christophe Leroy
2024-02-27 13:46   ` Catalin Marinas
2024-02-27 13:53   ` Helge Deller
2024-02-26 16:14 ` [PATCH 3/4] arch: define CONFIG_PAGE_SIZE_*KB on all architectures Arnd Bergmann
2024-02-27  0:49   ` Guo Ren
2024-02-27  7:41   ` Heiko Carstens
2024-02-27  8:54   ` Geert Uytterhoeven
2024-02-27 10:59     ` Arnd Bergmann
2024-02-27 11:12       ` Geert Uytterhoeven
2024-02-27 14:18         ` Arnd Bergmann
2024-02-28 21:06   ` Stafford Horne
2024-03-05 10:59   ` Johannes Berg
2024-02-26 16:14 ` [PATCH 4/4] vdso: avoid including asm/page.h Arnd Bergmann
2024-02-26 18:53   ` Christophe Leroy
2024-02-27 12:57     ` Michael Ellerman
2024-02-27 13:46   ` Catalin Marinas [this message]

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=Zd3nwGX2oevtj_hQ@arm.com \
    --to=catalin.marinas@arm$(echo .)com \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=andreas@gaisler$(echo .)com \
    --cc=anna-maria@linutronix$(echo .)de \
    --cc=arnd@arndb$(echo .)de \
    --cc=arnd@kernel$(echo .)org \
    --cc=bcain@quicinc$(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=lkft@linaro$(echo .)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