Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2473541rdf; Mon, 6 Nov 2023 15:49:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdC7elgPpuDCrutgv7ywAyVra8I4S1fkkE6yebnhbzzpBfSjioml56UoYiVgKz/UpJEtNu X-Received: by 2002:a05:6a00:392a:b0:68a:54e5:24e6 with SMTP id fh42-20020a056a00392a00b0068a54e524e6mr35933473pfb.8.1699314594102; Mon, 06 Nov 2023 15:49:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699314594; cv=none; d=google.com; s=arc-20160816; b=FdLYesSGZSLq2+iO4a9E8xEl0GEchHUxpDn05CCXyo0+0j6gdfnhHDKzNx45TwoYmN jO4XgHZH5LkhHPWK1pIwbBlvGViZAe8jfWsfPp+b9tec+/Xg0JGl0vuWkSrhqVnhzp7h qHFA0SomBAA5I3+KqoAsAEGMvQejI3XR66FoL1y0mjcIPQslvLHvJHFQK7u/yYN3QsLP ReTCmp6vZnWKKYXo7wkdbuZe/nUIntNTc4z8MBIYzWq0hjBq6pdZZmfMEKMYb4UWW/mg zYr6CXcDo9eahEK1qYjEFv7Yj2Fj/jBTbVNOqwTrtwNrXB5/e+qEw+Cqf1JV6ZGEzkpN maTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=rYAdo0ov1Zq7KX7kvEwHz2ttY2nsC4oA64OM1EgReU8=; fh=bWN+aGUaV9KGhtwxHwXpSaAhhYsn7t0S0AiqIxiLe0w=; b=IRDjEQnZpsrF0BCjtCvetneM0EfbZPap9/NYapeDPvvEW8IuDoysH4HD9Px5HS5Jre yhJP8tpHDa1dEu5tqsAAlNsHgQufBulTfXo0YApCQGqGob1c12cxsmqhBUM4lPqT1a6j sAXpcyRgt67fel8fUIUJuFpubDqRNknrURd9lMPHyMuh/xks5UO1g3cCkWkO0LGIV469 4wY7MErpi3PpHewtAW47FvdDTRf3cbMAa3qRq1U9Jcw8oUsIIdw5P/lZZOoPeRIGNBEm 9HqC1LIK71Lhk+ApxrJXc7ihADR26AHFk6QFHOuv9lOYgvhGElEZddxg+RzN63rXoqr7 bAsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=s5jOrjvO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id j187-20020a638bc4000000b005b884bf4aa8si823653pge.417.2023.11.06.15.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 15:49:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=s5jOrjvO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 64392802B56A; Mon, 6 Nov 2023 15:49:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233116AbjKFXtd (ORCPT + 99 others); Mon, 6 Nov 2023 18:49:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232152AbjKFXt3 (ORCPT ); Mon, 6 Nov 2023 18:49:29 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 099A992; Mon, 6 Nov 2023 15:49:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1699314560; bh=rYAdo0ov1Zq7KX7kvEwHz2ttY2nsC4oA64OM1EgReU8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=s5jOrjvOo1vP4H6oyg42GsVc6AONirHLyH75ciKjXBucdXNRW3RBDCGOO9Xs8sELf r7JriuGIvZ4InCMLuIOUburkChvf/376fi+wSct7FcxCo3YQgybmZcfO8rZj56R65i GAxHrF8j3pTwG5ant87hgU+ZcML/lIpJ5CFUE4yEHd58N7fE574E3XkrNI5RREzWNc lkH54fzO+6QSte6/QHrYojGTvDZCm6pgEpEM363UTRvgWEi8t2jAavSCjU/NIcfvFY xHE39MBp4i63tQSVI9QSmk+/3RNmI+m37m7K5fmBIK9IrSs4Fclnw/sUaIzkknqpCO XjskS8JGSBdzA== 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 4SPSk71G2cz4wnv; Tue, 7 Nov 2023 10:49:19 +1100 (AEDT) Date: Tue, 7 Nov 2023 10:49:17 +1100 From: Stephen Rothwell To: Dave Airlie Cc: Alex Deucher , Alex Deucher , Bjorn Helgaas , Linux Kernel Mailing List , Linux Next Mailing List , Sui Jingfeng , DRI Subject: Re: linux-next: manual merge of the amdgpu tree with Linus' tree Message-ID: <20231107104917.09180c14@canb.auug.org.au> In-Reply-To: <20231106094855.38376d52@canb.auug.org.au> References: <20231106094855.38376d52@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/1G+SLmpH=k.wj.RskGDCp/c"; 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Mon, 06 Nov 2023 15:49:51 -0800 (PST) --Sig_/1G+SLmpH=k.wj.RskGDCp/c Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Mon, 6 Nov 2023 09:48:55 +1100 Stephen Rothwell w= rote: >=20 > Today's linux-next merge of the amdgpu tree got a conflict in: >=20 > drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c >=20 > between commit: >=20 > 18bf400530ca ("drm/amdgpu: Use pci_get_base_class() to reduce duplicate= d code") >=20 > from Linus' tree and commit: >=20 > 432e664e7c98 ("drm/amdgpu: don't use ATRM for external devices") >=20 > from the amdgpu tree. >=20 > 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 > --=20 > Cheers, > Stephen Rothwell >=20 > 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= NULL) { > + 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; This is now a conflict between the drm tree and Linus' tree. --=20 Cheers, Stephen Rothwell --Sig_/1G+SLmpH=k.wj.RskGDCp/c Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmVJe30ACgkQAVBC80lX 0Gz0/Qf9HdnhwPZJVImw9UpPkqdiuBu7It6p1hHeGHWR/SLvSiDQAr4Rm4+JrzJ9 kjqHdpR2UTjfpr79YSbXYNbllHswM5p+tJObOgTHN9+N4hJfP+EQJj16F3fV5kAN F7hC7E+FWKkFb6FOJjwvH3RAY/uJkNOV1gKDFSeF+EiJsvdJZfk8GonlzzADrguS bOdK791c4y4fKNp7BGmmtuicru8+xkPPCOHc0EW0STIfGEfUvLYyhGZy0i2KQ57g u9nsHOd/1tBuPghQTRjkvM9Fh0hxCwQOJt/vAEGK6zhPam1ZrynfNg/Kx/ebC8ep js6X/j44GcnHrdC7Yxvvw1zGv+wlAQ== =ixwX -----END PGP SIGNATURE----- --Sig_/1G+SLmpH=k.wj.RskGDCp/c--