Commit 57aadcc0 authored by Alvaro Karsz's avatar Alvaro Karsz Committed by Greg Kroah-Hartman
Browse files

PCI: Avoid FLR for SolidRun SNET DPU rev 1



[ Upstream commit d089d69c ]

This patch fixes a FLR bug on the SNET DPU rev 1 by setting the
PCI_DEV_FLAGS_NO_FLR_RESET flag.

As there is a quirk to avoid FLR (quirk_no_flr), I added a new quirk
to check the rev ID before calling to quirk_no_flr.

Without this patch, a SNET DPU rev 1 may hang when FLR is applied.

Signed-off-by: default avatarAlvaro Karsz <alvaro.karsz@solid-run.com>
Acked-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Message-Id: <20230110165638.123745-3-alvaro.karsz@solid-run.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3c55d439
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment