1
0
Fork 0
remarkable-linux/drivers
Peng Fan 910ca91606 MLK-15007-1 iommu: arm: pgtable: alloc pagetable in DMA area
Normally the iommu pagetable could be in 64bit address space,
but we have one patch to address PCIE driver, 'commit 9e03e5076269
("MLK-15064-2 ARM64: DMA: limit the dma mask to be 32bit")'

The patch restrict swiotlb and iommu dma to be in 32bit address.

So if we allocate pages in highmem, then dma_map_single will return
a 32bit address. Then, we will get "Cannot accommodate DMA
translation for IOMMU page tables", because `dma != virt_to_phys(pages)`.

So we strict the lpae iommu pgtable in DMA area to fix this issue.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
2018-10-29 11:10:38 +08:00
..
accessibility
acpi ACPI / scan: Initialize status to ACPI_STA_DEFAULT 2018-09-15 09:45:30 +02:00
amba ARM: amba: Don't read past the end of sysfs "driver_override" buffer 2018-05-01 12:58:21 -07:00
android android: binder: fix the race mmap and alloc_new_buf_locked 2018-09-19 22:43:35 +02:00
ata MLK-11681-2 ata: imx: enable sata on imx6qp 2018-10-29 11:10:38 +08:00
atm atm: zatm: Fix potential Spectre v1 2018-07-22 14:28:43 +02:00
auxdisplay auxdisplay: fix broken menu 2018-07-03 11:24:56 +02:00
base MLK-14585-1 power: domain: expose generic_pm_domain structure to clients 2018-10-29 11:10:38 +08:00
bcma
block floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl 2018-10-03 17:00:54 -07:00
bluetooth Bluetooth: hci_ldisc: Free rw_semaphore on close 2018-10-18 09:16:21 +02:00
bus drivers/perf: arm-ccn: don't log to dmesg in event_init 2018-08-03 07:50:31 +02:00
cdrom cdrom: Fix info leak/OOB read in cdrom_ioctl_drive_status 2018-09-05 09:26:42 +02:00
char MLK-13783 char: otp: no need to check bank0/bank1 when prog 2018-10-29 11:10:38 +08:00
clk MLK-15287 clk: imx: imx8mq: increase NOC clock speed 2018-10-29 11:10:38 +08:00
clocksource MLK-13303-7 ARM: imx: add gpt timer support for i.mx6sll 2018-10-29 11:10:38 +08:00
connector
cpufreq MLK-14530-02 driver: cpufreq: Improve the the cpufreq for imx7ulp 2018-10-29 11:10:38 +08:00
cpuidle cpuidle: powernv: Fix promotion from snooze if next state disabled 2018-07-03 11:24:51 +02:00
crypto MLK-14765: Fix DCP Aes timeout issues when used with CTS 2018-10-29 11:10:38 +08:00
dax dev-dax: check_vma: ratelimit dev_info-s 2018-08-24 13:09:08 +02:00
dca
devfreq PM / devfreq: Fix potential NULL pointer dereference in governor_store 2018-04-12 12:32:13 +02:00
dio
dma MLK-15284-4: dma: Kconfig: add MXS_DMA dependency for ARM64 2018-10-29 11:10:38 +08:00
dma-buf dma-buf: remove redundant initialization of sg_table 2018-06-05 11:41:57 +02:00
edac EDAC: Fix memleak in module init error path 2018-10-03 17:00:53 -07:00
eisa
extcon extcon: Release locking when sending the notification of connector state 2018-09-09 19:55:56 +02:00
firewire firewire-ohci: work around oversized DMA reads on JMicron controllers 2018-04-26 11:02:03 +02:00
firmware efi/esrt: Only call efi_mem_reserve() for boot services memory 2018-09-26 08:38:10 +02:00
fmc
fpga fpga-manager: altera-ps-spi: preserve nCONFIG state 2018-05-01 12:58:24 -07:00
fsi
gpio MLK-14966-4 gpio: imx: add build dependency 2018-10-29 11:10:38 +08:00
gpu MLK-17750: drm/imx: ldb: Fix build on imx6/7 2018-10-29 11:10:38 +08:00
hid HID: quirks: fix support for Apple Magic Keyboards 2018-10-20 09:48:53 +02:00
hsi
hv Drivers: hv: vmbus: Use get/put_cpu() in vmbus_connect() 2018-10-10 08:54:28 +02:00
hwmon MLK-11556-1 pmic: max17135: add hwmon, mfd and regulator drivers for this pmic 2018-10-29 11:10:38 +08:00
hwspinlock
hwtracing intel_th: pci: Add Ice Lake PCH support 2018-10-20 09:48:50 +02:00
i2c MLK-14982-1 imx8: lpi2c: add ipg clk for lpi2c driver 2018-10-29 11:10:38 +08:00
ide cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:52:34 +02:00
idle intel_idle: Graceful probe failure when MWAIT is disabled 2018-08-09 12:16:39 +02:00
iio MLK-11476 iio: adc: Enable i.MX6SX adc driver. 2018-10-29 11:10:38 +08:00
infiniband IB/hfi1: Fix destroy_qp hang after a link down 2018-10-20 09:48:54 +02:00
input MLK-14619 input: keyboard: rpmsg-keys: add rpmsg-keys driver 2018-10-29 11:10:38 +08:00
iommu MLK-15007-1 iommu: arm: pgtable: alloc pagetable in DMA area 2018-10-29 11:10:38 +08:00
ipack
irqchip MLK-15009 irqchip: imx-irqsteer: correct type of irqstat 2018-10-29 11:10:38 +08:00
isdn isdn: Disable IIOCDBGVAR 2018-08-22 07:46:11 +02:00
leds leds: pm8058: Silence pointer to integer size warning 2018-03-19 08:42:50 +01:00
lightnvm lightnvm: pblk: free padded entries in write buffer 2018-09-15 09:45:35 +02:00
macintosh macintosh/via-pmu: Add missing mmio accessors 2018-09-19 22:43:41 +02:00
mailbox mailbox: xgene-slimpro: Fix potential NULL pointer dereference 2018-09-09 19:55:54 +02:00
mcb
md dm linear: fix linear_end_io conditional definition 2018-10-18 09:16:24 +02:00
media MLK-15124-04: image ss: Add mx8 image subsystem driver 2018-10-29 11:10:38 +08:00
memory memory: tegra: Apply interrupts mask per SoC 2018-08-03 07:50:38 +02:00
memstick
message scsi: mptfusion: Add bounds check in mptctl_hp_targetinfo() 2018-05-25 16:17:47 +02:00
mfd MLK-13608: mfd: mxc-hdmi-core: fix the dependency of alsa sound 2018-10-29 11:10:38 +08:00
misc MLK-12181 misc: at25: Cleaning up missing null-terminate in conjunction with strncpy 2018-10-29 11:10:38 +08:00
mmc MLK-15010 mmc: host: sdhci-esdhc-imx: add HS400_ES support for imx8 2018-10-29 11:10:38 +08:00
mtd MLK-15284-3: mtd: nand: gpmi-nand: support NAND on i.MX8QXP 2018-10-29 11:10:38 +08:00
mux
mxc MLK-15132-5 : Enable Hantro decoder on i.MX8MQ 2018-10-29 11:10:38 +08:00
net MLK-14618 net: fec: fixed-link don't need phy fixup setting 2018-10-29 11:10:38 +08:00
nfc NFC: pn533: Fix wrong GFP flag usage 2018-08-24 13:09:06 +02:00
ntb ntb_transport: Fix bug with max_mw_size parameter 2018-04-26 11:02:13 +02:00
nubus
nvdimm libnvdimm: fix ars_status output length calculation 2018-09-09 19:56:01 +02:00
nvme nvme_fc: fix ctrl create failures racing with workq items 2018-10-13 09:27:28 +02:00
nvmem nvmem: Don't let a NULL cell_id for nvmem_cell_get() crash us 2018-08-24 13:09:14 +02:00
of of: of_reserved_mem: Ensure cma reserved region not cross the low/high memory 2018-10-29 11:10:38 +08:00
oprofile
parisc parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode 2018-05-30 07:52:28 +02:00
parport parport: sunbpp: fix error return code 2018-09-26 08:38:12 +02:00
pci MLK-15119 PCI: imx: remove the wrong rebased codes 2018-10-29 11:10:38 +08:00
pcmcia PCMCIA / PM: Avoid noirq suspend aborts during suspend-to-idle 2018-05-30 07:52:39 +02:00
perf MLK-13855-3: perf: ddr-perf: Add counter overflow handling 2018-10-29 11:10:38 +08:00
phy MLK-15001-22 phy: Add Mixel LVDS combo PHY support 2018-10-29 11:10:38 +08:00
pinctrl MLK-15128-4 pinctrl: freescale: add i.mx8mq pinctrl driver support 2018-10-29 11:10:38 +08:00
platform platform/x86: alienware-wmi: Correct a memory leak 2018-09-29 03:06:03 -07:00
pnp
power MLK-14473: touchscreen: Fix return type 2018-10-29 11:10:38 +08:00
powercap
pps
ps3
ptp ptp: fix missing break in switch 2018-07-25 11:25:10 +02:00
pwm MLK-14238-01 driver: pwm: Add tpm pwm driver support 2018-10-29 11:10:38 +08:00
rapidio
ras
regulator MLK-14275: regulator: pf1550-regulator-rpmsg: clear 'u32 val' before read value by rpmsg 2018-10-29 11:10:38 +08:00
remoteproc remoteproc: qcom: Fix potential device node leaks 2018-06-21 04:02:48 +09:00
reset MLK-15092 reset: gpio-reset: add post reset delay 2018-10-29 11:10:38 +08:00
rpmsg MLK-14659 rpmsg: imx: tty: restore support for imx7d 2018-10-29 11:10:38 +08:00
rtc MLK-14695-3 rtc: add imx sc rtc driver 2018-10-29 11:10:38 +08:00
s390 s390/cio: Fix how vfio-ccw checks pinned pages 2018-10-18 09:16:23 +02:00
sbus
scsi MLK-11444 ata: imx: cmd buf corruption errata bug fix 2018-10-29 11:10:38 +08:00
sfi
sh
sn
soc MLK-15285-2 soc: imx: add HAVE_IMX_SOC for soc driver 2018-10-29 11:10:38 +08:00
spi MLK-12076-4: spi: spi-imx: add imx6ul device type 2018-10-29 11:10:38 +08:00
spmi
ssb
staging staging: ccree: check DMA pool buf !NULL before free 2018-10-20 09:48:53 +02:00
target scsi: iscsi: target: Don't use stack buffer for scatterlist 2018-10-18 09:16:21 +02:00
tc
tee tee: check shm references are consistent in offset/size 2018-06-21 04:02:54 +09:00
thermal MLK-15075 thermal: imx: fix temp read failure on i.mx7d 2018-10-29 11:10:38 +08:00
thunderbolt thunderbolt: Prevent crash when ICM firmware is not running 2018-04-24 09:36:29 +02:00
tty MLK-15094 tty: serial: fsl_lpuart: check dma_tx_in_progress in callback 2018-10-29 11:10:38 +08:00
uio uio: potential double frees if __uio_register_device() fails 2018-09-19 22:43:40 +02:00
usb MLK-15074-10 usb: gadget: utp: correct the set_fs condition 2018-10-29 11:10:38 +08:00
uwb uwb: hwa-rc: fix memory leak at probe 2018-10-03 17:00:46 -07:00
vfio vfio/type1: Fix task tracking for QEMU vCPU hotplug 2018-08-03 07:50:23 +02:00
vhost vhost: correctly check the iova range when waking virtqueue 2018-09-15 09:45:25 +02:00
video MLK-15001-11 gpu: Move ipuv3 and dpu to imx folder 2018-10-29 11:10:38 +08:00
virt
virtio virtio_balloon: fix increment of vb->num_pfns in fill_balloon() 2018-10-13 09:27:30 +02:00
vlynq
vme
w1 1wire: family module autoload fails because of upper/lower case mismatch. 2018-07-03 11:24:47 +02:00
watchdog MLK-13632 driver: watchdog: Fix system reset when sending wdog unlock sequence 2018-10-29 11:10:38 +08:00
xen xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage 2018-10-10 08:54:26 +02:00
zorro zorro: Set up z->dev.dma_mask for the DMA API 2018-05-30 07:52:30 +02:00
Kconfig MLK-11355 driver/mxc: add mxc special driver 2018-10-29 11:10:38 +08:00
Makefile MLK-11355 driver/mxc: add mxc special driver 2018-10-29 11:10:38 +08:00