PCI: Mark some NVIDIA GPUs to avoid bus reset
authorShanker Donthineni <sdonthineni@nvidia.com>
Tue, 8 Jun 2021 05:48:56 +0000 (11:18 +0530)
committerSasha Levin <sashal@kernel.org>
Wed, 30 Jun 2021 12:48:53 +0000 (08:48 -0400)
commit0deb965d5bed0c367f175b988487c8b524bb061e
treef8778953ea6b0b94832f7ef67b94fcb1c06629e8
parent159111174439c1ca280372e1aa10429b9b22043f
PCI: Mark some NVIDIA GPUs to avoid bus reset

commit 4c207e7121fa92b66bf1896bf8ccb9edfb0f9731 upstream.

Some NVIDIA GPU devices do not work with SBR.  Triggering SBR leaves the
device inoperable for the current system boot. It requires a system
hard-reboot to get the GPU device back to normal operating condition
post-SBR. For the affected devices, enable NO_BUS_RESET quirk to avoid the
issue.

This issue will be fixed in the next generation of hardware.

Link: https://lore.kernel.org/r/20210608054857.18963-8-ameynarkhede03@gmail.com
Signed-off-by: Shanker Donthineni <sdonthineni@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/quirks.c