From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) (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 38E994778C; Wed, 4 Sep 2024 17:16:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.17.235.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725470165; cv=none; b=UFCu49CjS7kL7B5cspYhwYp0Fv4SF6UoTkjxNggQXjaVR3aLplMTwUdKSwqjtorS6ILwesK8uavQt+qwQGr+ajJ7z6LwXmX0QLKJtSfWgBQvVq/zySsiORV0DSH+eLgGeqFgLLM8TBswg38Wgbd4Pwx5OZd73oresNcicmdP4fM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725470165; c=relaxed/simple; bh=V408MGszR6stCuOm2vHpxLFAvJQGjhmfwtip5sBRLwo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UWv86Knku2HgJilssdn248q2Yn7zUJw8P/gJLS8/FKVSGZIGlM3R/IbU+vHvBIb779F7yBJCI8AhMAMUpAXSWPsKfcVScCAKiFMkeBTmv7Ld6libXLYtQ3kyr/vYrMFRDONShFv6uBvPgKkOsJu568XnmkdWuCFB2w2MsCgs6lg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=csgroup.eu; spf=pass smtp.mailfrom=csgroup.eu; arc=none smtp.client-ip=93.17.235.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=csgroup.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=csgroup.eu Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4WzTfT3pr0z9sSR; Wed, 4 Sep 2024 19:16:01 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GSl8nyLD9Yp4; Wed, 4 Sep 2024 19:16:01 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4WzTfT2zkkz9sSL; Wed, 4 Sep 2024 19:16:01 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 4CC8D8B77A; Wed, 4 Sep 2024 19:16:01 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id Sz6eTSkdAY9Q; Wed, 4 Sep 2024 19:16:01 +0200 (CEST) Received: from [192.168.234.246] (unknown [192.168.234.246]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 65F888B778; Wed, 4 Sep 2024 19:16:00 +0200 (CEST) Message-ID: <18bcf426-b0a8-486b-b9f7-8418d401bb70@csgroup.eu> Date: Wed, 4 Sep 2024 19:16:00 +0200 Precedence: bulk X-Mailing-List: linux-arch@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 4/9] vdso: Introduce vdso/page.h To: Vincenzo Frascino , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org Cc: Andy Lutomirski , Thomas Gleixner , "Jason A . Donenfeld" , Michael Ellerman , Nicholas Piggin , Naveen N Rao , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , Theodore Ts'o , Arnd Bergmann , Andrew Morton , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers References: <20240903151437.1002990-1-vincenzo.frascino@arm.com> <20240903151437.1002990-5-vincenzo.frascino@arm.com> Content-Language: fr-FR From: Christophe Leroy In-Reply-To: <20240903151437.1002990-5-vincenzo.frascino@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 03/09/2024 à 17:14, Vincenzo Frascino a écrit : > The VDSO implementation includes headers from outside of the > vdso/ namespace. > > Introduce vdso/page.h to make sure that the generic library > uses only the allowed namespace. > > Cc: Andy Lutomirski > Cc: Thomas Gleixner > Cc: Jason A. Donenfeld > Signed-off-by: Vincenzo Frascino > --- > include/vdso/page.h | 7 +++++++ > 1 file changed, 7 insertions(+) > create mode 100644 include/vdso/page.h > > diff --git a/include/vdso/page.h b/include/vdso/page.h > new file mode 100644 > index 000000000000..f18e304941cb > --- /dev/null > +++ b/include/vdso/page.h > @@ -0,0 +1,7 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +#ifndef __VDSO_PAGE_H > +#define __VDSO_PAGE_H > + > +#include I can't see the benefit of that, the generic library can directly include asm/vdso/page.h > + > +#endif /* __VDSO_PAGE_H */