Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5405538rwb; Mon, 21 Nov 2022 22:37:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf7BrMNwE0PAaNSgj6TNmuBpKRCEoevfGI5qO416KbJHFEXVQ4WTDU4Q88+vgKATeWop70xV X-Received: by 2002:a17:906:2e82:b0:7ae:44b2:cb7f with SMTP id o2-20020a1709062e8200b007ae44b2cb7fmr4587444eji.437.1669099022430; Mon, 21 Nov 2022 22:37:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669099022; cv=none; d=google.com; s=arc-20160816; b=iU1C9SKs51kmPFpWE1Ttx+d/EIR1walGR72s6lyvbveQOYCR6jn2YQ1kaIuc6JI5Kn izWAcZZm0/brUu3Q6HWleUdmOGzVLfsx4Ok2BzCVDv2A4u9MypHYCm3PwWC4o16ZkEem sLYXnmFGwnAEoH+SFkFtxo5Yz4KypEG5389eKw5lQQnajin90giMEB/Xta43uNZrrZmT B1igfn6PvdCTUQairhdl2G0wbQqoJkFewABGKp7oo7VwlIrNpdrW/S7e1MSD2BukKso4 F70RbDAVfjJ7s1ITq/G4gx6DbQ/+zJPk9GCQ63HMObQyr2WJ5SM2wLBrTrbBBQa8oRNT 5OuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=rNJ48rXwEdz322gfIk9MTwY70+z3qNc3ZBvideJFTcs=; b=Q4FSFkp/l3cu7vVrf3WFUbl1hW7qdrChkXdMsA7ak68Wj2jDRH14hkdGP9402eib2I 3fH0ZxbmCstPSdt4b3QqwvTI1CZSAVqJSECfy5U53l+s/WaBQWWPB+7txZo3VxXHsZMR C0ASIwXG9/pnBxgoBHV/o3MhnGVE4hf7N4ySfd7yYBJqMUNitBv0GWGjY2xPM2roVTyn EfA0IaeW1QIjsJ9i8KAnBv/5ekQCMbr164VWgOSmUSLxWcOwZRdw1MDagwUmMuUdXmDv zwz2Xb2LOMNy5N36Vmwv/o4FOVA1TL/cOcpiH3/Pa6pJWC3oXdR2y1+7yQXh2KN8an05 0Ufw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020aa7d94c000000b0044f1b7b8713si10424755eds.281.2022.11.21.22.36.29; Mon, 21 Nov 2022 22:37:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231923AbiKVGMG (ORCPT + 91 others); Tue, 22 Nov 2022 01:12:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbiKVGMD (ORCPT ); Tue, 22 Nov 2022 01:12:03 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B40332A70E; Mon, 21 Nov 2022 22:12:01 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id 7522168D05; Tue, 22 Nov 2022 07:11:58 +0100 (CET) Date: Tue, 22 Nov 2022 07:11:58 +0100 From: Christoph Hellwig To: Stephen Rothwell Cc: Christoph Hellwig , Linux Kernel Mailing List , Linux Next Mailing List , Takashi Iwai Subject: Re: linux-next: manual merge of the dma-mapping tree with Linus' tree Message-ID: <20221122061158.GA14175@lst.de> References: <20221122100611.13a374e2@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221122100611.13a374e2@canb.auug.org.au> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham 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 Tue, Nov 22, 2022 at 10:06:11AM +1100, Stephen Rothwell wrote: > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. Thanks Stephen, the fix look good. The being said the code in the sound tree here is questionable to start with: > #ifdef CONFIG_SND_DMA_SGBUF > + if (!sgt && !get_dma_ops(dmab->dev.dev)) { > if (dmab->dev.type == SNDRV_DMA_TYPE_DEV_WC_SG) > dmab->dev.type = SNDRV_DMA_TYPE_DEV_WC_SG_FALLBACK; > else driver have no busuness calling get_dma_ops and poking into the dma-mapping internals.