Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2759108ybh; Mon, 9 Mar 2020 12:24:26 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuUOEQVh+A8TG7RTzqRrAdeHhm8lXAAJe8W7GdN+1FgLTvVmGtH+slN2272JTuNOAbmdh5E X-Received: by 2002:a05:6830:1b68:: with SMTP id d8mr13748828ote.56.1583781866839; Mon, 09 Mar 2020 12:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583781866; cv=none; d=google.com; s=arc-20160816; b=SgFdFPBhAkOsehLqgBlOqX1f/IfFwV5ncIUyVpGW83TGRBfqYR8gA08v6+R/KkHNz6 bA1+0TCGSi4yz3c5xZLZBafRlSEYWM4ImN1sB9Y7hN/kW37tOJrMHj38YsWDjywtQbvj bHJ1dY0rzuF65SS4++lgHF1dPAyYyT07G6hqCVxw47ANCU0r4CPgntTqoia+2Ctfm7c4 JREY58QilzRHiTIFgkDeW5ABHJuTf6icaZpPX/Q0azwooJ+EMOFdEfYznXNioMTkV/As xaTzeULbIJ/M7ce7gskxxYXj9O6qSzoaQ+Pxv76pGSliJo2YCXCuOWYTBUi80rFfm2p/ HUsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from; bh=CFiH3pErHWkVNVJBQ1DqEIvqP/lHV7Et4C/vHA0Eblg=; b=T3iLAC1qPJ5yGiYwStp41dJ79I41gFA7ojfAINlrzFmHYUkVycrr0vxi14tBKsoH50 2lqabiYGUVdopQTYSFNlnKryH8bnTckqwAz0LLmEr4ulAX7KxXK/sOrRUDU5GiVCWaX0 9ymzCxkf2Cd2hkWRb9LAI44/me5SrL2aCYeRGkLpeYe4VX2CpxAWYF4o9MHt/SdpDIv7 2BoRp4dm5CDg3Mwk+CLFSBzvtHNrFFByIUM16bUOrcbkiXSJsSutmHU4DY2OhzxEm1IM XMeGUWSEU4FdUzIjN2KdJGZp+9QXxLedLFBWbTiHogyC2xqPmxJzIA9zhyuJ1QRjwX7N FPHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i18si6572504otk.245.2020.03.09.12.24.15; Mon, 09 Mar 2020 12:24:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726477AbgCITXy convert rfc822-to-8bit (ORCPT + 99 others); Mon, 9 Mar 2020 15:23:54 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:60073 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726384AbgCITXy (ORCPT ); Mon, 9 Mar 2020 15:23:54 -0400 Received: from p5de0bf0b.dip0.t-ipconnect.de ([93.224.191.11] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jBNzw-0005xU-TG; Mon, 09 Mar 2020 20:23:33 +0100 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id 2F3E610408A; Mon, 9 Mar 2020 20:23:32 +0100 (CET) From: Thomas Gleixner To: Mark Rutland , Vincenzo Frascino Cc: Andy Lutomirski , linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, clang-built-linux@googlegroups.com, x86@kernel.org, Catalin Marinas , Will Deacon , Arnd Bergmann , Russell King , Paul Burton , Andy Lutomirski , Ingo Molnar , Borislav Petkov , Stephen Boyd , Mark Salyzyn , Kees Cook , Peter Collingbourne , Dmitry Safonov <0x7f454c46@gmail.com>, Andrei Vagin , Nick Desaulniers Subject: Re: [PATCH v2 00/20] Introduce common headers In-Reply-To: <20200309122429.GB26309@lakrids.cambridge.arm.com> References: <20200306133242.26279-1-vincenzo.frascino@arm.com> <3278D604-28F1-47A1-BAB8-D8EB439995E8@amacapital.net> <20200309122429.GB26309@lakrids.cambridge.arm.com> Date: Mon, 09 Mar 2020 20:23:32 +0100 Message-ID: <877dzt72ob.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mark Rutland writes: > On Mon, Mar 09, 2020 at 11:07:08AM +0000, Vincenzo Frascino wrote: >> On 3/6/20 4:04 PM, Andy Lutomirski wrote: >> >> To solve the problem, I decided to use the approach below: >> >> * Extract from include/linux/ the vDSO required kernel interface >> >> and place it in include/common/ >> > >> > I really like the approach, but I’m wondering if “common” is the >> > right name. This directory is headers that aren’t stable ABI like >> > uapi but are shared between the kernel and the vDSO. Regular user >> > code should *not* include these, right? >> > >> > Would “vdso” or perhaps “private-abi” be clearer? >> >> Thanks! These headers are definitely not "uapi" like and they are meant to >> evolve in future like any other kernel header. We have just to make sure that >> the evolution does not break what we are trying to achieve with this series. > > Given we already include uapi/* headers in kernel code, I think placing > these in a vdso/* namespace would be fine. I think that more clearly > expresses the constraints on the headers than private-abi/* would. Yes, that makes most sense. Thanks, tglx