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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7816DC2D0A3 for ; Mon, 16 Nov 2020 19:29:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 16A692231B for ; Mon, 16 Nov 2020 19:29:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="t3YX5Pr5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727767AbgKPT3C (ORCPT ); Mon, 16 Nov 2020 14:29:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726293AbgKPT3C (ORCPT ); Mon, 16 Nov 2020 14:29:02 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 352E4C0613CF for ; Mon, 16 Nov 2020 11:29:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=BBb+0MAVRl4o+gsCUweO3CE8BYgSiGgb0WEbUxUtSNM=; b=t3YX5Pr5Jm0DVCluskREN3Aari K4yvnb8dD7Y5wolEiLfgGcDYPnQDQasMEFFlzyz14w3EefsbpqaIrfrtyGa1CHF0Q+p85CrSsmD5b qp1JSAmkXE31ScAV/X1XCGW2ZUA+q1FgL09Miv3pzCyjf67XFOwRa3361X/rO5KD67m9mDlm7IQVD reNIEWQS16u62+dK2M7CejNK7I+XPVbb5l6jO61dM6WoxX4HqvDK2PwIq4561iPIVbbuzO24K8sJX FOW5NhLJMNYWXU3ViXp8UFll/RXJIVI2JWxNKRHKj4BmhyWscmI+LQXVUndo7ADUG40tJK3gPMV+8 Zh179aaA==; Received: from [2601:1c0:6280:3f0::990e] (helo=dragon.site) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kekBP-0006V2-LK; Mon, 16 Nov 2020 19:28:59 +0000 Subject: Re: [PATCH] compiler.h: Fix barrier_data() on clang 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> From: Randy Dunlap Message-ID: <3fff1eb9-83c0-1c29-6f57-fa50f1ec6ee7@infradead.org> Date: Mon, 16 Nov 2020 11:28:52 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <87k0ul9msr.fsf@igel.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F0ACC2D0A3 for ; Mon, 16 Nov 2020 19:29:09 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C33E32225B for ; Mon, 16 Nov 2020 19:29:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jYR7Lkl8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C33E32225B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=X6H2r2U5iEhd2lnZBEJuzL2VWAWLBZUHS3FJLkwHI8E=; b=jYR7Lkl8k6xSD20qwDj/sWuN1 THsp+T7cktN7Kv4fmVoC+SI6c9Fsqy+wWJ3neBamG+903UQtuhXd9cHeNCAnRISdqEbCXYFdJGvvC BNDkLjMH8PWs/96vlv8TKFcZbgtD8IHAGn6+BhSPw7Jdr6djhGZPYdCYdIGKBzWYJx9doBKsPDSeq WVx6HPf141/9zyJ2Wmjf7HW8OAJKIXySYWw8GK5EDYy6sN4Af7hEm3ildfvqtxvpkFh+yhR/la2R8 7GKQSUqeaf+JuzSEhIIaXeaykztx5VQpgkHWHkznPXx0M5Sldm+RdwjkPFGbSvbvWzXUS1A7we9uc LcFMdoRPg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kekBR-0006Vq-8v; Mon, 16 Nov 2020 19:29:01 +0000 Received: from [2601:1c0:6280:3f0::990e] (helo=dragon.site) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kekBP-0006V2-LK; Mon, 16 Nov 2020 19:28:59 +0000 Subject: Re: [PATCH] compiler.h: Fix barrier_data() on clang To: Andreas Schwab References: <20201014212631.207844-1-nivedita@alum.mit.edu> <87sg999ot0.fsf@igel.home> <0dbaca2d-9ad0-8c1a-a280-97be01cac2bd@infradead.org> <87k0ul9msr.fsf@igel.home> From: Randy Dunlap Message-ID: <3fff1eb9-83c0-1c29-6f57-fa50f1ec6ee7@infradead.org> Date: Mon, 16 Nov 2020 11:28:52 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <87k0ul9msr.fsf@igel.home> Content-Language: en-US X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nick Desaulniers , linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Arvind Sankar , Nathan Chancellor , linux-riscv@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv