Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp596905pxf; Thu, 11 Mar 2021 10:12:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDLPHG3UfcTVeY0n1dJeCgSzXMZCEKHLtSC7mS7ORiEPZ4Q2hvWbLBvdXXSKlx8vD7AqoT X-Received: by 2002:a17:906:8147:: with SMTP id z7mr4103892ejw.436.1615486348231; Thu, 11 Mar 2021 10:12:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615486348; cv=none; d=google.com; s=arc-20160816; b=Y97sMk6Gr/dzCjrmLDhpGREDu3i4WWt3le6feJnFrQCnjcEQpFolXNPeJ8CluNiVAP 0yGMImBF6LF5/iD7B2Py7vZ8PcIweqRrk0kXjIPvDUSr2VWcTRui6Je5iAqXMLmmfqpO pMsV0cqDeCHNUOKx9yDduDthL0b7ly/CcbRG3u4Oqt2qHs9Pr1hxAXybSovMLuNMWO7a 7WopBZwQyUQu8QLd/v2sprVRvkbjxf0KiJNBjLUx1OsLTb6Smuxm9B/SrU35CAwS/whD XnXhavPDKpspiqLRCS4pCjHEwevUuKjo/P2NHkxy7cWREmzu7l1tm3RFX5u64szKUU84 gXEg== 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=tmt8DXL/NkkK3fqsKzp1sa5x/enHlRdNBSlE6sT3Ol4=; b=LsBnLa7yz0ZlelM6ySGdcUWRWreNeoyEU35KclmA2y1UWHKABPaD6zdQfNPGAgkUbP SrzUl9pUOcgUclvB8O++hAnFG6NYj9ZdICrOsrOCSNN/3HyxkitT5WgPd/5z9JAN7kHX uWmIc5YfJwQ/Xq7WF5av/CfaG8jy49udKMEDl8fCH8D+jsBUhryjBazt6BY5Zqfg47qF 8qYj/6SWT1Rt8xBx+YW//UR1RZz5SX/SvhwfaoOQPnsQObY8AR4X4BuFEzOzKsmt3sBx khDH8IGHW3KQ6gN2SpRMynVi7yHHE+dsPStFL2ekrR/Hp5swLrk4edJJ8vVbwR5ruJfN lnxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Ew/NIGH8"; 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 n22si2110428ejk.360.2021.03.11.10.12.04; Thu, 11 Mar 2021 10:12:28 -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="Ew/NIGH8"; 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 S230233AbhCKSLH (ORCPT + 99 others); Thu, 11 Mar 2021 13:11:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:55496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230300AbhCKSKf (ORCPT ); Thu, 11 Mar 2021 13:10:35 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 773FA65018; Thu, 11 Mar 2021 18:10:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615486234; bh=tmt8DXL/NkkK3fqsKzp1sa5x/enHlRdNBSlE6sT3Ol4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Ew/NIGH8ca6hopkG3U8b9r6qb4RL4623K9fly5yItiT+8ubil19Ek3W1I9uzZkXaV SS/wUSc4qF2N/+CEdEEjiosqyXdPlQDV6gmsZyGoYiofROwQuELtuvpXLsg41ZUl+I zTxb4YH7gGW2lP+bk0UmqouHE1A4Ct9j5CBAZIb/EyFukR+wc5+426TEG3xvSqlTNs zrISTJo7Bcn1PT6Tt7VvH6wBUv/FOVlzZjPhhFRyf24OBWtBR8UkBxZNOxnGayUlL3 qdG/KlD2b/NUv3xynLWzvL7xQCfBHPzi0d+rEqHmljXgXkL98TRQxiPn6hmAPOYpfu pO74we79VATfg== Received: by mail-ej1-f43.google.com with SMTP id e19so48236776ejt.3; Thu, 11 Mar 2021 10:10:34 -0800 (PST) X-Gm-Message-State: AOAM532gIRH9bm3Fo+i0EbsHlRjhxiPQWK5SP7fJE/Yz0D30C1g5zyPH LQhMi4sqcRq0QAngd7NwMBkwIHB/s3Zjf6bAFg== X-Received: by 2002:a17:906:c405:: with SMTP id u5mr4327186ejz.341.1615486232876; Thu, 11 Mar 2021 10:10:32 -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> <332c0b9a-dcfd-4c3b-9038-47cbda90eb3f@marcan.st> In-Reply-To: From: Rob Herring Date: Thu, 11 Mar 2021 11:10:20 -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 Thu, Mar 11, 2021 at 9:48 AM Arnd Bergmann wrote: > > On Thu, Mar 11, 2021 at 5:10 PM Rob Herring wrote: > > On Thu, Mar 11, 2021 at 2:12 AM Arnd Bergmann wrote: > > > On Wed, Mar 10, 2021 at 6:01 PM Rob Herring wrote: > > > Ok, makes sense. > > > > > > Conceptually, I'd like to then see a check that verifies that the > > > property is only set for nodes whose parent also has it set, since > > > that is how AXI defines it: A bus can wait for the ack from its > > > child node, or it can acknowledge the write to its parent early. > > > However, this breaks down as soon as a bus does the early ack: > > > all its children by definition use posted writes (as seen by the > > > CPU), even if they wait for stores that come from other masters. > > > > > > Does this make sense to you? > > > > BTW, I don't think it's clear in this thread, but the current > > definition proposed for the spec[1] and schema is 'nonposted-mmio' is > > specific to 'simple-bus'. I like this restriction and we can expand > > where 'nonposted-mmio' is allowed later if needed. > > That sounds ok, as long as we can express everything for the mac > at the moment. Do we need to explicitly add a description to allow > the property in the root node in addition to simple-bus to be able > to enforce the rule about parent buses also having it? IMO it should not be allowed in the root node. That's a failure to define a bus node. Also, would that mean your memory has to be non-posted!? Rob