New: PCI AER error caused by LTR enablement on amdgpu with LTR disabled on video card PCIe bridge
https://bugzilla.kernel.org/show_bug.cgi?id=216455
Bug ID: 216455
Summary: PCI AER error caused by LTR enablement on amdgpu with
LTR disabled on video card PCIe bridge
Product: Drivers
Version: 2.5
Kernel Version: 5.19.6
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Created attachment 301753
--> https://bugzilla.kernel.org/attachment.cgi?id=301753&action=edit
dmesg with pci=earlydump (v5.19.5 + ltr debug patch)
Split off bug 216373 as this is a different issue than what it was initially about.
To quote Bjorn:
Quoted 9 lines
The issue you're seeing is an Unsupported Request error logged by a Switch Downstream Port when it received an LTR message sent by 44:00.0 when the Switch has LTR disabled:
pcieport 0000:43:00.0: device [1022:1471] error
status/mask=00100000/00000000
pcieport 0000:43:00.0: [20] UnsupReq (First)
pcieport 0000:43:00.0: AER: TLP Header: 34000000 44000010 00000000
84288428
The errors themselves can be masked by providing pci=noaer to the kernel.
The amdgpu.aspm=0 kernel option makes this issue disappear.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216455] PCI AER error caused by LTR enablement on amdgpu with LTR disabled on video card PCIe bridge
https://bugzilla.kernel.org/show_bug.cgi?id=216455
--- Comment #1 from Gustaw Smolarczyk ([email protected]) --- Created attachment 301754
--> https://bugzilla.kernel.org/attachment.cgi?id=301754&action=edit
lspci -vvnn on vega10 system
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216455] PCI AER error caused by LTR enablement on amdgpu with LTR disabled on video card PCIe bridge
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216455
--- Comment #2 from Gustaw Smolarczyk ([email protected]) --- Hardware:
CPU: Ryzen Threadripper 1950X
MB: Asrock X399 Taichi
GPU: Radeon Vega 64 [1002:687f]
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216455] PCI AER error caused by LTR enablement on amdgpu with LTR disabled on video card PCIe bridge
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216455
--- Comment #3 from Lijo Lazar ([email protected]) --- Created attachment 301760
--> https://bugzilla.kernel.org/attachment.cgi?id=301760&action=edit
LTR Fix
Does the attached patch help?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216455] PCI AER error caused by LTR enablement on amdgpu with LTR disabled on video card PCIe bridge
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216455
--- Comment #4 from Gustaw Smolarczyk ([email protected]) --- Yes, it does. LTR+ is no longer being enabled with this patch.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216455] PCI AER error caused by LTR enablement on amdgpu with LTR disabled on video card PCIe bridge
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216455
Alex Deucher ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #5 from Alex Deucher ([email protected]) --- (In reply to Lijo Lazar from comment #3)
Quoted 4 lines
Created attachment 301760 [details]
LTR FixDoes the attached patch help?
The ASPM code in vi.c and cik.c and si.c should be similarly protected.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216455] PCI AER error caused by LTR enablement on amdgpu with LTR disabled on video card PCIe bridge
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216455
--- Comment #6 from Lijo Lazar ([email protected]) --- (In reply to Alex Deucher from comment #5)
Quoted 7 lines
(In reply to Lijo Lazar from comment #3)
Quoted 4 lines
Created attachment 301760 [details]
LTR FixDoes the attached patch help?
The ASPM code in
vi.candcik.candsi.cshould be similarly protected.
Just checked. Actually, LTR settings are not changed in them.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216455] PCI AER error caused by LTR enablement on amdgpu with LTR disabled on video card PCIe bridge
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216455
--- Comment #7 from Alex Deucher ([email protected]) --- (In reply to Lijo Lazar from comment #6)
Quoted 10 lines
(In reply to Alex Deucher from comment #5)
Quoted 7 lines
(In reply to Lijo Lazar from comment #3)
Quoted 4 lines
Created attachment 301760 [details]
LTR FixDoes the attached patch help?
The ASPM code in
vi.candcik.candsi.cshould be similarly protected.Just checked. Actually, LTR settings are not changed in them.
Yes, but they do setup ASPM which should be protected with CONFIG_PCIEASPM?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216455] PCI AER error caused by LTR enablement on amdgpu with LTR disabled on video card PCIe bridge
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216455
--- Comment #8 from Alex Deucher ([email protected]) --- Patch:
https://patchwork.freedesktop.org/patch/501912/
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.