From patchwork Fri Feb 22 18:04:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 159048 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2024629jaa; Fri, 22 Feb 2019 10:05:19 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib5J6ArnSMWO2zmr73US96Ydk4KZdv8wbo4U/hQXJnug2hVE9Jw+CsYCR36VLCDWqiXEvuk X-Received: by 2002:a63:7f46:: with SMTP id p6mr5182255pgn.54.1550858719283; Fri, 22 Feb 2019 10:05:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550858719; cv=none; d=google.com; s=arc-20160816; b=kZO4hqYx7EWnmRNLal8uEuR3azvIdeQplZFxEsx6aXErEtjqivGwtfWgRWLWPjmlvy wzxUYV9GULFqxzDB//5OnHSAmFHEC3tCYGAXgCkcFUJuehOkPsHLcLIpoe20nCye0cJs lcMuPrVrBZtbo2K6nRd6GoyrB3fkZBTMAugOqRi6RadODDq7UHqnx0kkzW6pFWwnAdBf iBTkM0OoGVwLoZCI9P+uVcEHwAqxJ+TocAajiHt/RWVAZSQeYkhEP8dc2JZBaHTMImky 9j8mI8co5H26Mi/GmZrfxqWv8gj2Cgxy4+uPZ010mPZk4YG1Kl8Oo80fuZjyKpA7dYLx t4zg== 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 a1si1785873pgw.142.2019.02.22.10.05.19; Fri, 22 Feb 2019 10:05:19 -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 S1727638AbfBVSFC (ORCPT + 32 others); Fri, 22 Feb 2019 13:05:02 -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 Reviewed-by: Palmer Dabbelt