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 49F2F147C86; Wed, 25 Sep 2024 06:57:18 +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=1727247439; cv=none; b=NOrwqveX6JBMFXTvYtfJAPAmZ5gAjQHMm17sNno1mP+ydsybgD+lzO8nXaUJtFbxtLqsUfGDeCMwdW9gFs+4ZmrvyX/dpWpUObXmwSfCcNYt0yCu8ryj18NZg9/B4QLl1bil+TrlWDl6OW0KeELD1z7ETCwDf+wEocDffgEOUzI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727247439; c=relaxed/simple; bh=YPNmoruB15WmETzGMUyto1RqRuAmjfRb+JWrBLqq+KE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TGUfTMQlnekfbY6eGR6n7X8QcCqv2XbPOyq7MI8NBAESo7XwcxAws1kWqdGWdlrmRWbvzVlFSbCXcFWLeCp5PKWi3rQLAOsiAwNc1NAv5RVamN0UiNy+2YUnFHqd+U8i7fqV/kQoekN2azZMU62Ll6vfMExq65NvfAi5W4/7XvE= 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 4XD6wr4D7rz9sSg; Wed, 25 Sep 2024 08:57:16 +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 BI3NjQffJdlU; Wed, 25 Sep 2024 08:57:16 +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 4XD6wr3RCpz9sSf; Wed, 25 Sep 2024 08:57:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 6254C8B76E; Wed, 25 Sep 2024 08:57:16 +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 JcZVmdYHsxdM; Wed, 25 Sep 2024 08:57:16 +0200 (CEST) Received: from [192.168.232.90] (PO27091.IDSI0.si.c-s.fr [192.168.232.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 8F80E8B763; Wed, 25 Sep 2024 08:57:15 +0200 (CEST) Message-ID: <27b2d1b1-1269-4e9d-8b47-cb6569ede90f@csgroup.eu> Date: Wed, 25 Sep 2024 08:57:15 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 5/8] x86: vdso: Modify asm/vdso/getrandom.h to include datapage 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: <20240923141943.133551-1-vincenzo.frascino@arm.com> <20240923141943.133551-6-vincenzo.frascino@arm.com> Content-Language: fr-FR From: Christophe Leroy In-Reply-To: <20240923141943.133551-6-vincenzo.frascino@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 23/09/2024 à 16:19, Vincenzo Frascino a écrit : > The VDSO implementation includes headers from outside of the > vdso/ namespace. > > Modify asm/vdso/getrandom.h to include datapage. I may be fine with that patch but it should explain why this is needed. > > Cc: Andy Lutomirski > Cc: Thomas Gleixner > Cc: Jason A. Donenfeld > Signed-off-by: Vincenzo Frascino > --- > arch/x86/include/asm/vdso/getrandom.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/x86/include/asm/vdso/getrandom.h b/arch/x86/include/asm/vdso/getrandom.h > index ff5334ad32a0..4597d5a6f094 100644 > --- a/arch/x86/include/asm/vdso/getrandom.h > +++ b/arch/x86/include/asm/vdso/getrandom.h > @@ -7,6 +7,8 @@ > > #ifndef __ASSEMBLY__ > > +#include > + > #include > #include >