Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2657094pxb; Tue, 9 Mar 2021 07:50:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrDJ+S57P9cXPAiTWDvGRvFHgug64j7GMcE4EshgyMG4qykPhH8+23nqA58ZrQb2EhuV9p X-Received: by 2002:a17:906:e84:: with SMTP id p4mr20727376ejf.30.1615305027247; Tue, 09 Mar 2021 07:50:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615305027; cv=none; d=google.com; s=arc-20160816; b=LU0KSjmJHkOHVDKtQLeFmgnmkpgRE9zJktxrKsu0bhovKuuogXHn/k2lVfKESpfZXL BU28VPhBmJnmKSD2Z6SRGZRK4Vhm4fdzjRtwnQiGwsy47qYtus+x2gr20s7u+E5Qvh7z hb1fLZARniHjR5SJdjTFF991ap7KIE9CQzmbxzgiSG67JEdsIRYcDYVelXUjWwvB/0Qo FQgGolXIN81TsNo1QUll2FTgg4c3RGoe1ATxTT9I6gXU1pCd+RFOEH1w6THtyGaRWuxt JIz26Y+qB5wRfAf6gQQt4ICEyrosonyGoXBBvVE2YJeLS9q64tXzcFM1Yrll5OA3C358 ttEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=BHEDDhLgphZzaj7IBNRHUe5wpWfdaAtzCDRMEm59Td4=; b=usx2OKoi+I9+QH/njXx5Z+HpHb05CktecLSOP5BoUNCZ0tvOJeKUH1h3sZzzW+03Qk QQiLo6IkoPQ7spMJTmXs4YX1Gm85G/rfsi5C+hl9QfAZK9HWpaiyEloRvqCC6VKi0ZvF M1OrnOpmIgzTAqtwE5q5ZrpRcUeolGaQfYGuqmKbgd4dmRxWc/AHco4h2HbC9KfZ8DIz 1gLDMxE2gl++b+f7q8lG5rGLqN2iOg24hUCSm2TYURv1EACjINtPLvOnEhu6L1dp9rkW M1NW0eZO5HEpWDAXCHNVViclpMI+yp2MmIKwuSuZCYLrVe3tkaCWApQyw/xCpneuMXb6 57qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WV8BkwWZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si10701574ede.30.2021.03.09.07.50.04; Tue, 09 Mar 2021 07:50:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WV8BkwWZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231811AbhCIPsj (ORCPT + 99 others); Tue, 9 Mar 2021 10:48:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:51566 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230478AbhCIPsb (ORCPT ); Tue, 9 Mar 2021 10:48:31 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 83B2F6525F; Tue, 9 Mar 2021 15:48:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615304910; bh=BHEDDhLgphZzaj7IBNRHUe5wpWfdaAtzCDRMEm59Td4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WV8BkwWZHuegaK421aKCzu65nlfF3NR1LiCQEch1R/BhBMgYtEAKwqpqZ0oAa0FKU Vqnu4Lz1RgfkGn+3MfHh1WU1PopTrZjaEjtv68Ryzzkf0H2cJuwcLBomHX4MCrsLNi Lpi1WH1M6jxsHhhih0memdEl5dnmxjx/ffZJGrYTxDeK8DIetC14jnHXQNGbrntNC4 uTU1k+WXl9F4whkRJxEj5pqibQKgz9Q4/T9TcnVILkLUDkWciHGdYl+tkL0x392xml uMblIyAk3vLeG1w/tHr+xlhyHF6qT+PYGYh9Ravu3dih1d3RAnDrIV9imALbVrDSKN W+73kDyiaZI3A== Received: by mail-ed1-f48.google.com with SMTP id dm26so21029195edb.12; Tue, 09 Mar 2021 07:48:30 -0800 (PST) X-Gm-Message-State: AOAM532Z53VYnE0rCbCVfuxALHWJi7FvBYrIkKbiH0Ar1Y81PrScTMbU DKCNeLJkeaH897DPdhciT1bZJxEFIUzZL+wv3w== X-Received: by 2002:a05:6402:c88:: with SMTP id cm8mr4880507edb.62.1615304909030; Tue, 09 Mar 2021 07:48:29 -0800 (PST) MIME-Version: 1.0 References: <20210304213902.83903-1-marcan@marcan.st> <20210304213902.83903-13-marcan@marcan.st> <6e4880b3-1fb6-0cbf-c1a5-7a46fd9ccf62@marcan.st> <20210308211306.GA2920998@robh.at.kernel.org> In-Reply-To: From: Rob Herring Date: Tue, 9 Mar 2021 08:48:17 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFT PATCH v3 12/27] of/address: Add infrastructure to declare MMIO as non-posted To: Arnd Bergmann Cc: Hector Martin , linux-arm-kernel , Marc Zyngier , Olof Johansson , Krzysztof Kozlowski , Mark Kettenis , Tony Lindgren , Mohamed Mediouni , Stan Skowronek , Alexander Graf , Will Deacon , Linus Walleij , Mark Rutland , Andy Shevchenko , Greg Kroah-Hartman , Jonathan Corbet , Catalin Marinas , Christoph Hellwig , "David S. Miller" , DTML , "open list:SERIAL DRIVERS" , Linux Doc Mailing List , linux-samsung-soc , "open list:GENERIC INCLUDE/ASM HEADER FILES" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 8, 2021 at 2:56 PM Arnd Bergmann wrote: > > On Mon, Mar 8, 2021 at 10:14 PM Rob Herring wrote: > > On Mon, Mar 08, 2021 at 09:29:54PM +0100, Arnd Bergmann wrote: > > > On Mon, Mar 8, 2021 at 4:56 PM Rob Herring wrote: > > > > Let's just stick with 'nonposted-mmio', but drop 'posted-mmio'. I'd > > rather know if and when we need 'posted-mmio'. It does need to be added > > to the DT spec[1] and schema[2] though (GH PRs are fine for both). > > I think the reason for having "posted-mmio" is that you cannot properly > define the PCI host controller nodes on the M1 without that: Since > nonposted-mmio applies to all child nodes, this would mean the PCI > memory space gets declared as nonposted by the DT, but the hardware > requires it to be mapped as posted. I don't think so. PCI devices wouldn't use any of the code paths in this patch. They would map their memory space with plain ioremap() which is posted. Rob