Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3029031imj; Mon, 11 Feb 2019 12:34:41 -0800 (PST) X-Google-Smtp-Source: AHgI3IYZx3+cmEawL0O1yJvhRAaYfSL85hxtYL9n8Jt70cELvn17lsx8kef3Pcyr7z5VKBHLXI1S X-Received: by 2002:a62:e086:: with SMTP id d6mr47669pfm.247.1549917281423; Mon, 11 Feb 2019 12:34:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549917281; cv=none; d=google.com; s=arc-20160816; b=ZCjNfg3f9/RoywZLss8omukVKUSh1DcmzITcJosw9KgYUV6bkhOSlLDlYBxfQ8oW/7 YcQx1VZVPR8d6O8Q389HQfAhAYbxhQ5FXdAQ1cjrhYIc8Ryyci3V4lu7OXYc1Myu3AD2 t+wqVIRU/KmbJvWGA47V1cA6ponD1W9Z8cFBO4CEI+v0IcjlNmkEo3sVRyQ+GsGbgzkI OHkeCg3C5/nImReYfAqyW19S2IHn9Sisp/2/eBhYWcQVUw/tASQa/15whhh5SZbJR6O3 x168AtPjhWLNFJXLTV/3CmmGktlHRBmGOEEd/vxCbycu4uNsTa5ena8LozrRaMEKyX1h RPFQ== 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=pnx+mUOUKvf3a2YfS2d6ilOtfRyJToFSquQ7H5knEhw=; b=vw1QWvWUXxWK6jajJ5mtTWswERFmHL6+UhF3OFArYgiKFv/XvDljkCoAVY1+ixPl29 gqkjJy/PEF6KvpRppZ3Deqy33JDP+Cfy2BhjrnGizHSHIHWk1xzpCq+z5iavRu2turHq wO76ebJpm94zu58G2AF9mcyD4MQ2+KoqkO/rw/Ee2jq1tvY0TDddcXcH+bvZP9aGIsrt 2foWVeu4LD3wmD6wQZAyrHNMNt6zwNkS4nGWwqV2GJiarD+y1J/huu794IZYhaEnS/Dz bm0fXIGAWH/gmuEaV5jMhYk1b4gljrjsehGpFWemCPB14lxWYySdrdF17o2OQPnDusL2 fwzg== 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 n20si1772482pgb.195.2019.02.11.12.34.25; Mon, 11 Feb 2019 12:34:41 -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 S1729374AbfBKRpv (ORCPT + 99 others); Mon, 11 Feb 2019 12:45:51 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:54870 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728022AbfBKRpu (ORCPT ); Mon, 11 Feb 2019 12:45:50 -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 2AE43EBD; Mon, 11 Feb 2019 09:45:50 -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 E22B03F675; Mon, 11 Feb 2019 09:45:48 -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, Will Deacon Subject: [PATCH 0/2] Ensure inX() is ordered wrt delay() routines Date: Mon, 11 Feb 2019 17:45:42 +0000 Message-Id: <20190211174544.4302-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, Ordering port read accesses against non-memory-mapped clocksource reads can require funky dependency code in conjunction with memory barriers. This isn't possible to implement with the asm-generic definition of io.h, since the value read from the device is not passed through to the underlying barrier macro and therefore the dependency information is lost. This series passes the value through and hooks up the fence on arm64. Will --->8 Will Deacon (2): asm-generic/io: Pass result on inX() accessor to __io_par() arm64: io: Hook up __io_par() for inX() ordering arch/arm64/include/asm/io.h | 1 + include/asm-generic/io.h | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) -- 2.11.0