Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3439283pxb; Mon, 16 Nov 2020 15:00:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWk79S0+Iv9gI/dRFuyjZV2y1JrFMr4BvnJIj7aKUFhyPMz6bwR98xAfBwtvemDw6NQ534 X-Received: by 2002:a17:906:c084:: with SMTP id f4mr2658150ejz.4.1605567636549; Mon, 16 Nov 2020 15:00:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605567636; cv=none; d=google.com; s=arc-20160816; b=CaaW/DH6tkSPJ+7RhjM2TnYt0Qwwkqmyb1pZm8j1vbY0BecwxN8W//CwW/dM2u8Lrk YxtSrp2Nxv0MIJDwcvYiMb/qt+1cAEdDQ2JpNdSVJkJyL0TOe/56B2tBkrmtnc/CR/if 7JyQgVV/tf4MCgQ/TLtoP2W9ktf+sTvNjTqF+H2EkY6I0H1yf2/diQJjSBCSvTOhcdHu AM5D1RfisIXdS0WRA8bISt5Oag4/RdEm8m+Kd2RTyHkSBQeri1wb9NdF7BfS8qzn4xTR Yk/cxdIjUfclIFnkIZ6Tl/k2MEtQEvlz2YzKEckvH0RKt3U+m/QutjlR4ONg1RGxigD4 sZ3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:from:subject:dkim-signature; bh=rmbEOUuFUDWT2r+1h2dWrIdCOj079NG2OKQi9QhFvjo=; b=FdmBcQLAadj7gLKGSLa+V7uyrks+6jG0NDpKuRurG3Htw0cmkiLgeDfYIZnWWcdMYx kvTcMvgBZTAOmjchPiqXq5c4HSi4L5W9nDaWVc30dRputuA/7INZ9IWfBA4RO73XpUSj XCuGind/oIVbzzzP3T8vfO+KMbnoMDkkmbGvZP4+s2EYpUCVPG0GsS/+ys20raBYixOj CowpinIQB+jJL8bzDr1pd0kVlQDI3mPN3s45xnDKwjjeqyTzFt/cAyFg7KQu1BlEdXqt KFNFGy3ZnYCKMexWTv6gmjZyjG+r9OehlHAKWeD3jxao2qOf25qeP/va70KW4iewq4xh MPvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=uMUcuSmE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f7si11909113ejr.344.2020.11.16.15.00.11; Mon, 16 Nov 2020 15:00:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=uMUcuSmE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728803AbgKPWUB (ORCPT + 99 others); Mon, 16 Nov 2020 17:20:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726016AbgKPWUB (ORCPT ); Mon, 16 Nov 2020 17:20:01 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FC79C0613CF for ; Mon, 16 Nov 2020 14:20:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:References:Cc:To:From:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=rmbEOUuFUDWT2r+1h2dWrIdCOj079NG2OKQi9QhFvjo=; b=uMUcuSmEOxdvWusgeKZNV0Z0f9 SgXsrlfEMxCC2e6ojKy55SnEgSh+KeEe2wKJYWK/txvvRyur0+leAhE61oRPiAv8tMtf9RZNr4kCK DSSEZACpbdMCNOUb/oyxPPec/Ftlc/NDcJPkqhcjxeswUXTplEo7HbObtI9fJse3Gt8LnSQ/qj4uq dVxBmL6vfXDhYEAMSmR9Gk5mX9QkiKZorkd7vwX1TrKa9iqN3yGFBHD720f46rNKcpxjJSGH34B4n pH3t+rgYArYo8gHcuVGozyscG9Wdik22z1OyfIbOxvJA6vMYA2Fm5O2MgmryMR8Y9msnjcpl/XFse VIXva19Q==; Received: from [2601:1c0:6280:3f0::f32] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kemqs-0002AK-0r; Mon, 16 Nov 2020 22:19:58 +0000 Subject: Re: [PATCH] compiler.h: Fix barrier_data() on clang From: Randy Dunlap To: Andreas Schwab Cc: Arvind Sankar , Nathan Chancellor , Nick Desaulniers , clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20201014212631.207844-1-nivedita@alum.mit.edu> <87sg999ot0.fsf@igel.home> <0dbaca2d-9ad0-8c1a-a280-97be01cac2bd@infradead.org> <87k0ul9msr.fsf@igel.home> <3fff1eb9-83c0-1c29-6f57-fa50f1ec6ee7@infradead.org> Message-ID: <3c0a8d26-a95f-a7ca-60ee-203b67d07875@infradead.org> Date: Mon, 16 Nov 2020 14:19:55 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <3fff1eb9-83c0-1c29-6f57-fa50f1ec6ee7@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/16/20 11:28 AM, Randy Dunlap wrote: > On 11/16/20 10:30 AM, Andreas Schwab wrote: >> On Nov 16 2020, Randy Dunlap wrote: >> >>> What kernel version are you building? >> >> 5.10-rc4 >> >> Andreas. > > OK, thanks. > > My build machine is slow, but I have a patch that I am testing: > > --- > From: Randy Dunlap > > riscv's uses barrier() so it should > #include to prevent build errors. > > Reported-by: Andreas Schwab > --- >  arch/riscv/include/asm/vdso/processor.h |    2 ++ >  1 file changed, 2 insertions(+) > > --- lnx-510-rc4.orig/arch/riscv/include/asm/vdso/processor.h > +++ lnx-510-rc4/arch/riscv/include/asm/vdso/processor.h > @@ -4,6 +4,8 @@ > >  #ifndef __ASSEMBLY__ > > +#include > + >  static inline void cpu_relax(void) >  { >  #ifdef __riscv_muldiv This fixes the emulex/benet/ driver build. I'm still building allmodconfig to see if there are any other issues. -- ~Randy