kernel_optimize_test/drivers
Marek Szyprowski d834c5ab83 kernel/dma: remove unsupported gfp_mask parameter from dma_alloc_from_contiguous()
The CMA memory allocator doesn't support standard gfp flags for memory
allocation, so there is no point having it as a parameter for
dma_alloc_from_contiguous() function.  Replace it by a boolean no_warn
argument, which covers all the underlaying cma_alloc() function
supports.

This will help to avoid giving false feeling that this function supports
standard gfp flags and callers can pass __GFP_ZERO to get zeroed buffer,
what has already been an issue: see commit dd65a941f6 ("arm64:
dma-mapping: clear buffers allocated with FORCE_CONTIGUOUS flag").

Link: http://lkml.kernel.org/r/20180709122020eucas1p21a71b092975cb4a3b9954ffc63f699d1~-sqUFoa-h2939329393eucas1p2Y@eucas1p2.samsung.com
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Michał Nazarewicz <mina86@mina86.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Laura Abbott <labbott@redhat.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-08-17 16:20:32 -07:00
..
accessibility
acpi arm64 updates for 4.19 2018-08-14 16:39:13 -07:00
amba
android
ata SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
atm
auxdisplay
base mm: provide a fallback for PAGE_KERNEL_RO for architectures 2018-08-17 16:20:29 -07:00
bcma
block Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-08-15 15:04:25 -07:00
bluetooth Bluetooth: mediatek: pass correct size to h4_recv_buf() 2018-08-13 15:59:39 +02:00
bus
cdrom
char Merge branch 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2018-08-15 22:51:12 -07:00
clk The new and exciting feature this time around is in the clk core. 2018-08-15 21:41:21 -07:00
clocksource Merge branch 'x86-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-08-13 18:28:19 -07:00
connector
cpufreq cpufreq: intel_pstate: Ignore turbo active ratio in HWP 2018-08-06 10:22:27 +02:00
cpuidle
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-08-15 16:01:47 -07:00
dax dax: remove VM_MIXEDMAP for fsdax and device dax 2018-08-17 16:20:27 -07:00
dca
devfreq
dio
dma Merge branch 'asoc-4.19' into asoc-next 2018-08-09 14:47:05 +01:00
dma-buf
edac
eisa
extcon
firewire firewire: use 64-bit time_t based interfaces 2018-08-17 16:20:27 -07:00
firmware media updates for v4.19-rc1 2018-08-15 18:29:14 -07:00
fmc
fpga
fsi
gpio This is the bulk of GPIO changes for the v4.19 kernel cycle: 2018-08-15 21:35:38 -07:00
gpu drm pull for 4.19-rc1 2018-08-15 17:39:07 -07:00
hid
hsi
hv
hwmon Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-08-15 15:04:25 -07:00
hwspinlock
hwtracing
i2c regmap: Changes for v4.19 2018-08-14 11:51:03 -07:00
ide
idle
iio
infiniband pci-v4.19-changes 2018-08-16 09:21:54 -07:00
input m68k updates for 4.19 2018-08-13 09:50:24 -07:00
iommu kernel/dma: remove unsupported gfp_mask parameter from dma_alloc_from_contiguous() 2018-08-17 16:20:32 -07:00
ipack
irqchip irqchip updates for 4.19 2018-08-06 12:45:42 +02:00
isdn
leds leds: ns2: Change unsigned to unsigned int 2018-08-06 23:03:12 +02:00
lightnvm
macintosh
mailbox mailbox: Add support for i.MX messaging unit 2018-08-15 09:53:07 +05:30
mcb
md Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md 2018-08-14 11:03:16 -07:00
media media updates for v4.19-rc1 2018-08-15 18:29:14 -07:00
memory
memstick
message
mfd
misc mm: convert return type of handle_mm_fault() caller to vm_fault_t 2018-08-17 16:20:28 -07:00
mmc Merge branch 'asoc-4.19' into asoc-next 2018-08-09 14:47:05 +01:00
mtd sound updates for 4.19 2018-08-14 14:10:30 -07:00
mux
net pci-v4.19-changes 2018-08-16 09:21:54 -07:00
nfc
ntb
nubus
nvdimm
nvme for-4.19/block-20180812 2018-08-14 10:23:25 -07:00
nvmem
of Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-08-15 15:04:25 -07:00
opp
oprofile
parisc
parport
pci pci-v4.19-changes 2018-08-16 09:21:54 -07:00
pcmcia
perf
phy
pinctrl This is the bulk of pin control changes for v4.19: 2018-08-14 12:31:27 -07:00
platform pci-v4.19-changes 2018-08-16 09:21:54 -07:00
pnp
power
powercap
pps
ps3
ptp ptp_qoriq: use div_u64/div_u64_rem for 64-bit division 2018-08-06 10:43:35 -07:00
pwm
rapidio
ras
regulator Merge branch 'regulator-4.19' into regulator-next 2018-08-10 17:31:24 +01:00
remoteproc
reset
rpmsg
rtc
s390 mm/cma: remove unsupported gfp_mask parameter from cma_alloc() 2018-08-17 16:20:32 -07:00
sbus
scsi SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
sfi
sh
siox
slimbus
sn
soc Power management updates for 4.19-rc1 2018-08-14 13:12:24 -07:00
soundwire
spi Merge branch 'spi-4.19' into spi-next 2018-08-10 17:51:52 +01:00
spmi
ssb ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
staging mm/cma: remove unsupported gfp_mask parameter from cma_alloc() 2018-08-17 16:20:32 -07:00
target SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
tc
tee
thermal Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal 2018-08-16 10:21:18 -07:00
thunderbolt
tty audit/stable-4.18 PR 20180814 2018-08-15 10:46:54 -07:00
uio
usb SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
uwb
vfio VFIO updates for v4.19 2018-08-16 10:34:05 -07:00
vhost SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
video media updates for v4.19-rc1 2018-08-15 18:29:14 -07:00
virt
virtio virtio: Make vp_set_vq_affinity() take a mask. 2018-08-11 12:02:18 -07:00
visorbus
vlynq
vme
w1
watchdog
xen SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
zorro
Kconfig
Makefile