From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 431B23783A1; Mon, 9 Feb 2026 14:43:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770648207; cv=none; b=bbBvB3WrHT8ZEbRSfJw2iOE3/fVRpyaEKvJ/ngZT/l0qteIeOdojfiTd7x/nEsIXTkuuHHr1eQeZMhuJLGQA457KWywvFjRsnfxyvO2AgD8jE/ypsw4jokD6xxilw78v1UIib1SXFc4at5KRM8XulV4WhyLQmNL/uTDnxU0/ARk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770648207; c=relaxed/simple; bh=bIQl2f3peBECB5sZgdVg1wfGVz65eSh0nPC+sC36tm8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tQwcsVKUt1z2fC0Oz2ZlXamEMjwiJdgpXyJti9tQ7XpMysvMWYU9uYVK9fz7rYAJ87q62caEf1sIed8ozhvOWj/NRqubGLuIEHcb9MXuLvsA/rUEIqzDid/hnRNT3QqMygrtWUEqaZxhnKpJvgAOop1L0e6dTWEiHB7EBtu9hnE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YKbfG9dp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YKbfG9dp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7953C116C6; Mon, 9 Feb 2026 14:43:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770648207; bh=bIQl2f3peBECB5sZgdVg1wfGVz65eSh0nPC+sC36tm8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YKbfG9dpglBNj2IXRymlEXSfPmmjk6EBwR+tf+enLgCcqqzqp3JbSD/0oMgCQ6nMr z4edbqyHVx2P+f+RDB0VB5CHvUWkWVquIPkPvlhD3kDtdbf5kgOim0m95ZJPzq2EPT jdzzAwNnYUK4bE/57A3szyiosTsLDl57tXx3+cYc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Bert Karwatzki , =?UTF-8?q?Christian=20K=C3=B6nig?= , "Mario Limonciello (AMD)" , Mario Limonciello , Alex Deucher Subject: [PATCH 6.1 06/69] Revert "drm/amd: Check if ASPM is enabled from PCIe subsystem" Date: Mon, 9 Feb 2026 15:23:34 +0100 Message-ID: <20260209142302.146128525@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260209142301.913348974@linuxfoundation.org> References: <20260209142301.913348974@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Bert Karwatzki commit 243b467dea1735fed904c2e54d248a46fa417a2d upstream. 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. Link: https://lore.kernel.org/linux-acpi/20251006120944.7880-1-spasswolf@web.de/ Link: https://github.com/acpica/acpica/issues/1060 Fixes: 0ab5d711ec74 ("drm/amd: Refactor `amdgpu_aspm` to be evaluated per device") Signed-off-by: Bert Karwatzki Reviewed-by: Christian König Reviewed-by: Mario Limonciello (AMD) Signed-off-by: Mario Limonciello Signed-off-by: Alex Deucher (cherry picked from commit 97a9689300eb2b393ba5efc17c8e5db835917080) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 --- 1 file changed, 3 deletions(-) --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c @@ -2067,9 +2067,6 @@ static int amdgpu_pci_probe(struct pci_d return -ENODEV; } - if (amdgpu_aspm == -1 && !pcie_aspm_enabled(pdev)) - amdgpu_aspm = 0; - if (amdgpu_virtual_display || amdgpu_device_asic_has_dc_support(flags & AMD_ASIC_MASK)) supports_atomic = true;