Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp1730118imc; Fri, 22 Feb 2019 10:05:59 -0800 (PST) X-Google-Smtp-Source: AHgI3IaEY70AkWe6syLicpuKflUvyivmjbwF9ObpsXj494ZOHQmiR+Vj3J+4QEFKUN6Gm9fYlbPM X-Received: by 2002:a63:4e1a:: with SMTP id c26mr5120446pgb.175.1550858759309; Fri, 22 Feb 2019 10:05:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550858759; cv=none; d=google.com; s=arc-20160816; b=DkCi57Fvn/g+cehmOErqi2rwgR3FSHY4Y7PitIp/0yq2thepimcuq3WZlrv/A6jbqS wqq7eNGiJdPd/EP4gEIn/mnf6XDYwwdmHKDH63/dkEbyPHVINPH9iPJDYC0KPNip/cFU au0ZXEbjUZtG7z63VS+dSmUhmgXIr9IjzKzhc8X7xIu1Hy0dyC8UsUSZ+t35oxBwBP7p YofwYW+fvYe1GcICd9NPKYz28IG2en8hw/b8uEpLQAQlwP7nLdbqRd6z8ka+ed9XWKAS /DUpUqogNHbjgJJZ+xor/SZJP6MzomXR19x1ma3G0pNHC0BE9+ybV953OqE2ShO3JbNo 94Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=qYe4vs5JCZQ5kB5jlIDcmmzKkgayeeizpBVoC0O+Bn8=; b=xR4EBzeSgAOwWYlxAKeRtDm55RYMoyCjmHbLMzNbqweJ2gHS3DI9kJmto/i+svDMFM /NsSlNrhXRan87JTf/2qBMqJW5hN+1HtgQyflaT4XSsC6OO6x1YSY+hS1jliT+zIIS5h U7nP9Lg10zgSHjIjc9iYVzq8BBhP47NBGtJ3OtmY3gVbd8q30G/Jgla01FuzqmrXgAgX Ac/c1RH/5wSGvV7WIa3gw5nAZDTuoxWFETxvAXNLKPP4AiMjCdffcCXCPq/8ccqIjOV1 boh32h4CgzFy8cau+3bppdf9ht6Y9aEpWrjndQoe1PXp/UqWqI7OJZ+kOusEWOOacfWV nVGQ== 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 d7si1916915pgb.116.2019.02.22.10.05.43; Fri, 22 Feb 2019 10:05:59 -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 S1727631AbfBVSFB (ORCPT + 99 others); Fri, 22 Feb 2019 13:05:01 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:38146 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727510AbfBVSFA (ORCPT ); Fri, 22 Feb 2019 13:05:00 -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 B6FED15AB; Fri, 22 Feb 2019 10:04:59 -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 32DC43F5C1; Fri, 22 Feb 2019 10:04:58 -0800 (PST) From: Will Deacon To: linux-arch@vger.kernel.org Cc: linux-kernel@vger.kernel.org, andrew.murray@arm.com, arnd@arndb.de, catalin.marinas@arm.com, geert@linux-m68k.org, palmer@sifive.com, Will Deacon Subject: [PATCH v2 0/3] Ensure inX() is ordered wrt delay() routines Date: Fri, 22 Feb 2019 18:04:51 +0000 Message-Id: <20190222180454.5992-1-will.deacon@arm.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This is version two of the patches I previously posted here: https://lore.kernel.org/lkml/20190211174544.4302-1-will.deacon@arm.com/T/#u Changes since v2 include: * Incorporate riscv changes from Palmer * Update macro definitions as suggested by Geert * Extend to cover non-port reads via __io_ar() as well Feedback welcome, Will --->8 Will Deacon (3): asm-generic/io: Pass result of I/O accessor to __io_[p]ar() riscv: io: Update __io_[p]ar() macros to take an argument arm64: io: Hook up __io_par() for inX() ordering arch/arm64/include/asm/io.h | 1 + arch/riscv/include/asm/io.h | 36 ++++++++++++++++++------------------ include/asm-generic/io.h | 20 ++++++++++---------- 3 files changed, 29 insertions(+), 28 deletions(-) -- 2.11.0