Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp485029imb; Fri, 1 Mar 2019 06:06:44 -0800 (PST) X-Google-Smtp-Source: APXvYqzNfDjyyrS4KS5fbACM30LdWgLZA1XeLcaawVIIJjZlzpXv2aUoDji+Ee9SWNtW5qJsqHLq X-Received: by 2002:a63:d5f:: with SMTP id 31mr5006458pgn.274.1551449204110; Fri, 01 Mar 2019 06:06:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551449204; cv=none; d=google.com; s=arc-20160816; b=QhTatmQeF5qjcQR1NqhPR3MT/RwxKRqk+d9Kn8mg8uWm3ERbUq9aFqyno4O/Xm9LMA 8+181ljO8qlW4TUq/ADTEqIR2XOZDzQGCpgaTcro3h3H0aHKe4YCzIRICLGKdlXvOZkE V5yX7IcaJEgiV3ZBNGqUtFAWanfJ2Dgmzm18fgCjbS8Iokv7iCUXYWm6XnReYo3PXONh 0/oZzsk2IS6+LudpjkJcrgiFF8ml016T1Owe1yhb7EYlPydHxzE5sjgkJ3EvtHx67YVt Ybf8WTbOlBcoYKbk53CqlTglcPSEAbIqg2RIjqyFr0b6Gd6XXSclHwBrvioVuk/up984 rOxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=Exuq9m1aRRtbUCKmD4h0+Sn//AtTZVYZJkrkFd3frM0=; b=Ois+V2o3xRn29aYiQGdDtXX1yqwf+/CGC3pA7OpX8YD6eVlh3Qff9HWQcLWaH3KPkj bi5ql3q2hvjH0vHN/cLwKUBdLa2uLCRxb0xVjfXy6Yu//cEeT8NMhxoK5sy23poK7O3m m5DSaPvj8DXXAwNpQICu/S8J9cT/V3gL6J5WB2DUjC+8fbBKQAm+/CTEArs32UADhwhe arXCwpOnPlR8ZCFIkTg+S1os11XRpNnDjGjgN1zJHsG6ywu5aDMq65t/XGfjZeqF3AEj oJgRjNghLkyu5q/pPDvSB9qaYaIzmA7L4BB+H8/OTJfRng+L7HkNq5aLjPbTIKFBBHWo +f+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 b17si9953439pfm.57.2019.03.01.06.06.28; Fri, 01 Mar 2019 06:06:44 -0800 (PST) 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; 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 S2388258AbfCAOFZ (ORCPT + 99 others); Fri, 1 Mar 2019 09:05:25 -0500 Received: from foss.arm.com ([217.140.101.70]:36180 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388627AbfCAOFG (ORCPT ); Fri, 1 Mar 2019 09:05:06 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 936641C2B; Fri, 1 Mar 2019 06:05:05 -0800 (PST) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4EAD03F720; Fri, 1 Mar 2019 06:05:02 -0800 (PST) From: Will Deacon To: linux-arch@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Will Deacon , "Paul E. McKenney" , Benjamin Herrenschmidt , Michael Ellerman , Arnd Bergmann , Peter Zijlstra , Andrea Parri , Palmer Dabbelt , Daniel Lustig , David Howells , Alan Stern , Linus Torvalds , "Maciej W. Rozycki" , Paul Burton , Ingo Molnar , Yoshinori Sato , Rich Felker , Tony Luck Subject: [PATCH 18/20] i40iw: Redefine i40iw_mmiowb() to do nothing Date: Fri, 1 Mar 2019 14:03:46 +0000 Message-Id: <20190301140348.25175-19-will.deacon@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190301140348.25175-1-will.deacon@arm.com> References: <20190301140348.25175-1-will.deacon@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mmiowb() is now implicit in spin_unlock(), so there's no reason to call it from driver code. Redefine i40iw_mmiowb() to do nothing instead. Signed-off-by: Will Deacon --- drivers/infiniband/hw/i40iw/i40iw_osdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/i40iw/i40iw_osdep.h b/drivers/infiniband/hw/i40iw/i40iw_osdep.h index f27be3e7830b..d474aad62a81 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_osdep.h +++ b/drivers/infiniband/hw/i40iw/i40iw_osdep.h @@ -211,7 +211,7 @@ enum i40iw_status_code i40iw_hw_manage_vf_pble_bp(struct i40iw_device *iwdev, struct i40iw_sc_vsi; void i40iw_hw_stats_start_timer(struct i40iw_sc_vsi *vsi); void i40iw_hw_stats_stop_timer(struct i40iw_sc_vsi *vsi); -#define i40iw_mmiowb() mmiowb() +#define i40iw_mmiowb() do { } while (0) void i40iw_wr32(struct i40iw_hw *hw, u32 reg, u32 value); u32 i40iw_rd32(struct i40iw_hw *hw, u32 reg); #endif /* _I40IW_OSDEP_H_ */ -- 2.11.0