Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1791675rdf; Sun, 5 Nov 2023 14:49:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IEd0cajFd8mrky4dtvYjGLCEPrA/D6Ng+4845laMGeUAL+4w6dx+LNx6ZWio7pz7Hh5//VK X-Received: by 2002:a05:6870:d8cd:b0:1e9:ae68:fda9 with SMTP id of13-20020a056870d8cd00b001e9ae68fda9mr35507650oac.10.1699224554281; Sun, 05 Nov 2023 14:49:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699224554; cv=none; d=google.com; s=arc-20160816; b=04ZRoVNNMqQ4G0c4jpbeEsQRAxAn3HLt/c4M5EDvej0vdJhEiSY2AZ/HwBZMs9Kfvk o39LuSfWpC9RKo/3y+oSgUFypRMQ/k4btq/OJsF8r7SDrde+XbgEBPqNQvmJ8fh668ka Sjh9EIQ+cXEVUB1ts4WMiq75emWxFo/bxS6CRD2OZPCKpKEYQ3VhsC/mtlEc9qKbCIma dQs4te3GrLlZ47E6RYnCtow9axDNuh22dgIQZsqKnJl9X4H0Q3ySdiFfOrr78sW7s+5V 6d2a7KgKmbuRH562NBNwt6bV4euCYVmkPFTT1YTD2E578OWrUnESVEkMe66Lfhm0gTKN nLfQ== 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=L6zHQsQltusScahnA+vWcv3kyj7CxopeqfK6s7GAgfo=; fh=41ay3oLzw/D7FCalBThIzBg3ExJ7iiO+0ad7ADYr3pE=; b=WRZX+uJQzKdG21mhS4CI0fT09M30FArXMAB7JamtCvOoNkBRSwmoJ4OKZFWBXETi+0 YJzEF9HM3Hsl9Z0KIE0VLLOp+gpCmH2zCBTBduPjK///hvkrzfwmTznoS6ohvIEQptqm 2KulwGZOe092mRnRAanBOHzSiQ1SiM+JrF69RYBEgfNJqoU/9lPgzElLQjPOj/X3wKOP nSKA0EevWdMYWGlKjzLFpMWO8sxNx7cB/C6ZOJamFNKMkujK6CWjfoaqUh8+pUTnn8zs YgRUdWC/xh5Py138FWYToaDy/KeeL6+qu8RBikNY/BulGduWE9gIk1WDtv6GJg2PoKgW SIIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=f95g484e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id u70-20020a638549000000b005b91518ab92si6355540pgd.671.2023.11.05.14.49.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 14:49:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=f95g484e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id D32998062090; Sun, 5 Nov 2023 14:49:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229852AbjKEWtB (ORCPT + 99 others); Sun, 5 Nov 2023 17:49:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229690AbjKEWtB (ORCPT ); Sun, 5 Nov 2023 17:49:01 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F33CCF; Sun, 5 Nov 2023 14:48:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1699224537; bh=L6zHQsQltusScahnA+vWcv3kyj7CxopeqfK6s7GAgfo=; h=Date:From:To:Cc:Subject:From; b=f95g484er1ViIFXecBQFbkbf7X+4I1RtUQ2OPHd6enfjQshGML8kLGI/WIbBYgE5V Ah1Kmbtoa7zTUpyfAk2aw571liN3PnFsjIUx3hFF/1aEcIqxujGmz/sPhNY8zv3ZCG r5i+hS8omEdDZOkIwdW3T5yBLuW7pZz/lwfw2i/zFUWCvDK8Q3f2B3rPaWTuy1OXI0 U6G4cwEIC0FaAGr4RSXDV0Qa1aaoOfbwil87t3mYKPDLr1zqnmw6lb5TsCQCo4f/oZ /D49j6K1dkik8oYEvi3Rr1iG00UC/uNUMH3EncQGCA8yhHV533f9MAQK5Zb+TYysbH 4a466f6KNJzNg== 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 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SNqQw0Yxdz4xF5; Mon, 6 Nov 2023 09:48:56 +1100 (AEDT) Date: Mon, 6 Nov 2023 09:48:55 +1100 From: Stephen Rothwell To: Alex Deucher Cc: Alex Deucher , Bjorn Helgaas , Linux Kernel Mailing List , Linux Next Mailing List , Sui Jingfeng Subject: linux-next: manual merge of the amdgpu tree with Linus' tree Message-ID: <20231106094855.38376d52@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/URENiMlDcB9LImW7A4CTEOx"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 05 Nov 2023 14:49:12 -0800 (PST) --Sig_/URENiMlDcB9LImW7A4CTEOx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the amdgpu tree got a conflict in: drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c between commit: 18bf400530ca ("drm/amdgpu: Use pci_get_base_class() to reduce duplicated = code") from Linus' tree and commit: 432e664e7c98 ("drm/amdgpu: don't use ATRM for external devices") from the amdgpu 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 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c index 5bbb23e102ba,f3a09ecb7699..000000000000 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c @@@ -286,12 -287,12 +287,16 @@@ static bool amdgpu_atrm_get_bios(struc /* ATRM is for the discrete card only */ if (adev->flags & AMD_IS_APU) return false; +=20 + /* ATRM is for on-platform devices only */ + if (dev_is_removable(&adev->pdev->dev)) + return false; =20 - while ((pdev =3D pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, pdev)) !=3D N= ULL) { + while ((pdev =3D pci_get_base_class(PCI_BASE_CLASS_DISPLAY, pdev))) { + if ((pdev->class !=3D PCI_CLASS_DISPLAY_VGA << 8) && + (pdev->class !=3D PCI_CLASS_DISPLAY_OTHER << 8)) + continue; + dhandle =3D ACPI_HANDLE(&pdev->dev); if (!dhandle) continue; --Sig_/URENiMlDcB9LImW7A4CTEOx Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmVIG9cACgkQAVBC80lX 0GwUfgf/WBtdZkkvfywcpEhQJHAb0ZO4m//Rz8kptrLOAflNsTtKfTlkNDkOgY+w C5AB7Gz16fde2fnvOOUU4LWZD7lUdub3wPTJnuHF3i+P2zY5TKU52Td4HOxLtOcA vFC4FQxForoCZWMcJvGPPBOzwE4vRgl7rSIBika6NuyJg8Fm9OTS7mDMD8AUF6+a nXl1yjHZ2WfYp59ayeigLOpEZYwCqNnuphyepIA7tmTXFCHiPT8cofFQzYmrjA92 /5U+z6llH6i6ULjLzTKHnc97WEroMeNpN4hHrPusbBTb1yXlwlvtlhcV4ZsbB+jp BEZdrYvPVe11oedEkDf3Eeak3jt/QQ== =PVz8 -----END PGP SIGNATURE----- --Sig_/URENiMlDcB9LImW7A4CTEOx--