From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1677CC48BC2 for ; Mon, 21 Jun 2021 16:28:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E15DB6141F for ; Mon, 21 Jun 2021 16:28:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E15DB6141F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tApI2hMC9VGN+Y5OE3cp80/PJc7K/tIB4YiJK7/bDls=; b=McVLtx5LAJ0ZCe 7FqfXvKu9XCtxVHxPj/YoCznCVO97AZQ4caEgG9L20K3sIX4R5fjBhahlTA2GSf0igG5ZpH7uEQ1W pum/11vZhUMctxRxFRf0fQ7JHwTxdiuiMnoU9XgJ3kEIQITfmZs4kcjJuiksGX5o9yItfCpy1FbRF W6m6AMOHijOYA5BB6suhde7FOWBqyO7X6qCZMJpHDnumkO3VWYcTTph8IbXi8BxgF2rBt8B2yb1+p zZIWZvFWRPTORkPYPuZHcY8aFOli3cJlf3jCmiw3F/knEEjaA33rA08KutXAr2XQo69G90k5bGB8s ViFO8fkrikETn8Xxz/Iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lvMlA-00470q-1b; Mon, 21 Jun 2021 16:26:52 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lvMl5-0046zr-C1 for linux-arm-kernel@lists.infradead.org; Mon, 21 Jun 2021 16:26:48 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id AFCEB613E8; Mon, 21 Jun 2021 16:26:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624292807; bh=lRzypYLHAZ1LpoZ+fPjQpJhx3zKLof3FRMUexqaGjMc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VgXeWq9A6Yt3v8uTOWFLb5OZY7eNCfcrDbpPo74/Z3tAc7FdTHdlY9hC07jFpA53J 3m3ycDp/72039zuNGV6cvV64pp42H9tmFxmqaBm/lj3ydvcqFJEh4DqOUoKIAtKU5Y p++VV9TKTCTXRhKxY5tuOdmSkEQgWLv0e1grCQTDFoOnyVenVowrdyFijHPYOpA5l9 /WjIc0c+6449iVM4i1uNS5C+K4mDRcl+kt3fE1G1Ws0cGCp8GD1UGmOo2i2LixPby3 mArfZFQlJHzSA6CvRlj73I0Ir9H1gLGWxUVtIclMn8be8jMbr+OLhfgKcHaQmcHadI zXAf0b5FpX+AQ== Date: Mon, 21 Jun 2021 17:26:42 +0100 From: Will Deacon To: Frank Li Cc: Catalin Marinas , Zhi Li , Shenwei Wang , Han Xu , Nitin Garg , Jason Liu , "linux-arm-kernel@lists.infradead.org" Subject: Re: [EXT] Re: The problem about arm64: io: Relax implicit barriers in default I/O accessors Message-ID: <20210621162641.GA29595@willie-the-truck> References: <20210617092744.GB6314@arm.com> <20210617172528.GA24813@willie-the-truck> <20210617174131.GC24813@willie-the-truck> <20210617214012.GA25403@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210621_092647_470738_FE1F0133 X-CRM114-Status: GOOD ( 15.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 21, 2021 at 04:11:57PM +0000, Frank Li wrote: > > Oh, interesting. Maybe this is a case where OSH vs SY actually makes a > > difference. I'm not quite sure what it means for the coherency of normal, > > non-cacheable accesses (which are outer-shareable) so that probably needs a > > bit more thought. > > > > Can you confirm that the issue *does* still occur if you use dmb(osh) > > instead of dmb(oshst), please? > > After get ARM support https://services.arm.com/support/s/case/5003t00001RuJHw, > This issue have some progress. > > Our system configure SYSBARDISABLE = 0x0, So ARM core barrier propagate to CCI-400 > > Our DMA and USB is located below downstream of CCI-400. So USB or DMA is located > in system shared domain. Only use dmb(st), CCI-400 wait for previous transaction > Complete. When dma(osh), the response is sent when snoop responses are received for > all earlier transactions. CCI-400 don't wait for previous write finish. Thanks for following up. I'll cook a patch to fix this... Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel