https://github.com/torvalds/linux
Revision e79d5c0870eedce94e5f5a2ffab30511e48fa144 authored by Alex Deucher on 06 October 2015, 13:38:45 UTC, committed by Alex Deucher on 06 October 2015, 14:43:16 UTC
Make sure we are not the root device before attempting to
read the pcie bridge registers to check the pcie gen speeed.

Fixes a crash when the device is passed through to a VM.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
1 parent 26d0c21
History
Tip revision: e79d5c0870eedce94e5f5a2ffab30511e48fa144 authored by Alex Deucher on 06 October 2015, 13:38:45 UTC
drm/amdgpu: check before checking pci bridge registers
Tip revision: e79d5c0
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 319.9 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top