Re: [PATCH 0/2] Fix amdgpu detection of pci=realloc
From: Mario Limonciello
Date: Mon Oct 19 2026 - 22:06:52 EST
On 10/19/26 20:44, Mario Limonciello wrote:
amdgpu needs to know the bus number the platform assigned a device to
be able to match firmware images against the right device.
This was previously adjusted to be a soft filter due to
commit 11c141672045f ("drm/amdgpu: Fix VFCT bus number matching with
soft filter") where if everything but the number matched to take a device.
This however fails when there are two identical devices. Instead save the
initial bus number to the PCI device structure and then match that.
Link: https://lore.kernel.org/linux-pci/20261015124843.203905-1-mario.limonciello@xxxxxxx/
Link: https://lore.kernel.org/amd-gfx/20261019194106.2796150-1-alexander.deucher@xxxxxxx/
Signed-off-by: Mario Limonciello <mario.limonciello@xxxxxxx>
---
Mario Limonciello (2):
PCI: Preserve the initial bus number in pci_dev
drm/amdgpu: Match VFCT using initial PCI bus number
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | 17 +++--------------
drivers/pci/probe.c | 1 +
include/linux/pci.h | 1 +
3 files changed, 5 insertions(+), 14 deletions(-)
---
base-commit: 87bba57a9f33e2b5e90d4ad70973675333182a2c
change-id: 20261019-vfct-regression-2142fc52852a
Best regards,
--
Mario Limonciello <mario.limonciello@xxxxxxx>
I think Sashiko is right on the feedback. I'll iterate further on it.