X-Received: by 2002:a17:90b:3808:b0:1b6:76f:af50 with SMTP id mq8-20020a17090b380800b001b6076faf50mr2217734pjb.129.1645503950377; Mon, 21 Feb 2022 20:25:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645503950; cv=none; d=google.com; s=arc-20160816; b=SJGeGPmHwIwmIHUae1wUs8qKnnVmGG0llBfIap6ePjKf78XIeeS2MpNmM7SRwV2FB4 c+0gZUFQHHdb/hMuUCRRrUYzj82zPnUQsOt5LWAtXSGsNJiCqdK5jwkRcv78nwbbr6rw tW4ghCQiiqkGfg6v9+c4YBkECeoOfKXjJRenmx9QLLC068khqDb5v9tgmvggnMlyfqhX cVoh/B6IaXAoPl7dw56hy0NVGFtcq/2LgeG/V0cWZis5Pxoap3cIPHKQdBw5X50i+x0p Jwtcc8kR4KCjS6W9savLGui4XtfmcAdQIYNOY6EGzC7JwCmNjmVltYJth6GFR6HA0e4L m7kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=YkvpphPhSg/u0zyfMxkQkVw2o1DL6kMAcfUngY9kng4=; b=diIbUK+l6nCXf8fRD0BDmisgiz4JQCVAexlb/t5p4xmVtvs0LP8SO1XnEdYsFE1iJZ k8FPHeR00AbBQUzjk+SQVjv5UYS3OTzuWxesl4PvTB8jJub/PlFzyT79BRbVc3jKeQxy OPSQP8Zqt4FzXuUAAXghwO3yHE8yeUcG5+XknhsiQtTiVEfX/TIAWCTfV8kmjrLzLris 1mT2sQtmn7ZFCWLwNFie2Mm2cWeRMoWI1vA4dLbtci46IBtFYSeU6Mdc0wHLq2mw3dTI qPEYizaHdVvKcM8jNp+N4G0jPdBsGCOVikMhREf7NQoEPC8/lBwMBLblCLvBV98PKYM7 DTHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id z9si33514696ple.488.2022.02.21.20.25.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 20:25:50 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B4A6DB2D; Mon, 21 Feb 2022 20:20:36 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380899AbiBUQnT (ORCPT + 99 others); Mon, 21 Feb 2022 11:43:19 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380788AbiBUQnQ (ORCPT ); Mon, 21 Feb 2022 11:43:16 -0500 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 380B4220C6; Mon, 21 Feb 2022 08:42:53 -0800 (PST) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 79B1E92009C; Mon, 21 Feb 2022 17:42:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 6B0B592009B; Mon, 21 Feb 2022 16:42:52 +0000 (GMT) Date: Mon, 21 Feb 2022 16:42:52 +0000 (GMT) From: "Maciej W. Rozycki" To: Jiaxun Yang cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, chenhuacai@kernel.org, tsbogend@alpha.franken.de Subject: Re: [RFC PATCH 2/3] MIPS: io.h use barrier terminology from asm-generic In-Reply-To: <20220221145531.10479-3-jiaxun.yang@flygoat.com> Message-ID: References: <20220221145531.10479-1-jiaxun.yang@flygoat.com> <20220221145531.10479-3-jiaxun.yang@flygoat.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 21 Feb 2022, Jiaxun Yang wrote: > So we can share understanding of those barriers with other archs > and hopefully one day we will be able to switch asm-generic. You're mixing the ordering of DMA WRT MMIO here with the ordering of MMIO WRT itself, and this single line of justification does not explain why it is a change worth making. You're free to define additional DMA barriers if we're missing some. Maciej