From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C60F1CCF9E9 for ; Thu, 26 Sep 2024 06:20:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1D7B46B009A; Thu, 26 Sep 2024 02:20:35 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1884B6B009C; Thu, 26 Sep 2024 02:20:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 028806B009D; Thu, 26 Sep 2024 02:20:34 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id D7D7C6B009A for ; Thu, 26 Sep 2024 02:20:34 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 2DA28160A25 for ; Thu, 26 Sep 2024 06:20:34 +0000 (UTC) X-FDA: 82605890388.14.683930E Received: from fout-a5-smtp.messagingengine.com (fout-a5-smtp.messagingengine.com [103.168.172.148]) by imf29.hostedemail.com (Postfix) with ESMTP id 08FD612000F for ; Thu, 26 Sep 2024 06:20:31 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=arndb.de header.s=fm1 header.b=eV621Oyk; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="Y S9DE14"; spf=pass (imf29.hostedemail.com: domain of arnd@arndb.de designates 103.168.172.148 as permitted sender) smtp.mailfrom=arnd@arndb.de; dmarc=pass (policy=none) header.from=arndb.de ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727331570; a=rsa-sha256; cv=none; b=KHVwHZXNhSL+KaIzn4hdQ1JILUBys31a4/samg5r4GC8gSyZEBQ7aTwO3wtJWtxHzHmRWA evDDnX/mGM9t2MEMtmYJfIwm9QX1TOQa2m7tQIE6YBCPZB7l3rjMFJVXhqtkpAApP35UPv sk5Rlq2gbOVKiXnyXoJ50yN/sVLswns= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=arndb.de header.s=fm1 header.b=eV621Oyk; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="Y S9DE14"; spf=pass (imf29.hostedemail.com: domain of arnd@arndb.de designates 103.168.172.148 as permitted sender) smtp.mailfrom=arnd@arndb.de; dmarc=pass (policy=none) header.from=arndb.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1727331570; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=oQnRU0axIiohza7SOhtqH++E2FBDOQIKGvFilOUjtms=; b=l6O1Oc/P3W834I2oehmE/eZN4Wr1Q+XpEH0Hdcy7DqaHnllPX6uHZijX1WpJXjVBva9ajf wh2MzMaRorEJAXN073sysMOXDGDpPEOU0JXxmoTgHrirAlUg4gh7T77YcQIMVxFOqz5YEq ER+goPOynsKLWx9W8U5PuBjpiCbq8CU= Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id 3D5E9138047B; Thu, 26 Sep 2024 02:20:31 -0400 (EDT) Received: from phl-imap-11 ([10.202.2.101]) by phl-compute-10.internal (MEProxy); Thu, 26 Sep 2024 02:20:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1727331631; x=1727418031; bh=oQnRU0axIiohza7SOhtqH++E2FBDOQIKGvFilOUjtms=; b= eV621OyknrNCy6xeSo0sV13rQCzVMl0ABRPtip0t6rJV/qzAixAqaZlXaI5Sn5ma M80YteuI/h3Mq2BAVtVdYJR/tvEmE5KWH4gysQhYQAouJ7My0BNs4U5NtU3cp9RJ WBo2wBYGlwWAoMj9hAQpnJRKp1b28id5XhuY6mgFfZjtmMh9w6g9VE6D2y6NEJTk uwjaWrnCdgpPJLVF1lkdmEKqvubMcncvtxwYLNK4TKRwoJxmeS7PV6X9Ux8LlZ18 Ur/GkhD5UiVN056gFjkNsIpgYzVSymVNxFgwg6za/hE11RpyhgkEpqhESElTxoPA TIMKBBkU0/Q+tpmlvHHMxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1727331631; x= 1727418031; bh=oQnRU0axIiohza7SOhtqH++E2FBDOQIKGvFilOUjtms=; b=Y S9DE14lOzEVazQlx4Nw+2e1a9YkqjEhJvMLpCDL7JRPWIghu90pJU+lj5odDpGus WT4x0K6kzaA5N9gfdXlkHnbVkgyZ3jkDgzMa2VBi00RH+5wALqgAg7DQLcOLEthv g62FR2fan3uA7nFw518aCkJfuMun9zD4QpTYjGnBQ8JE4Q4SSaKsOea7VBSCgy7i 3lk3DTFc/l4uu9ugxnR0CPaa1wXG7k2nXmWKRcYZocVyXlK1YHBsS5F0eJJlNQH0 urBVRfgGl1icsZRpignSAXmfzZENHqxGabZqhcjeoA51t571EQfI4oXZne4rMiRR xgr6fob7qEC8+Q+gt+kQw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddtiedguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefoggffhffvvefkjghfufgtgfesthhqredtredt jeenucfhrhhomhepfdetrhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusg druggvqeenucggtffrrghtthgvrhhnpedvhfdvkeeuudevfffftefgvdevfedvleehvddv geejvdefhedtgeegveehfeeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpegrrhhnugesrghrnhgusgdruggvpdhnsggprhgtphhtthhopedv tddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepsghpsegrlhhivghnkedruggvpd hrtghpthhtohepvhhinhgtvghniihordhfrhgrshgtihhnohesrghrmhdrtghomhdprhgt phhtthhopegthhhrihhsthhophhhvgdrlhgvrhhohiestghsghhrohhuphdrvghupdhrtg hpthhtohepmhgrthhhihgvuhdruggvshhnohihvghrshesvghffhhitghiohhsrdgtohhm pdhrtghpthhtohepmhhpvgesvghllhgvrhhmrghnrdhiugdrrghupdhrtghpthhtohepnh hpihhgghhinhesghhmrghilhdrtghomhdprhgtphhtthhopehrohhsthgvughtsehgohho ughmihhsrdhorhhgpdhrtghpthhtoheplhhuthhosehkvghrnhgvlhdrohhrghdprhgtph htthhopehmhhhirhgrmhgrtheskhgvrhhnvghlrdhorhhg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id DCAD02220071; Thu, 26 Sep 2024 02:20:28 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Thu, 26 Sep 2024 06:20:08 +0000 From: "Arnd Bergmann" To: "Christophe Leroy" , "Vincenzo Frascino" , linux-kernel@vger.kernel.org, Linux-Arch , 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" , "Andrew Morton" , "Steven Rostedt" , "Masami Hiramatsu" , "Mathieu Desnoyers" Message-Id: <35f002ae-44bc-4887-a7e8-c00155b6cf7c@app.fastmail.com> In-Reply-To: References: <20240923141943.133551-1-vincenzo.frascino@arm.com> <20240923141943.133551-2-vincenzo.frascino@arm.com> <626baa55-ca84-49ba-9131-c1657e0c0454@csgroup.eu> Subject: Re: [PATCH v2 1/8] x86: vdso: Introduce asm/vdso/mman.h Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Stat-Signature: 6oqxn75c6rnrgzswudmx1epyuibr5c3d X-Rspamd-Queue-Id: 08FD612000F X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1727331631-539148 X-HE-Meta: U2FsdGVkX19oJEv2YdJ4DctCPWuzTlo5phrCxI88CPjSSo6dlobDY4vj3nYWHKRC5S0ywMSgS6Afwmj0Fpw1PXk/jtLq7hckR5Z7F/ajl7Zliphjwjdz+7VXvTtxIKDWEsnW8wd6DtbJ7GIDz3idtVIS7I9CIDLeJ7p1IerFYYJGY649YoOdHAV4gg+d7ZZxg5nxAG1w35uwHoyGtjjZr/CFbVQHluDFUVBtGzkrFjVfC/r+EL2dlpIRJ4WwAc1ukxbHrNaT8+LkUFdYiS83WkQp+nfcp2renwLAdxNjcqWMNt+TEyduh+dVGsnTs0ETGM3sr1nbu/CRJXeyz0s+0ffIaqIA3coG+JJHExB2u5jasIokMmcJp57V+P6kmIxi9yN9GlPy3WBr8iez3LVbW3g7igOQBZb4n2jfGCwoSqVztaF900n8FFTi0vd8tSYLTJyWe2JYsZe8aq+nr8+e9XgbS7Ym4PEIfx7fenY1x9+AiESQyaYbf/idBRNC18AkBcNntTiqtv21a/1nqYywXNEnwf6uACyANTesptvei6QmdQ7NKV+vwFhQN3UY4iDFSJ3YZCVKiZx0cUZPcKWjL4LEMwwKUJ/WfsrDfJWRN52rG5s/IULuq6cJqwA8JgpBc1Ea96jmW8C1neJREBsNxxSGHvbNlV69KGUPZ+TqVWC9SE8eoQ0MpoHGihJFu54sHf+wknXyW8j6optcf7SaySaRokNgYJ1vKwf8nmyp1UDt1fuX+zGP0UjHg6Jae9AtPJTxn2ayt3wJyqCq0Qz7RS9gnhKPLlNz8Dzrr5i1CJXNtBcJFCdSzLC9C7S0yM0Tx6B7ggUdQDoPgdP7tHir6ATGr5V25sdgi9dvR2ucVjPjLTd4btEfvVAX37nqooNa5YOWrzqPHfz3Mopv7tl5FxAyWJ6whmN4OJtIA1ML7g57AkMycyaQZnSlfC7S+cFScFiV1BnYb7F0KpdkaNn 5iH5u303 +EbC+9ksuJ5qX9HXoyxpV42+vm7VkX+JIE9VddWWnfC8KC668dTvkt7XUJiAdxwpTyZ8NfCqiCdMINVLHcx7Mr8iGeZ4sCa9f+u9J5OicwuWxVKPBFq6NzOJiqt7gbBGRlQzl0DGjSYFrQkzrmB5Wiad1OPSCl2+Doy7rCZmFdKPdPQ7aOxVkXngsqpQiDGwST35TEi0GrT4K9840kEeKgYWVmxUfUttnjl5Pz2uqd/ekn1c= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Thu, Sep 26, 2024, at 05:51, Christophe Leroy wrote: > Le 25/09/2024 =C3=A0 23:23, Arnd Bergmann a =C3=A9crit=C2=A0: >> I agree that moving the contents out of uapi/ into vdso/ namespace >> is not a solution here because that removes the contents from >> the installed user headers, but we still need to do something >> to solve the issue. > > Should header inclusion be reworked so that only UAPI and VDSO pathes=20 > are looked for when including headers in VDSO builds ? I think that could work. Not sure how hard it will be to get to that point, but I like the idea. >> The easiest workaround I see for this particular file is to >> move the contents of arch/{arm,arm64,parisc,powerpc,sparc,x86}/\ >> include/asm/mman.h into a different file to ensure that the >> only existing file is the uapi/ one. Unfortunately this does >> not help to avoid it regressing again in the future. > > Could we add a check in checkpatch.pl to ensure UAPI headers do not=20 > include headers that exist both in UAPI and non-UAPI space in the futu= re ? That is a much weaker check, I suspect it won't actually catch most regressions as it's too easy to ignore checkpatch warnings. Arnd