Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp1266023oof; Tue, 25 Sep 2018 10:20:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV616FFUhJNx2ScfzOLgHGynABRgln1ICAgtGQroo5t2TKSenrJpvv534kLDQ6NmVzbUieZNt X-Received: by 2002:a62:e091:: with SMTP id d17-v6mr2127273pfm.214.1537896015100; Tue, 25 Sep 2018 10:20:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537896015; cv=none; d=google.com; s=arc-20160816; b=VI71u6BgMsbbWglbG2RZ3plIWAeMXc46W/I4DVcoWAhnzGaj2iPz1q0ztz926C1rvI +Pud0TCbHVeCZiC3AN6XRw1ZVT/FAlJ4Kru5yfy9wOcBYSPJhdwb3TRnrqedB1caHZrl ttxz4J0WXq282oF+BI32IhFPaRN6Nf8ZDu99W2atkRRZK/vAbDrku/7hwgXuSVg2o2WC 2+QPZV7+dsnh92CFyj4LnoXWsVCblugRrh2fVSs7GAdpOanh5AmOgK2xyRi4TgOAKcEM zX2/W77PHh9TSb0hc0SJCVgkdEe9kfP7HG2lCccOu7cg/B5xSYw9RM6z3m2BKtwmQswu 65mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=+K42w9hAoCw3bXE0J05cc60xYmthfUb/628tvNagX78=; b=wA8KYNN+UCqFr5nJPWGKqmgGPkegeEYQLWuRxfIC+m7nkw0nRfKWcq1/kO2lJni/yD uufMq8d40C3Sb2oyJ8cLzjbZbvkAvNtkXVqhjRVvonXknI/msQos84zFHn0cdwB/SfGo 4dStkBzkHfDBi+N9SwHVuPOHVHcl04a0uBy0lBFW3Wqmyv+E0kW0sM2ynGua0uBF4daV sGWkG3nGCF5xhfjDvqT3VYCqhb4vlgwWyoXBEwaQW9xHVGxio+bqgdZ4hJJNmKgGMPFg DaBq/uXeqldvOuup9IUMw0emQB6oadwf80rQzzYsIp0zogWSHKKOeiKIKlnSI/L9a6Hc 0GDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="ZOLDO7/a"; 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 j13-v6si2566801pfj.230.2018.09.25.10.19.58; Tue, 25 Sep 2018 10:20:15 -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=@sifive.com header.s=google header.b="ZOLDO7/a"; 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 S1727706AbeIYX1y (ORCPT + 99 others); Tue, 25 Sep 2018 19:27:54 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:44798 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbeIYX1x (ORCPT ); Tue, 25 Sep 2018 19:27:53 -0400 Received: by mail-pg1-f196.google.com with SMTP id g2-v6so4031971pgu.11 for ; Tue, 25 Sep 2018 10:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=+K42w9hAoCw3bXE0J05cc60xYmthfUb/628tvNagX78=; b=ZOLDO7/ajuarS58qVuWOa1VUlpT0ijP2FvWUx3k1MYDcYPxCSthL92f96XKsCw8BdJ Or414jIdi4MeokOSm44kEHZvLb9pu9wyh8bdjmJjlsySwGFLFQ04ihjqhqccmDXk07hL aG3UCiZmKcH0njlykcqK2c+Nvyjnln8NndEYcqXilqmFSfns3HaxScu2n1ARstOcc3hr 3FvY+CGy46B7xp2Cuu7NmHK2ADP8PXxx5bEgNsV4IrBtetywYK7b1mybNGh6nikkgwec XQNz/8G4hyNkYehtUKxN2ibXZ0oP7thADFuRZx+ywlA+4FlFE19DPQ9TrHDUyvrNGhy8 NtYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=+K42w9hAoCw3bXE0J05cc60xYmthfUb/628tvNagX78=; b=JLnz0dFhOSP0VLHz/YZsDhr47hDEqJYUongJneS8i2kDMo79qCGq88BBhJsmMAyX+Y GCNTWSIPsrFkWw0ru8O0lmwxQy51MebOSrAnS/R+EpyuShxCsYr8rEwiAbWvIMEkl32q AAn/YTTVzpLUm/PhQUYqQSzDVyD4Gf0Y9JdxmImvkQ1vnRbxjBpir6f90FI2LtWJK9BW XVpfPoksKWcDg0I2eJwtuL3TfNUF+HCi7GhXKCb6AfWJaVmCYbHitGsnZH3FsC6p3z2Z kMQWXqZir3O4oryTxbOCcSMHMpC/04b5Ao1KReOdb3PrBpvpuZ3gbl8s36UmI/FHgO1S fcOA== X-Gm-Message-State: ABuFfojmy4zG4k8jTxpgeJ+4TqPKqIdtVqJRTW6j24SH3+gWV4URZ7AM JsHKFEB4dP/AlKX8ajlCWN87NdrDh+c= X-Received: by 2002:a63:f848:: with SMTP id v8-v6mr1969286pgj.82.1537895965274; Tue, 25 Sep 2018 10:19:25 -0700 (PDT) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id c88-v6sm6295725pfe.132.2018.09.25.10.19.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Sep 2018 10:19:24 -0700 (PDT) Date: Tue, 25 Sep 2018 10:19:24 -0700 (PDT) X-Google-Original-Date: Tue, 25 Sep 2018 10:12:56 PDT (-0700) Subject: Re: [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit() In-Reply-To: <20180925121225.9917-2-andrea.parri@amarulasolutions.com> CC: linux-kernel@vger.kernel.org, andrea.parri@amarulasolutions.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org From: Palmer Dabbelt To: andrea.parri@amarulasolutions.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 Sep 2018 05:12:24 PDT (-0700), andrea.parri@amarulasolutions.com wrote: > The barriers are unused; remove their definition. > > Signed-off-by: Andrea Parri > Cc: Palmer Dabbelt > Cc: Albert Ou > Cc: > --- > arch/riscv/include/asm/bitops.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h > index f30daf26f08f4..01db98dfd0435 100644 > --- a/arch/riscv/include/asm/bitops.h > +++ b/arch/riscv/include/asm/bitops.h > @@ -23,11 +23,6 @@ > #include > #include > > -#ifndef smp_mb__before_clear_bit > -#define smp_mb__before_clear_bit() smp_mb() > -#define smp_mb__after_clear_bit() smp_mb() > -#endif /* smp_mb__before_clear_bit */ > - > #include > #include > #include Reviewed-by: Palmer Dabbelt Do you want me to take this via the RISC-V tree? I only ended up with patch 1/2 in my inbox, and I probably shouldn't take both. Thanks!