Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1078743imj; Thu, 14 Feb 2019 00:34:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IaQdX446dF9FvUB58zIPkpnj6ulS77w3Yu6gcHSF3GxWxLPbk0ZtVFb/GUgJAXcfejf02Rq X-Received: by 2002:a65:4904:: with SMTP id p4mr2662581pgs.384.1550133248042; Thu, 14 Feb 2019 00:34:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550133248; cv=none; d=google.com; s=arc-20160816; b=cUhDNbWTmlUN6JhTMIL09YSmlYd1eAaXk9iN92tnh6bZuqxf6plgMnEDHCRx+4zkaD H1QbLkKHFnrkvhzMC8VKEgp1hm3qApKUN79GcfYQ5TRCMZ2Njb7hlYJAK/7Oa7cJUjQC QFQPPnmsvT06z6JzK6+geCFa2iT6EhFhnrRdV0cU0MiB0qxwCeWlBV2J6t67ztt/e1qN QUmguTWiKrB5qPZh4WXGeLJa9+YFydj2NV0m+xoEbzvnoYfygfQbdLyeYPcC4gnDBcJz JKas9KeIG1cj3zplhj6UCrHFRE2g/1x0de61w4srmhebd+H98sfiilEW4v/u5EL7X2cy hg2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=Ng61dfKvZf21WQ4BUQ+6Qiu9cjO+4ESaMC3MYTHsLkE=; b=gVKRs/j1Gw7pDgOZvlXB0VMcyV42TsRNGvdFvy46nij9ZI2HaENxPMT1f1fc7pmteG /ncfZy+F69Sv/tA/6iWr+qZvEnc8fg3jyy4uayp+nfDAZwzZwVsaM3+NZQ4+QkNgDgQP H3Q3BrONw3cIiRL6NogmQ02MZfxS0dj33umh0vU60KV8RxqoaSP2pkLsT3OAOyIf+7YA mz/9zVvqfwt4zBgW/Ja9BuBPZLqmf4RT6NPYmOiaAVoDANIcABx9HOoRLrZB2sSZ39AY AaKlvR+VrDuDqK1iaAIDSm77lSUuGM0ChQ0K8hJPfJ882tezLhW1k1kvi+y+/wZIpTgW hnHg== 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 h3si1744176pgi.391.2019.02.14.00.33.51; Thu, 14 Feb 2019 00:34:08 -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 S2391031AbfBMU7s (ORCPT + 99 others); Wed, 13 Feb 2019 15:59:48 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:36829 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726189AbfBMU7r (ORCPT ); Wed, 13 Feb 2019 15:59:47 -0500 Received: by mail-qt1-f193.google.com with SMTP id p25so4081081qtb.3; Wed, 13 Feb 2019 12:59:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ng61dfKvZf21WQ4BUQ+6Qiu9cjO+4ESaMC3MYTHsLkE=; b=I2dP9yLIiyYyRQcNlm1t5VDKDIiXd1OLiqQPw9jPl9FdHrbCq0E5aS7q2vHtWsQHso /tLIb4PmxBDKggDmAVSWl/0YZAzozlnXsWKX49w3WvtHUmvy7F3r9pSyhF0xJy3VPU6c 6EMyqF9+CRpuZIFoaHZn8atQi2VKdEmd/2QTmd1men5pFKDT9P2nXUB4UbFkTATatjti jwanPqNse4EfOhlRzR5yvuF2sx5UOHKVmizWad7J82WhCUtC+h+OF/PvI+RrXmPGIPvf CI+o69IxJCPei28HdwFNAE8noHqpxCE5IqLAUIqZfrWHtftHV/faqG0321oJ1PXvox/i uN+A== X-Gm-Message-State: AHQUAuab4TjIGL+Drm4EJTpo3fpCo1oWIKEbDVi0+CRPYD1EmIEprW/m fDzGvw//EKYggOgD+NQh7E9JIdLA0L8MMsSck/U= X-Received: by 2002:ac8:2c34:: with SMTP id d49mr123414qta.152.1550091586587; Wed, 13 Feb 2019 12:59:46 -0800 (PST) MIME-Version: 1.0 References: <20190211174544.4302-1-will.deacon@arm.com> <20190211174544.4302-2-will.deacon@arm.com> <20190213174608.GA29100@fuggles.cambridge.arm.com> In-Reply-To: <20190213174608.GA29100@fuggles.cambridge.arm.com> From: Arnd Bergmann Date: Wed, 13 Feb 2019 21:59:28 +0100 Message-ID: Subject: Re: [PATCH 1/2] asm-generic/io: Pass result on inX() accessor to __io_par() To: Will Deacon Cc: linux-arch , Linux Kernel Mailing List , andrew.murray@arm.com, Catalin Marinas , linux-riscv@lists.infradead.org, Palmer Dabbelt , Albert Ou Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 13, 2019 at 6:46 PM Will Deacon wrote: > On Tue, Feb 12, 2019 at 12:55:17PM +0100, Arnd Bergmann wrote: > > > For all I can see, this should not conflict with the usage of the > > same macros on RISC-V, though it does make add a significant > > difference, so I'd like to see an Ack from the RISC-V folks as > > well (added to Cc), or possibly a change to arch/riscv/include/asm/io.h > > to do a corresponding change. > > There's already a comment in that header which says that the accesses are > ordered wrt timer reads, so I don't think anything needs to change there. > For consistency with the macro arguments, I could augment their __io_par to > take the read value as an unused argument, if that's what you mean? Yes, that's what I meant, I should have been clearer there. Arnd