Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5084465rwb; Mon, 21 Nov 2022 16:32:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf63bGkjaIkshuGieQufa99PLpbOeqD8exq6Gf5Nn0SE3//zp6baNowZh7lrqC58Ffksy/wr X-Received: by 2002:a17:906:fca4:b0:7ae:acea:fca6 with SMTP id qw4-20020a170906fca400b007aeaceafca6mr17991241ejb.150.1669077169743; Mon, 21 Nov 2022 16:32:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669077169; cv=none; d=google.com; s=arc-20160816; b=C7y9idCY9oSlQNK9dHjnPEW1D72L0gRZVPitPSIB2OMW2DVLgFW58iWY6saG+RlokG VlLMZYAJuWpgTvfvZjLgJKD53puHuxc5HLJMjLrpmCuqqzrgfEsARTT0J/hWEEvvmXd6 XxhfRYpScHSgmk0PRA1vaftCcBfdF7CfNxFiAotZqIQpUxs1yO/6k9J7tItPt7OsSaSG 8QUu4GQU2mHbG3n+TfgEcd3G3OXHAleiiP87jtPoUxTbym5c6NeBy4nDxeKD9xy5FBRz edivdR85SZeICFGa1/ZXUfpd9iEdmdjqIlro+8A8Qxd4sdOXNngcf/vgVOZj+09xUon9 o4/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=jaILjJ+OkM3rv3C1UpX0CD1h89Cp9OT7MBWDCbXWDq4=; b=h21v+ORYT6MQGkcEvyJ0eP1eZB9S0K6yJ0XcaTOtP1FflzeY5i2tVLl6gSg+5YU4uM KjTE6S8zg8xOBndG12l4LfzjSE0QZA0YWPwat57zusSPIl8cb5Wzbku24KQaRRLx58zQ mYuCpVzKctucdSiEdDugwlClgXY4qWUfS+Ji36DBiJnch9H7WSNsa0Wgn3C7k2BaULv5 je3xvJkZOGr3LRxlkHV0w7uivFKELitp2JaDfhbWnEj2FY+/MKqj82K+u7DFsLAhJw8u elU1DjDsVC4iP1NmenttcpPpF9zmSq/QPEymeAmTpaYM/aBIvCMt12CdSN6UjpmhE6+S 8oaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=JBqeW8zN; 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 d21-20020a50fb15000000b0045bdff8a884si9542900edq.268.2022.11.21.16.32.20; Mon, 21 Nov 2022 16:32:49 -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; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=JBqeW8zN; 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 S229721AbiKUXGU (ORCPT + 91 others); Mon, 21 Nov 2022 18:06:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbiKUXGR (ORCPT ); Mon, 21 Nov 2022 18:06:17 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41ECCCB94D; Mon, 21 Nov 2022 15:06:15 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4NGNKx4PM1z4xGW; Tue, 22 Nov 2022 10:06:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1669071973; bh=jaILjJ+OkM3rv3C1UpX0CD1h89Cp9OT7MBWDCbXWDq4=; h=Date:From:To:Cc:Subject:From; b=JBqeW8zNQQMUlQr47RTzINWU6jI9B2BX1XXJjK5C0kWh+LCW+MZ1UkWhoPA+FU0z4 VqzN6l+XAkaE9l99teKqml9LziMtPBsRt7ND8Qw43qLtyXAEYfQi7x81zo17bVPiSz DzUBtxtMTh8DeWJpoR727d7N61tB0SvYX/kAu4rGQpzOr/MH5ZWobFRxNoS+UwRmyV 0pGCIN21FaHnrtk2FfDrdMB0Jm+ohf9MqnH2Ddx/HJgtSyRJYuv5W/OWIkZGDsneIz oI2XCS1RG88+AIBfiaP/ULjqAJdHGsd8bEZnDCc3HuhL3JKg9RdeGPaKUnV202SDkI QCTTMGR+34BrQ== Date: Tue, 22 Nov 2022 10:06:11 +1100 From: Stephen Rothwell To: Christoph Hellwig Cc: Linux Kernel Mailing List , Linux Next Mailing List , Takashi Iwai Subject: linux-next: manual merge of the dma-mapping tree with Linus' tree Message-ID: <20221122100611.13a374e2@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/DPWGVDULKSX8GhPoi./p7fM"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS 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 --Sig_/DPWGVDULKSX8GhPoi./p7fM Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the dma-mapping tree got a conflict in: sound/core/memalloc.c between commits: 9736a325137b ("ALSA: memalloc: Don't fall back for SG-buffer with IOMMU") 9d8e536d36e7 ("ALSA: memalloc: Try dma_alloc_noncontiguous() at first") from Linus' tree and commit: 3306877aff07 ("ALSA: memalloc: don't pass bogus GFP_ flags to dma_alloc_*= ") from the dma-mapping tree. 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. --=20 Cheers, Stephen Rothwell diff --cc sound/core/memalloc.c index ba095558b6d1,fe03cf796e8b..000000000000 --- a/sound/core/memalloc.c +++ b/sound/core/memalloc.c @@@ -543,9 -541,9 +542,9 @@@ static void *snd_dma_noncontig_alloc(st void *p; =20 sgt =3D dma_alloc_noncontiguous(dmab->dev.dev, size, dmab->dev.dir, - DEFAULT_GFP, 0); + DEFAULT_GFP | __GFP_COMP, 0); - if (!sgt) { #ifdef CONFIG_SND_DMA_SGBUF + if (!sgt && !get_dma_ops(dmab->dev.dev)) { if (dmab->dev.type =3D=3D SNDRV_DMA_TYPE_DEV_WC_SG) dmab->dev.type =3D SNDRV_DMA_TYPE_DEV_WC_SG_FALLBACK; else --Sig_/DPWGVDULKSX8GhPoi./p7fM Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmN8BGQACgkQAVBC80lX 0GylTAf+PqGca0yV+5axvYVYmDlGGX8U9NowKWW6qUbaSmp67IPLbPoTHS68C6xZ 9gMGfYRzUQXcW7IEj2lZ86E1akyJVKEHW/kwZRIuB8yMzsVtY9QxEgG3y+Y0ZKvJ /JySdQv3GygVF3oM7ZN6iwX1Rk8KU3uQ/8g4JKTIGrnY6U1IGfshEDVhsCfvbBYP oGGDPupxwJ8/Qtp3X8bL9Aqvwzb/sq2wukzwnEOAgeUOQznZ8OwgtFrMXn3PLLS8 j9OQLDKb6NS3+jwITSbN8NrdfUUOoNNL4oeh1dYKEAlHWEoqotGYe14EGWYwBsbb Wtp4Bsk0qX6sKCWfPkFO+mxj7yHkcg== =eHra -----END PGP SIGNATURE----- --Sig_/DPWGVDULKSX8GhPoi./p7fM--