Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6354807imb; Fri, 8 Mar 2019 15:57:39 -0800 (PST) X-Google-Smtp-Source: APXvYqyoma/8IaYdsBBiUEgxWYVSzvoLOdO1lIYCAEiQi4ZMObNsb/SHQUYwKbcQRknBbOju3uNF X-Received: by 2002:a17:902:b097:: with SMTP id p23mr21333132plr.36.1552089459101; Fri, 08 Mar 2019 15:57:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552089459; cv=none; d=google.com; s=arc-20160816; b=ZI0c6ev/Su1NZSKzhKmN+PsCqB1WZIy5D/xF9wz2gNScKpmYYVaODfyXHpnBdFFb5D U8hUHBi0L4xuC1s/UD0Y5VNlHFImeQulfDotg8HQbdX8HqA7acK3VjQQGspWt00fDowa Yi7MpuktKPBMFJVueVOmyCEOoesfmjBLCgR72JaiQP8PdTaUmMKkbkbKUSYAI805xTPg WE1aCSGQYa9QghwsUpHBFjwVrqI2Ct7yRz9YHB0ov3QkOX+E3Hv2v1MJZEiC6ToNkR8T LLc7XLxtz7LMSEgFMm3D1ExVsPi4XuLPR/LBBuakM2urEnw7cB0Ndm/Tc8U2v3mhsAA/ Th7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=wuVPIubxH0IVZlKfq1GfU72lQcJLj07PShCKFzJKmuQ=; b=xhn65QQz4lg11ocyhNu2ew/yrP3f1WBBkzKRYfRRe/ZtO825batZKSUEFO0J7EBhVv fd1xgYKgSgO+InqKWUTgxZH7fTQx6UVMamBN8fKcNELYzIBsd6ciCgM7pODg2CCvsmO0 kO7OTDBP4dnYR+3/ZMTkwItDjQeI5LGYStvUakXf+bxZwjGuQJqTaOO1ThBpjeDjHna8 c3C4Kx3YBnbbOy+5hWi4Qq0BqlHV4RpPf7CdJTSnYh2lepLOBWcsLgZhngHUXPO21K8L Yn5vbTYJsYMv2gxAiRHSy/84fqsC68y0tzQKRvTKfVw6EsEEETKpQnxIDOfNcf97NSsU P+rQ== 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 c20si2656560pgb.307.2019.03.08.15.56.56; Fri, 08 Mar 2019 15:57:39 -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 S1726379AbfCHX4H (ORCPT + 99 others); Fri, 8 Mar 2019 18:56:07 -0500 Received: from eddie.linux-mips.org ([148.251.95.138]:58218 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726094AbfCHX4H (ORCPT ); Fri, 8 Mar 2019 18:56:07 -0500 Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S23993001AbfCHX4D42p0e (ORCPT + 1 other); Sat, 9 Mar 2019 00:56:03 +0100 Date: Fri, 8 Mar 2019 23:56:03 +0000 (GMT) From: "Maciej W. Rozycki" To: Alexandre Oliva cc: Aaro Koskinen , Tom Li , James Hogan , Jiaxun Yang , Huacai Chen , Ralf Baechle , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC] On the Current Troubles of Mainlining Loongson Platform Drivers In-Reply-To: Message-ID: References: <20190208083038.GA1433@localhost.localdomain> <20190211125506.GA21280@localhost.localdomain> <20190211230614.GB22242@darkstar.musicnaut.iki.fi> <20190217235951.GA20700@darkstar.musicnaut.iki.fi> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Mar 2019, Alexandre Oliva wrote: > > Does your platform use `war_io_reorder_wmb'? > > Err... I'm not sure I understand your question. > > It uses it in __BUILD_IOPORT_SINGLE within the expanded out function, > given !barrier, but you already knew that. > > Did you mean to ask what war_io_reorder_wmb expand to, or whether there > are other uses of war_io_reorder_wmb, or what? Umm, my question was ill-formed, sorry. There's a convoluted history recorded for that macro in the repo and it could be that it can be removed now that we have proper barriers in place, except possibly to avoid the Octeon Errata Core-301 (whatever that is). Anyway I meant: does `war_io_reorder_wmb' expand to `wmb' on your system? Maciej