[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250903124853-7dd41845-8939-4a01-b50d-42f87cc6583d@linutronix.de>
Date: Wed, 3 Sep 2025 12:49:58 +0200
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, Vincenzo Frascino <vincenzo.frascino@....com>
Cc: Thomas Gleixner <tglx@...utronix.de>, Arnd Bergmann <arnd@...db.de>,
Andy Lutomirski <luto@...nel.org>, John Stultz <jstultz@...gle.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/3] arm64: uapi: Provide correct __BITS_PER_LONG for the
compat vDSO
Hi arm64 folks,
On Thu, Aug 21, 2025 at 09:56:43AM +0200, Thomas Weißschuh wrote:
> The generic vDSO library uses the UAPI headers. On arm64 __BITS_PER_LONG is
> always '64' even when used from the compat vDSO. In that case __GENMASK()
> does an illegal bitshift, invoking undefined behaviour.
>
> The first patch should go into the 6.17 tree.
Could you take this series?
Thanks,
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
> ---
> Thomas Weißschuh (3):
> arm64: uapi: Provide correct __BITS_PER_LONG for the compat vDSO
> arm64: vdso32: Stop suppressing warnings
> arm64: vdso32: Respect -Werror from kbuild
>
> arch/arm64/include/uapi/asm/bitsperlong.h | 5 +++++
> arch/arm64/kernel/vdso32/Makefile | 13 +------------
> 2 files changed, 6 insertions(+), 12 deletions(-)
> ---
> base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
> change-id: 20250820-vdso-arm64-compat-bitsperlong-4f59ae7ef6e7
>
> Best regards,
> --
> Thomas Weißschuh <thomas.weissschuh@...utronix.de>
>
Powered by blists - more mailing lists