Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3F4DC636D7 for ; Tue, 21 Feb 2023 17:58:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231366AbjBUR62 (ORCPT ); Tue, 21 Feb 2023 12:58:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231221AbjBUR6Y (ORCPT ); Tue, 21 Feb 2023 12:58:24 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 711C82A6E0; Tue, 21 Feb 2023 09:58:17 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id AE4E268B05; Tue, 21 Feb 2023 18:58:13 +0100 (CET) Date: Tue, 21 Feb 2023 18:58:13 +0100 From: Christoph Hellwig To: Jiaxun Yang Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, tsbogend@alpha.franken.de, mpe@ellerman.id.au, paul.walmsley@sifive.com, palmer@dabbelt.com, robh+dt@kernel.org, hch@lst.de, m.szyprowski@samsung.com, robin.murphy@arm.com Subject: Re: [PATCH 4/7] dma-mapping: Always provide dma_default_coherent Message-ID: <20230221175813.GC15247@lst.de> References: <20230221124613.2859-1-jiaxun.yang@flygoat.com> <20230221124613.2859-5-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230221124613.2859-5-jiaxun.yang@flygoat.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 21, 2023 at 12:46:10PM +0000, Jiaxun Yang wrote: > dma_default_coherent can be useful for determine default coherency > even on arches without noncoherent support. How?