kernel_optimize_test/drivers/misc
Oded Gabbay d724170160 habanalabs: fix bug in checking huge page optimization
This patch fix a bug in the mmu code that checks whether we can use huge
page mappings for host pages.

The code is supposed to enable huge page mappings only if ALL DMA
addresses are aligned to 2MB AND the number of pages in each DMA chunk is
a modulo of the number of pages in 2MB. However, the code ignored the
first requirement for the first DMA chunk.

This patch fix that issue by making sure the requirement of address
alignment is validated against all DMA chunks.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2019-05-28 23:03:54 +03:00
..
altera-stapl
c2port
cardreader Char/Misc patches for 5.2-rc1 - part 2 2019-05-07 13:39:22 -07:00
cb710
cxl
echo
eeprom
genwqe genwqe: Prevent an integer overflow in the ioctl 2019-05-24 20:40:10 +02:00
habanalabs habanalabs: fix bug in checking huge page optimization 2019-05-28 23:03:54 +03:00
ibmasm
lis3lv02d
lkdtm
mei Char/Misc patches for 5.2-rc1 - part 2 2019-05-07 13:39:22 -07:00
mic
ocxl ocxl: Fix return value check in afu_ioctl() 2019-05-06 20:21:56 +10:00
sgi-gru
sgi-xp
ti-st
vmw_vmci mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
atmel_tclib.c misc: atmel_tclib: Do not probe already used TCBs 2019-05-02 21:55:58 +02:00
atmel-ssc.c
bh1770glc.c
cs5535-mfgpt.c
ds1682.c
dummy-irq.c
enclosure.c
fastrpc.c
fsa9480.c
hmc6352.c
hpilo.c
hpilo.h
ibmvmc.c
ibmvmc.h
ics932s401.c
ioc4.c
isl29003.c
isl29020.c
Kconfig Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-05-19 11:11:20 -07:00
kgdbts.c
lattice-ecp3-config.c
Makefile
pch_phub.c
pci_endpoint_test.c
phantom.c
pti.c
pvpanic.c
qcom-coincell.c
spear13xx_pcie_gadget.c
sram-exec.c
sram.c
sram.h
tifm_7xx1.c
tifm_core.c
tsl2550.c
vexpress-syscfg.c
vmw_balloon.c