Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2411413ybh; Mon, 9 Mar 2020 05:26:07 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuTvznskSNdnCemHkJ3xE+QJiaR3DZTax0kb2VejIxy3DLeEJSFUPZ+dOwI1+YjNUws9pgY X-Received: by 2002:a9d:6752:: with SMTP id w18mr7474209otm.123.1583756767617; Mon, 09 Mar 2020 05:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583756767; cv=none; d=google.com; s=arc-20160816; b=X/EhPFD74eICmRXjoO03NhvK8uX2K/NwmzAtz6AbBqRwFc4Pm3uuoyH/rFQpCdMHwB dKcDfH02GwnsE9xkSxmndzkqmn1UthkQj4Xq3olcT/ZEliGqTs/hH+Rpz+sT+i8ApbM2 9ZufGjFDGIy4HLAwqSJGL8T4jSmT7b31gzRgsg9uc66GJNM02unJBGsNKoQswJYhoG2R r+0WgSeZONNG6VB+UAWma02XOwQNL1t/Tdo1YuwwJrtylJxe75I0YPnyN516NeS1+kFP DxWZBFaE8NIcaZReyYeTrwxZrpdn9HPEcov2uKj+0jwu9j/ao/1BeJI5MRzLBXz9Uddc /XCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=0aM9uzRq+01hixcLuSa6z4bNpCxhJERMtfRElEDhYGo=; b=NLeaeDNEBZb0zvXF0PgLtWEDlKzaMrsp/DHtVBEoQeG3z4FlBDg7ukddTex109J9ME UYbECCy5nreXjt1NqxrS9yXNkDqAbwzei8DeSJ3XDsRzIeS6kGOEnZM/PRvIZqQZqqj2 YR3oHeQEKq3m+RjLfwDuKofTBCu11Gg7OXBh8qQeJqBM/WmwFTgdcS0X6T7OInzbcUIw GiuLyCA0nahd9lGnHPdzqSvfjR386kIvloex/8VxBl2vdzyHm56pbGZHfV8sVYUXGr3K ZcDgvJ8JsXRPSH7dbjjaDI7YnAS5n/h2r7Ezxq/oHKqMYphqjDItusxkYu8ZwWhBRCgy LHtg== 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 f204si4007531oia.43.2020.03.09.05.25.54; Mon, 09 Mar 2020 05:26:07 -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 S1726442AbgCIMYg (ORCPT + 99 others); Mon, 9 Mar 2020 08:24:36 -0400 Received: from foss.arm.com ([217.140.110.172]:51506 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbgCIMYg (ORCPT ); Mon, 9 Mar 2020 08:24:36 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F1B7F30E; Mon, 9 Mar 2020 05:24:34 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 20D953F6CF; Mon, 9 Mar 2020 05:24:32 -0700 (PDT) Date: Mon, 9 Mar 2020 12:24:30 +0000 From: Mark Rutland To: 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 , Thomas Gleixner , 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 Message-ID: <20200309122429.GB26309@lakrids.cambridge.arm.com> References: <20200306133242.26279-1-vincenzo.frascino@arm.com> <3278D604-28F1-47A1-BAB8-D8EB439995E8@amacapital.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.11.1+11 (2f07cb52) (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 09, 2020 at 11:07:08AM +0000, Vincenzo Frascino wrote: > Hi Andy, > > 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. Thanks, Mark.