Revision 6927d352380797ddbee18631491ec428741696e2 authored by Yang Yingliang on 01 December 2022, 04:01:25 UTC, committed by Joerg Roedel on 02 December 2022, 10:45:32 UTC
As comment of pci_get_domain_bus_and_slot() says, it returns a pci device with refcount increment, when finish using it, the caller must decrease the reference count by calling pci_dev_put(). So call pci_dev_put() after using the 'pdev' to avoid refcount leak. Besides, if the 'pdev' is null or intel_svm_prq_report() returns error, there is no need to trace this fault. Fixes: 06f4b8d09dba ("iommu/vt-d: Remove unnecessary SVA data accesses in page fault path") Suggested-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20221119144028.2452731-1-yangyingliang@huawei.com Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 parent e65a689
File | Mode | Size |
---|---|---|
LSM | ||
acpi | ||
aoe | ||
auxdisplay | ||
blockdev | ||
cgroup-v1 | ||
cifs | ||
device-mapper | ||
gpio | ||
hw-vuln | ||
kdump | ||
laptops | ||
media | ||
mm | ||
namespaces | ||
nfs | ||
perf | ||
pm | ||
sysctl | ||
README.rst | -rw-r--r-- | 14.4 KB |
abi-obsolete.rst | -rw-r--r-- | 345 bytes |
abi-removed.rst | -rw-r--r-- | 101 bytes |
abi-stable.rst | -rw-r--r-- | 408 bytes |
abi-testing.rst | -rw-r--r-- | 731 bytes |
abi.rst | -rw-r--r-- | 157 bytes |
bcache.rst | -rw-r--r-- | 24.1 KB |
binderfs.rst | -rw-r--r-- | 3.6 KB |
binfmt-misc.rst | -rw-r--r-- | 7.2 KB |
bootconfig.rst | -rw-r--r-- | 10.2 KB |
braille-console.rst | -rw-r--r-- | 1.7 KB |
btmrvl.rst | -rw-r--r-- | 2.7 KB |
bug-bisect.rst | -rw-r--r-- | 2.1 KB |
bug-hunting.rst | -rw-r--r-- | 15.3 KB |
cgroup-v2.rst | -rw-r--r-- | 108.6 KB |
clearing-warn-once.rst | -rw-r--r-- | 275 bytes |
cpu-load.rst | -rw-r--r-- | 3.0 KB |
cputopology.rst | -rw-r--r-- | 3.8 KB |
dell_rbu.rst | -rw-r--r-- | 4.9 KB |
devices.rst | -rw-r--r-- | 11.8 KB |
devices.txt | -rw-r--r-- | 104.2 KB |
dynamic-debug-howto.rst | -rw-r--r-- | 12.7 KB |
edid.rst | -rw-r--r-- | 2.3 KB |
efi-stub.rst | -rw-r--r-- | 3.8 KB |
ext4.rst | -rw-r--r-- | 27.6 KB |
features.rst | -rw-r--r-- | 86 bytes |
filesystem-monitoring.rst | -rw-r--r-- | 3.0 KB |
highuid.rst | -rw-r--r-- | 2.6 KB |
hw_random.rst | -rw-r--r-- | 3.8 KB |
index.rst | -rw-r--r-- | 2.3 KB |
init.rst | -rw-r--r-- | 2.6 KB |
initrd.rst | -rw-r--r-- | 14.3 KB |
iostats.rst | -rw-r--r-- | 9.7 KB |
java.rst | -rw-r--r-- | 10.9 KB |
jfs.rst | -rw-r--r-- | 2.6 KB |
kernel-parameters.rst | -rw-r--r-- | 8.7 KB |
kernel-parameters.txt | -rw-r--r-- | 246.6 KB |
kernel-per-CPU-kthreads.rst | -rw-r--r-- | 12.6 KB |
lcd-panel-cgram.rst | -rw-r--r-- | 1.2 KB |
ldm.rst | -rw-r--r-- | 4.6 KB |
lockup-watchdogs.rst | -rw-r--r-- | 4.1 KB |
md.rst | -rw-r--r-- | 27.1 KB |
module-signing.rst | -rw-r--r-- | 11.1 KB |
mono.rst | -rw-r--r-- | 2.6 KB |
numastat.rst | -rw-r--r-- | 2.4 KB |
parport.rst | -rw-r--r-- | 9.3 KB |
perf-security.rst | -rw-r--r-- | 14.6 KB |
pnp.rst | -rw-r--r-- | 6.9 KB |
pstore-blk.rst | -rw-r--r-- | 8.8 KB |
ramoops.rst | -rw-r--r-- | 6.2 KB |
rapidio.rst | -rw-r--r-- | 2.2 KB |
ras.rst | -rw-r--r-- | 42.1 KB |
reporting-issues.rst | -rw-r--r-- | 94.4 KB |
reporting-regressions.rst | -rw-r--r-- | 22.1 KB |
rtc.rst | -rw-r--r-- | 7.0 KB |
security-bugs.rst | -rw-r--r-- | 4.4 KB |
serial-console.rst | -rw-r--r-- | 4.3 KB |
spkguide.txt | -rw-r--r-- | 69.0 KB |
svga.rst | -rw-r--r-- | 11.8 KB |
syscall-user-dispatch.rst | -rw-r--r-- | 4.2 KB |
sysfs-rules.rst | -rw-r--r-- | 9.4 KB |
sysrq.rst | -rw-r--r-- | 12.1 KB |
tainted-kernels.rst | -rw-r--r-- | 8.8 KB |
thunderbolt.rst | -rw-r--r-- | 14.7 KB |
ufs.rst | -rw-r--r-- | 1.3 KB |
unicode.rst | -rw-r--r-- | 7.1 KB |
vga-softcursor.rst | -rw-r--r-- | 1.9 KB |
video-output.rst | -rw-r--r-- | 1.1 KB |
xfs.rst | -rw-r--r-- | 21.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...