android_kernel_xiaomi_sdm845/drivers
Randy Dunlap f48d16bc83 vfio/pci: zap_vma_ptes() needs MMU
[ Upstream commit 2a55ca37350171d9b43d561528f23d4130097255 ]

zap_vma_ptes() is only available when CONFIG_MMU is set/enabled.
Without CONFIG_MMU, vfio_pci.o has build errors, so make
VFIO_PCI depend on MMU.

riscv64-linux-ld: drivers/vfio/pci/vfio_pci.o: in function `vfio_pci_mmap_open':
vfio_pci.c:(.text+0x1ec): undefined reference to `zap_vma_ptes'
riscv64-linux-ld: drivers/vfio/pci/vfio_pci.o: in function `.L0 ':
vfio_pci.c:(.text+0x165c): undefined reference to `zap_vma_ptes'

Fixes: 11c4cd07ba11 ("vfio-pci: Fault mmaps to enable vma tracking")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Cornelia Huck <cohuck@redhat.com>
Cc: kvm@vger.kernel.org
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Eric Auger <eric.auger@redhat.com>
Message-Id: <20210515190856.2130-1-rdunlap@infradead.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-10 12:42:35 +02:00
..
accessibility
acpi ACPI: scan: Fix a memory leak in an error handling path 2021-05-22 10:40:32 +02:00
amba amba: Fix resource leak for drivers without .remove 2021-03-03 17:44:38 +01:00
android
ata ata: libahci_platform: fix IRQ check 2021-05-22 10:40:25 +02:00
atm atm: idt77252: fix null-ptr-dereference 2021-03-30 14:41:39 +02:00
auxdisplay
base Revert "device property: Keep secondary firmware node secondary by type" 2021-01-12 19:49:05 +01:00
bcma
block xen-blkback: don't leak persistent grants from xen_blkbk_map() 2021-03-30 14:41:43 +02:00
bluetooth
bus bus: qcom: Put child node before return 2021-05-22 10:40:23 +02:00
cdrom cdrom: gdrom: initialize global variable at init time 2021-05-26 11:29:07 +02:00
char char: hpet: add checks after calling ioremap 2021-06-03 08:23:31 +02:00
clk clk: exynos7: Mark aclk_fsys1_200 as critical 2021-05-22 10:40:33 +02:00
clocksource clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined 2021-03-03 17:44:37 +01:00
connector
cpufreq cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get() 2021-01-17 13:57:54 +01:00
cpuidle
crypto crypto: qat - Fix a double free in adf_create_ring 2021-05-22 10:40:24 +02:00
dax
dca
devfreq
dio
dma dmaengine: qcom_hidma: comment platform_driver_register call 2021-06-03 08:23:31 +02:00
dma-buf
edac EDAC/i5100: Fix error handling order in i5100_init_one() 2020-10-29 09:05:32 +01:00
eisa
extcon extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged 2021-05-22 10:40:17 +02:00
firewire firewire: nosy: Fix a use-after-free bug in nosy_ioctl() 2021-04-07 12:05:40 +02:00
firmware efi: cper: fix snprintf() use in cper_dimm_err_location() 2021-06-10 12:42:35 +02:00
fmc
fpga
gpio gpio: pcf857x: Fix missing first interrupt 2021-03-03 17:44:44 +01:00
gpu drm/amdgpu: Fix a use-after-free 2021-06-03 08:23:32 +02:00
hid HID: plantronics: Workaround for double volume key presses 2021-05-22 10:40:26 +02:00
hsi HSI: core: fix resource leaks in hsi_add_client_from_dt() 2021-05-22 10:40:26 +02:00
hv Drivers: hv: vmbus: Increase wait time for VMbus unload 2021-05-22 10:40:24 +02:00
hwmon Revert "hwmon: (lm80) fix a missing check of bus read in lm80 probe" 2021-05-26 11:29:07 +02:00
hwspinlock
hwtracing intel_th: Consistency and off-by-one fix 2021-05-22 10:40:16 +02:00
i2c i2c: i801: Don't generate an interrupt on bus reset 2021-06-03 08:23:30 +02:00
ide
idle
iio iio: adc: ad7793: Add missing error code in ad7793_setup() 2021-06-03 08:23:29 +02:00
infiniband RDMA/rxe: Clear all QP fields if creation failed 2021-05-26 11:29:05 +02:00
input Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state 2021-05-22 10:40:34 +02:00
iommu iommu/amd: Fix sleeping in atomic in increase_address_space() 2021-03-11 13:48:03 +01:00
ipack
irqchip irqchip/alpine-msi: Fix freeing of interrupts on allocation error path 2020-12-29 13:45:00 +01:00
isdn isdn: mISDNinfineon: check/cleanup ioremap failure correctly in setup_io 2021-06-03 08:23:31 +02:00
leds leds: lp5523: check return value of lp5xx_read and jump to cleanup code 2021-05-26 11:29:08 +02:00
lguest
lightnvm
macintosh
mailbox
mcb
md dm snapshot: properly fix a crash when an origin has no snapshots 2021-06-03 08:23:29 +02:00
media media: gspca: properly check for errors in po1030_probe() 2021-06-03 08:23:31 +02:00
memory memory: gpmc: fix out of bounds read and dereference on gpmc_cs[] 2021-05-22 10:40:22 +02:00
memstick memstick: r592: Fix error return in r592_probe() 2020-12-29 13:44:58 +01:00
message scsi: mptfusion: Fix null pointer dereferences in mptscsih_remove() 2020-11-10 10:23:57 +01:00
mfd mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq() 2021-03-03 17:44:38 +01:00
misc platform/x86: hp_accel: Avoid invoking _INI to speed up resume 2021-06-03 08:23:31 +02:00
mmc mmc: core: Set read only for SD cards with permanent write protect bit 2021-05-22 10:40:15 +02:00
mtd mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init 2021-05-22 10:40:24 +02:00
net net: usb: cdc_ncm: don't spew notifications 2021-06-10 12:42:35 +02:00
nfc nfc: pn533: prevent potential memory corruption 2021-05-22 10:40:26 +02:00
ntb NTB: hw: amd: fix an issue about leak system resources 2020-10-29 09:05:41 +01:00
nubus
nvdimm libnvdimm/dimm: Avoid race between probe and available_slots_show() 2021-03-03 17:44:44 +01:00
nvme nvmet: don't check iosqes,iocqes for discovery controllers 2021-03-24 10:59:23 +01:00
nvmem
of Revert "fdt: Properly handle "no-map" field in the memory region" 2021-05-22 10:40:29 +02:00
oprofile
parisc
parport
pci ACPI / hotplug / PCI: Fix reference count leak in enable_slot() 2021-05-22 10:40:34 +02:00
pcmcia
perf
phy phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove() 2021-05-22 10:40:16 +02:00
pinctrl pinctrl: rockchip: fix restore error in resume 2021-04-07 12:05:40 +02:00
platform platform/x86: intel_punit_ipc: Append MODULE_DEVICE_TABLE for ACPI 2021-06-03 08:23:32 +02:00
pnp
power power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove() 2021-05-22 10:40:18 +02:00
powercap powercap: restrict energy meter to root access 2020-11-10 21:04:57 +01:00
pps
ps3 powerpc/ps3: use dma_mapping_error() 2020-12-29 13:45:00 +01:00
ptp
pwm pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare() 2021-03-03 17:44:39 +01:00
rapidio rapidio: handle create_workqueue() failure 2021-05-26 11:29:06 +02:00
ras
regulator regulator: axp20x: Fix reference cout leak 2021-03-03 17:44:37 +01:00
remoteproc remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load 2021-02-23 13:59:14 +01:00
reset
rpmsg
rtc rtc: rx8010: don't modify the global rtc ops 2020-11-10 10:23:59 +01:00
s390 s390/dasd: fix hanging DASD driver unbind 2021-03-17 16:10:15 +01:00
sbus
scsi scsi: libsas: Use _safe() loop in sas_resume_port() 2021-06-03 08:23:32 +02:00
sfi
sh
sn
soc soc/fsl: qbman: fix conflicting alignment attributes 2021-04-16 11:59:08 +02:00
spi spi: Fix use-after-free with devm_spi_alloc_* 2021-06-03 08:23:30 +02:00
spmi
ssb
staging staging: emxx_udc: fix loop in _nbu2ss_nuke() 2021-06-03 08:23:32 +02:00
target scsi: target: pscsi: Fix warning in pscsi_complete_cmd() 2021-05-22 10:40:17 +02:00
tc
thermal thermal/core/fair share: Lock the thermal zone while looping over instances 2021-05-22 10:40:33 +02:00
thunderbolt
tty serial: max310x: unregister uart driver in case of failure and abort 2021-06-03 08:23:31 +02:00
uio
usb usb: core: reduce power-on-good delay time of root hub 2021-06-03 08:23:33 +02:00
uwb
vfio vfio/pci: zap_vma_ptes() needs MMU 2021-06-10 12:42:35 +02:00
vhost vhost: Fix vhost_vq_reset() 2021-04-07 12:05:39 +02:00
video video: hgafb: correctly handle card detect failure during probe 2021-05-26 11:29:09 +02:00
virt drivers/virt/fsl_hypervisor: Fix error handling path 2020-10-29 09:05:35 +01:00
virtio
vlynq
vme
w1 w1: mxc_w1: Fix timeout resolution problem leading to bus error 2020-11-10 10:23:57 +01:00
watchdog watchdog: qcom: Avoid context switch in restart handler 2020-12-29 13:45:01 +01:00
xen xen-pciback: reconfigure also from backend watch handler 2021-05-26 11:29:06 +02:00
zorro
Kconfig
Makefile