summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2019-03-01 11:23:12 +0800
committerJoerg Roedel <jroedel@suse.de>2019-03-01 10:23:36 +0100
commitc56cba5daf45d2d091ef1cfe2f1d6a930446687b (patch)
tree47f66dd725c73e2032239bddf808e87c6bdaff6c /tools/perf/scripts/python/bin
parent41b80db227993394f210f0eb705a326db5f605b6 (diff)
downloadkernel-c56cba5daf45d2d091ef1cfe2f1d6a930446687b.tar.gz
iommu/vt-d: Fix NULL pointer reference in intel_svm_bind_mm()
Intel IOMMU could be turned off with intel_iommu=off. If Intel IOMMU is off, the intel_iommu struct will not be initialized. When device drivers call intel_svm_bind_mm(), the NULL pointer reference will happen there. Add dmar_disabled check to avoid NULL pointer reference. Cc: Ashok Raj <ashok.raj@intel.com> Cc: Jacob Pan <jacob.jun.pan@linux.intel.com> Reported-by: Dave Jiang <dave.jiang@intel.com> Fixes: 2f26e0a9c9860 ("iommu/vt-d: Add basic SVM PASID support") Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
.y&id=607ca46e97a1b6594b29647d98a32d545c24bdff'>UAPI: (Scripted) Disintegrate include/linuxDavid Howells 2012-04-18seccomp: ignore secure_computing return valuesWill Drewry 2012-04-17seccomp: use a static inline for a function stubStephen Rothwell 2012-04-14ptrace,seccomp: Add PTRACE_SECCOMP supportWill Drewry 2012-04-14seccomp: Add SECCOMP_RET_TRAPWill Drewry 2012-04-14seccomp: add SECCOMP_RET_ERRNOWill Drewry 2012-04-14seccomp: add system call filtering using BPFWill Drewry 2012-04-14seccomp: kill the seccomp_t typedefWill Drewry 2011-06-07x86-64: Emulate legacy vsyscallsAndy Lutomirski 2009-04-19<linux/seccomp.h> needs to include <linux/errno.h>.Ralf Baechle 2007-07-16make seccomp zerocost in scheduleAndrea Arcangeli 2007-07-16move seccomp from /proc to a prctlAndrea Arcangeli 2006-04-26Don't include linux/config.h from anywhere else in include/David Woodhouse