Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4212044pxb; Mon, 8 Feb 2021 10:29:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJx16Stwe4wquyBT8uSKTAJsY2xsg1Zkak1YaNBxR5+yOEvHnDgwBkD62+NhhiRt9Uo4iMAR X-Received: by 2002:aa7:da19:: with SMTP id r25mr18440819eds.1.1612808948955; Mon, 08 Feb 2021 10:29:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612808948; cv=none; d=google.com; s=arc-20160816; b=XbV/8I6d4D57tDLz1FpsMWK3m5Dfge4cjf8+27CEzVWXNUia/hDW8yV+p4L6wl2Gpg sRxCWDmEUaKsR9lE5R1Fq/CoG1t+yGobYsc4XGPlbNF8LA548j4taqjpBS43RboPPdsE SXziMXvo8kaDe/uh25Sx5fgRbyjjwo/yVt6VvuSEgBZXViVsC53fIPfJ1RbLPhdMXAAL +LkHyE28jAXlxunRTXu7NSGttiVGnL87n2y+kluP4oeDZdvIAfpGwuQnKz3OIJ2JBnWz VKQ0dOof6E3agEJ0OJmOkb4J3V33p471dwEwQPY6dunEojh0wVywMmCMtHjcLO+PngGp k/PQ== 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=28L1mVhqz3NzVj3XXyfbkgAQkuoWPPFGMCikEFKRaEg=; b=GLDqjy5RNm7CqWjzLFen/KMP0Uo+kvZNHidBw40Smi5sYOvczZu/o21K45D+f5d1sx gUxYnYBycdAv3NJ+vjuxd5DgqDvldAvxmUDYqTUm2jHm+bnrp4M7PxGtvOAuPOqK+cpE A5B/7JQph/8zMr4h0ptdcJJako8FsqXlZYMriAesrSf3E7tPeCCBTGLKSGlVAQqztjDn 3XTw/iE7h6moq2FZI3rbWaz0gAXbjfcCv2sUj5EAxKNHbP+IofLLqxexBUCl4rvSo/Zq ZQ3yWMuz4lIfkU6dzU8w7HRZkwHkPmyhwHwBJMMSskHZ10BXhPvCqkatj46rGvN6n2/h SmIw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si12202377edx.54.2021.02.08.10.28.45; Mon, 08 Feb 2021 10:29:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235703AbhBHS1v (ORCPT + 99 others); Mon, 8 Feb 2021 13:27:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232049AbhBHP6P (ORCPT ); Mon, 8 Feb 2021 10:58:15 -0500 X-Greylist: delayed 66354 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 08 Feb 2021 07:57:34 PST Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BA6DEC061786; Mon, 8 Feb 2021 07:57:34 -0800 (PST) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 90BE19200B4; Mon, 8 Feb 2021 16:57:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 8AC289200B3; Mon, 8 Feb 2021 16:57:33 +0100 (CET) Date: Mon, 8 Feb 2021 16:57:33 +0100 (CET) From: "Maciej W. Rozycki" To: Christoph Hellwig cc: Thomas Bogendoerfer , Greg Kroah-Hartman , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: Re: [PATCH 5/6] driver core: lift dma_default_coherent into common code In-Reply-To: <20210208145024.3320420-6-hch@lst.de> Message-ID: References: <20210208145024.3320420-1-hch@lst.de> <20210208145024.3320420-6-hch@lst.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 8 Feb 2021, Christoph Hellwig wrote: > diff --git a/arch/mips/mti-malta/malta-setup.c b/arch/mips/mti-malta/malta-setup.c > index e98cc977a735b2..f8c9663e7faa10 100644 > --- a/arch/mips/mti-malta/malta-setup.c > +++ b/arch/mips/mti-malta/malta-setup.c > @@ -143,7 +143,7 @@ static void __init plat_setup_iocoherency(void) > pr_crit("IOCU OPERATION DISABLED BY SWITCH - DEFAULTING TO SW IO COHERENCY\n"); > } > > - if (supported) > + if (supported) { > if (dma_force_noncoherent) { > pr_info("Hardware DMA cache coherency disabled\n"); > return; I think this has to go with 1/6; otherwise compilation breaks between then and now AFAICT. Do you need to have this verified anyhow? I only have a non-coherent 5Kc Malta though. Maciej