Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4073411imm; Tue, 25 Sep 2018 10:51:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV63sbOydYgP/WC+mzeOA/Imtkv3zt4pvO3m7feUbxTOGwhr8SJzInNWcqa1dhrLDsXmqlJ7w X-Received: by 2002:a17:902:8a90:: with SMTP id p16-v6mr2292651plo.106.1537897875803; Tue, 25 Sep 2018 10:51:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537897875; cv=none; d=google.com; s=arc-20160816; b=jKL4N56pCOwovE+jVdtmu8oH7ruso6MtjouZKaXHZSctt+XtTqpAqERcloenW8hySd G8zwd285k274wyLe1b92P8QL2/1W0WFU2gv1oT+SQJsThV2JydRg3p6fX4BybAu81k93 KA5AANpd911XY/uP5yCHES59nWkb2TTWMsIXIi0rchruHVP9YdENhTDxkPW3vKf0X0Q+ kNZJQouNk96UYyFOzM42/1XMMYy7RwGisZkpYu5/hiFGlIvAH9T2eNryZ7omMw7HU20J EeD75+6Jbkk1Ft+RlS+i80bYhtEq4A/vJW/gbaxILVyumzTz+syjHiOI503UREdYw4Ac p1uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=dW6Z3tPoCmRuns3nBOd/KOLpwzZGNOM2TtEOQHse3bU=; b=fXZZhFNx3UqpgdCncNM9inYYgwHQOgxwxM2xkEfzc+FPwBk2Ick3qsksz2QV+z3pHS sgctxJSip/vRHmbnpQaRfOfLseD70jD0lESgJ8DKn5TU7e39B380aW/I2IHZ+oJYuXbe svn3SM/VuOzncB56cnbBcHnsBaF2apSWZS1Q7R1V+MBCEtXbunbFmv/FH6YtPIoX/25s kKcNUSgLUwx97Rd3CW8FMhYXrFl8WTiexk2tYy/OWpCEYmq4+yRI1mf5ILonEgwWXSKm 6DQY+SZhAuRY8cAmUdl4CQTY9NGqUtr8YxosinNweDW5pco2VCELEwyhgVbfj3EfnRjv hzCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=U4I1qhbi; 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 b28-v6si2887752pfh.233.2018.09.25.10.50.59; Tue, 25 Sep 2018 10:51: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=@amarulasolutions.com header.s=google header.b=U4I1qhbi; 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 S1727295AbeIYX5w (ORCPT + 99 others); Tue, 25 Sep 2018 19:57:52 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:33016 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725918AbeIYX5w (ORCPT ); Tue, 25 Sep 2018 19:57:52 -0400 Received: by mail-ed1-f66.google.com with SMTP id g26-v6so6952045edp.0 for ; Tue, 25 Sep 2018 10:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=dW6Z3tPoCmRuns3nBOd/KOLpwzZGNOM2TtEOQHse3bU=; b=U4I1qhbiSvtgDPWBNJ9PBjj2LDqdntomnuk+txI3m9qG2iK7SX1eOGGM9Sy0Q4rHKd ujoN09/jDEooXjY5P0t3Id3vUca7Llt/3KeCOZOU7ftVN4+MmUJexRprCs1cnd1DFNR3 PUHRqVEP8F2vMzXhr7yRvF8fb76t7VODYGgjc= 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:user-agent; bh=dW6Z3tPoCmRuns3nBOd/KOLpwzZGNOM2TtEOQHse3bU=; b=rFAqJSjNoqpDupFkSGJ9Bz2Z4W5YEPW5WVpGpr/l+rVQgsluDJP0eaAJIxjQMvbjti rpsd1x2hG5DnwZlU0PvM84+Uc7GXVwa42x53MnNjWHy+U+i4Eb8j8CihkKrCFucfNe5A eiFDhEACB88mnkcGAhZl/SLsQGTUhAJDw1Zv3AOGnFmr0XM+veeUlO+N5wI5BVVVkVx1 Qb9hAsctZ1kuxNFlq0bde00dGA/TzDSAjGbcBc8+xcKPuUr0e3KcOjCL1xOoxkqFPbDO Z+5WDOgd9qLzv+MKu7ex4S/FQS5mEz1j+RrcS8Jw7NoWoCLV3jeilWceogZaWB6f2EVY EPXQ== X-Gm-Message-State: ABuFfoi3oFBaPN51yBZTIWW4br7pUaHXHIuaeESxQRg4MGmo6KAJ0wJr eI4Vir7h5JhIrFeE8cij5DarpQ== X-Received: by 2002:a50:b045:: with SMTP id i63-v6mr3454270edd.18.1537897754596; Tue, 25 Sep 2018 10:49:14 -0700 (PDT) Received: from andrea (15.152.230.94.awnet.cz. [94.230.152.15]) by smtp.gmail.com with ESMTPSA id m35-v6sm6852725ede.14.2018.09.25.10.49.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Sep 2018 10:49:13 -0700 (PDT) Date: Tue, 25 Sep 2018 19:49:06 +0200 From: Andrea Parri To: Palmer Dabbelt Cc: linux-kernel@vger.kernel.org, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org Subject: Re: [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit() Message-ID: <20180925174906.GA4372@andrea> References: <20180925121225.9917-2-andrea.parri@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 25, 2018 at 10:19:24AM -0700, Palmer Dabbelt wrote: > 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 Thank you. > > 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. I expected this to go via the RISC-V tree and 2/2 via the H8/300 tree, but really no preference from me as long as they get upstreamed. ;-) Thanks, Andrea > > Thanks!