lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <aXzOJoJ6zhgtFL5u@sirena.org.uk>
Date: Fri, 30 Jan 2026 15:28:38 +0000
From: Mark Brown <broonie@...nel.org>
To: Dave Airlie <airlied@...hat.com>, DRI <dri-devel@...ts.freedesktop.org>
Cc: Alex Deucher <alexander.deucher@....com>, Jack Xiao <Jack.Xiao@....com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: manual merge of the drm tree with the drm-fixes tree

Hi all,

Today's linux-next merge of the drm tree got conflicts in:

  drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
  drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c

between commits:

  3eb46fbb601f9 ("drm/amdgpu/gfx11: adjust KGQ reset sequence")
  dfd64f6e8cd7b ("drm/amdgpu/gfx12: adjust KGQ reset sequence")

from the drm-fixes tree and commit:

  d09c7e266c8cd ("drm/amdgpu/mes: add multi-xcc support")

from the drm 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.

diff --cc drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index e642236ea2c51,3a4ca104b1612..0000000000000
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@@ -6828,7 -6832,7 +6833,7 @@@ static int gfx_v11_0_reset_kgq(struct a
  
  	amdgpu_ring_reset_helper_begin(ring, timedout_fence);
  
- 	r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, use_mmio);
 -	r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, false, 0);
++	r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, use_mmio, 0);
  	if (r) {
  
  		dev_warn(adev->dev, "reset via MES failed and try pipe reset %d\n", r);
@@@ -6837,18 -6841,16 +6842,18 @@@
  			return r;
  	}
  
 -	r = gfx_v11_0_kgq_init_queue(ring, true);
 -	if (r) {
 -		dev_err(adev->dev, "failed to init kgq\n");
 -		return r;
 -	}
 +	if (use_mmio) {
 +		r = gfx_v11_0_kgq_init_queue(ring, true);
 +		if (r) {
 +			dev_err(adev->dev, "failed to init kgq\n");
 +			return r;
 +		}
  
- 		r = amdgpu_mes_map_legacy_queue(adev, ring);
 -	r = amdgpu_mes_map_legacy_queue(adev, ring, 0);
 -	if (r) {
 -		dev_err(adev->dev, "failed to remap kgq\n");
 -		return r;
++		r = amdgpu_mes_map_legacy_queue(adev, ring, 0);
 +		if (r) {
 +			dev_err(adev->dev, "failed to remap kgq\n");
 +			return r;
 +		}
  	}
  
  	return amdgpu_ring_reset_helper_end(ring, timedout_fence);
diff --cc drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
index 4aab89a9ab401,40660b05f9794..0000000000000
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
@@@ -5302,7 -5296,7 +5297,7 @@@ static int gfx_v12_0_reset_kgq(struct a
  
  	amdgpu_ring_reset_helper_begin(ring, timedout_fence);
  
- 	r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, use_mmio);
 -	r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, false, 0);
++	r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, use_mmio, 0);
  	if (r) {
  		dev_warn(adev->dev, "reset via MES failed and try pipe reset %d\n", r);
  		r = gfx_v12_reset_gfx_pipe(ring);
@@@ -5310,18 -5304,16 +5305,18 @@@
  			return r;
  	}
  
 -	r = gfx_v12_0_kgq_init_queue(ring, true);
 -	if (r) {
 -		dev_err(adev->dev, "failed to init kgq\n");
 -		return r;
 -	}
 +	if (use_mmio) {
 +		r = gfx_v12_0_kgq_init_queue(ring, true);
 +		if (r) {
 +			dev_err(adev->dev, "failed to init kgq\n");
 +			return r;
 +		}
  
- 		r = amdgpu_mes_map_legacy_queue(adev, ring);
 -	r = amdgpu_mes_map_legacy_queue(adev, ring, 0);
 -	if (r) {
 -		dev_err(adev->dev, "failed to remap kgq\n");
 -		return r;
++		r = amdgpu_mes_map_legacy_queue(adev, ring, 0);
 +		if (r) {
 +			dev_err(adev->dev, "failed to remap kgq\n");
 +			return r;
 +		}
  	}
  
  	return amdgpu_ring_reset_helper_end(ring, timedout_fence);

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ