Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4519500ybb; Mon, 23 Mar 2020 23:45:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtYIZYc1dV3Zgo4XdVjyRI5YBf8OVxqDvXOzA8hjzhslKN4r1aL/Bi1agQULg7L2DroCGhD X-Received: by 2002:a05:6830:10cd:: with SMTP id z13mr20216846oto.210.1585032332739; Mon, 23 Mar 2020 23:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585032332; cv=none; d=google.com; s=arc-20160816; b=gtX14aPsDyMFOu18Z8qDHFwp600vi3ZDSayFimYdJ7wn9/ciNM2cwh4M7t5gH9Aj6U HXslfXuUpTN5ZBKKuGKjHHxMzjuIXj32J6/tCxIDZZZO/zfSGVWJRofH0K9GUOtTajpm N2dP4ehpIc5cgdSmKjnO7WDD5bHMR5Bz34PrKFLhSAjAN0iMHz/L35retM7p+RIvrUpP H8Myy2eqtcCHvDiEwgHTOOhVjHP3DPv5BjiGdy97aJJ75rOoNdGos0VrfNwv4tDDlnuc QfaMRTuVcaefAqhMyKS0RRPqm/2oqGqnBDQ8JdqZqAGSpby7fzK/ADjpRc7J5lrHU055 ovuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=L4CW0rPtmeZubMea2TIqiT/A8GX+RXa02iEWUwJq80M=; b=RAfZOaxNzXWZbon7GFU8LHzUr00npcbrp6YpzKsggkJYB6ZnwBow1RDDERsRqZamIG 0TPEESoIvYcihztE/4xd3MbNbcPhBzDQ9fn1CoQrZ+9v1DZNLYqblZQ6wUh/V5tJVQc3 l1+tjMNtThHgbK+7BreI9EBV+faiuTwkylBB0LzPkC/Kg3b95AMa9yTyqg9xVptuyKv4 AnY+c20EL5N6keUVg6OTcCOolj4Cz2GQhjqKtOrEF0azqlRvgruvZB8nYwY4ZiShCukw jafdGP8/2nVkg6hJ4CM07EZKPjpgELqnYvn1gM/RUzNmM9/QT4heb2syNPXXGYbfII2b MhJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vMqI1Te5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d75si8714873oib.22.2020.03.23.23.45.18; Mon, 23 Mar 2020 23:45:32 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vMqI1Te5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725959AbgCXGo4 (ORCPT + 99 others); Tue, 24 Mar 2020 02:44:56 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:46560 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725869AbgCXGo4 (ORCPT ); Tue, 24 Mar 2020 02:44:56 -0400 Received: by mail-wr1-f68.google.com with SMTP id j17so16610464wru.13; Mon, 23 Mar 2020 23:44:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=L4CW0rPtmeZubMea2TIqiT/A8GX+RXa02iEWUwJq80M=; b=vMqI1Te5IPhAlr1vwWuupx2adRh7j4RIR12j5Xh7fiKH2BXzvphS5cBC9R1ARPHX7y kol95YH8xZia6T590KQ4X1UXRFlsn53oEtigOswor/iKd3LqBz/SwiSHXq1FaaTmaz5t r3BmI1WzuaNCBRweXD8ilsi3DkYmC6FJDe+vivy6JAx5cKV+MzuFV/lhiCggFDqig3Gi mflJKgwnGl8N+06bYeEtaxnlFI17SWoZmmxTYHs+H+mHzk1adKMCAgPGmtqIaK0vC7bG 7hzaOaGLPvIpWusRLutsKQrNLVS7lV7bdqwOkvJQkkel51Mh4mlYFBj2I4g/rpGKlFZt /GVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=L4CW0rPtmeZubMea2TIqiT/A8GX+RXa02iEWUwJq80M=; b=g8wgPuMtowKGAhxXlRz6Tt2dZXomn72rzDyJXLdwJBVGiSMaEh4pbFSkFOlbMzJBUf SSrHMRwWgo4Yi/tL4zAHta633t+e1dC3dv1x7fq7rbR+vAyWbxDXfAT7/jrjKhHp+RIN jl2wxqQ8/rqEI/GUNvN5i3/XG1Km3Hvv0WKIHrDpMs2WZNSyELiBG/Znz9cumGbC0URc R+bVvUJDLaKf9T/W9QY+XKnw84xF2TJph9+LcKYoKfnFu0fJ/QRHQNm5leenyxSPgGrs 2PcHKD+rwDCH4ilmLIBkjb/gILd4zQrzXc0BrXJ6+Hq4lyuRdWqDSYpoZCQ1VTxEZJJK /vcw== X-Gm-Message-State: ANhLgQ20I1oFcomA9Trrjt3Yg7ZXPOFd/q15aV38DqIG+X2C6ygN/uEt hLU6OI6P2+1RHR+xLOGN8ps= X-Received: by 2002:adf:e942:: with SMTP id m2mr16609442wrn.364.1585032293817; Mon, 23 Mar 2020 23:44:53 -0700 (PDT) Received: from ltop.local ([2a02:a03f:b7f9:7600:d82b:7ad8:892a:4798]) by smtp.gmail.com with ESMTPSA id o9sm27801201wrw.20.2020.03.23.23.44.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2020 23:44:52 -0700 (PDT) Date: Tue, 24 Mar 2020 07:44:52 +0100 From: Luc Van Oostenryck To: "Jason A. Donenfeld" Cc: Christopher Lameter , Dennis Zhou , Ben Dooks , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Tejun Heo , Nicholas Piggin , Arnd Bergmann Subject: Re: [PATCH] fix __percpu annotation in asm-generic Message-ID: <20200324064452.zsnpcvihgeyegtmu@ltop.local> References: <20191126200619.63348-1-luc.vanoostenryck@gmail.com> <20191127175350.GA52308@dennisz-mbp.dhcp.thefacebook.com> <20191127225432.ttwxm3hxtg5utfaz@ltop.local> <20191130000037.zsendu5pk7p75xqf@ltop.local> <20200324041347.GA186169@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200324041347.GA186169@zx2c4.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 23, 2020 at 10:13:47PM -0600, Jason A. Donenfeld wrote: > On Sat, Nov 30, 2019 at 01:00:37AM +0100, Luc Van Oostenryck wrote: > > Note: it would be much much nicer to do all these type generic > > macros with '__auto_type' (only supported in GCC 4.9 IIUC > > and supported in sparse but it shouldn't be very hard to do).. > > I'm curious to know if you know why we're not using __auto_type. Because > we're stuck on gcc 4.6, or is there a more subtle reason? I suppose. I don't remember having ever seen a discussion on the subject (other than a simple remark like "it would be simpler with __auto_type"). Mainline Sparse doesn't support it but I've a pending series for it that seems to work well. -- Luc