Skip to contentSkip to conversation

FAILED: patch "[PATCH] Revert "drm/amd: Check if ASPM is enabled from PCIe" failed to apply to 5.15-stable tree

PATCH [email protected] 1 participant 1 message Feb 7

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

The patch below does not apply to the 5.15-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.

To reproduce the conflict and resubmit, you may use the following commands:

git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y
git checkout FETCH_HEAD
git cherry-pick -x 243b467dea1735fed904c2e54d248a46fa417a2d
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<[email protected]>' --in-reply-to '2026020730-glass-agreeable-5c2d@gregkh' --subject-prefix 'PATCH 5.15.y' HEAD^..

Possible dependencies:

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

From 243b467dea1735fed904c2e54d248a46fa417a2d Mon Sep 17 00:00:00 2001
From: Bert Karwatzki <[email protected]>
Date: Sun, 1 Feb 2026 01:24:45 +0100
Subject: [PATCH] Revert "drm/amd: Check if ASPM is enabled from PCIe
subsystem"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This reverts commit 7294863a6f01248d72b61d38478978d638641bee.

This commit was erroneously applied again after commit 0ab5d711ec74 ("drm/amd: Refactor amdgpu_aspm to be evaluated per device")
removed it, leading to very hard to debug crashes, when used with a system with two AMD GPUs of which only one supports ASPM.

Fixes 0ab5d711ec74 ("drm/amd: Refactor `amdgpu_aspm` to be evaluated per device")
(cherry picked from commit 97a9689300eb2b393ba5efc17c8e5db835917080)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +0 -3
index 6ccb80e2d7c9..39387da8586b 100644
@@ -2405,9 +2405,6 @@ static int amdgpu_pci_probe(struct pci_dev *pdev,
 			return -ENODEV;
 	}
 
-	if (amdgpu_aspm == -1 && !pcie_aspm_enabled(pdev))
-		amdgpu_aspm = 0;
-
 	if (amdgpu_virtual_display ||
 	    amdgpu_device_asic_has_dc_support(pdev, flags & AMD_ASIC_MASK))
 		supports_atomic = true;