From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 D747C52ED2C; Tue, 8 Sep 2026 14:33:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788878017; cv=none; b=taHTwayKrLXF3yEixX0ocqtwJRmAbmbvITurV0KPtc/5qpFC4EaefB8kgwtOaJM9AJQJ6H+bHYoXNhh86m46dpYUUkWV8/Sr4ajBBcTUCaft5qYiP43meIgJzXHlOdEQgimTfTjg84miYD8weKqY0jLFh9sh46tEHwbpYCqMxsQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788878017; c=relaxed/simple; bh=hg5HOedH0VT2kuJxh85hrVEba0JlCtOgEQLgr00dUhI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=POfFN2ndXbuFtXFNRKrRvkkmMMRoEt/++2zFQfI7RUjpk59lKR56GTIn6296o4WACnwCtTatxZGJAQ8MGl64BqdGHychCn3aXZQAuKb827CM98Qvq22iLvSmSSkLoB9qQspjedz+GxVMoIDfEO1M3OF79DQ9kaCLPDei3JLiS8U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF0701F00A3E; Tue, 8 Sep 2026 14:33:02 +0000 (UTC) Message-ID: <1ef2c31d-6ad5-46cd-98ca-0f31485cf8c1@kernel.org> Date: Tue, 8 Sep 2026 16:32:59 +0200 Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 02/24] x86/elf, um/x86/elf: Move relocation constants to UAPI To: Borislav Petkov , =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Andy Lutomirski , Vincenzo Frascino , Kees Cook , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Richard Weinberger , Anton Ivanov , Johannes Berg , Russell King , Catalin Marinas , Will Deacon , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Huacai Chen , WANG Xuerui , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Bogendoerfer , Miguel Ojeda , Alex Gaynor , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Thomas Gleixner , Boqun Feng , Nicolas Schier , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-mm@kvack.org, linux-um@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-s390@vger.kernel.org, linux-mips@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, Jan Stancek , Arnaldo Carvalho de Melo , Alexandre Ghiti References: <20260908-vdso-absolute-reloc-v5-0-3a93791af1cf@linutronix.de> <20260908-vdso-absolute-reloc-v5-2-3a93791af1cf@linutronix.de> <20260908135513.GAaqATwXHcQD7plnH-@fat_crate.local> Content-Language: fr-FR From: "Christophe Leroy (CS GROUP)" In-Reply-To: <20260908135513.GAaqATwXHcQD7plnH-@fat_crate.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 08/09/2026 à 15:55, Borislav Petkov a écrit : > On Tue, Sep 08, 2026 at 08:33:36AM +0200, Thomas Weißschuh wrote: >> These constants are useful for cross-platform userspace, for example to >> process ELF files during kernel cross-compilation. >> >> Move them from the kernel-private architecture-specific header to the UAPI. > > Why UAPI? > > Why not include/linux/ ? > I guess because on some architectures it is already in UAPI, see for instance powerpc in patch 5 ? Christophe