Anshuman Khandual
98fa15f34c
mm: replace all open encodings for NUMA_NO_NODE
...
Patch series "Replace all open encodings for NUMA_NO_NODE", v3.
All these places for replacement were found by running the following
grep patterns on the entire kernel code. Please let me know if this
might have missed some instances. This might also have replaced some
false positives. I will appreciate suggestions, inputs and review.
1. git grep "nid == -1"
2. git grep "node == -1"
3. git grep "nid = -1"
4. git grep "node = -1"
This patch (of 2):
At present there are multiple places where invalid node number is
encoded as -1. Even though implicitly understood it is always better to
have macros in there. Replace these open encodings for an invalid node
number with the global macro NUMA_NO_NODE. This helps remove NUMA
related assumptions like 'invalid node' from various places redirecting
them to a common definition.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Anshuman Khandual <[email protected] >
Reviewed-by: David Hildenbrand <[email protected] >
Acked-by: Jeff Kirsher <[email protected] > [ixgbe]
Acked-by: Jens Axboe <[email protected] > [mtip32xx]
Acked-by: Vinod Koul <[email protected] > [dmaengine.c]
Acked-by: Michael Ellerman <[email protected] > [powerpc]
Acked-by: Doug Ledford <[email protected] > [drivers/infiniband]
Cc: Joseph Qi <[email protected] >
Cc: Hans Verkuil <[email protected] >
Cc: Stephen Rothwell <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2019-03-05 21:07:14 -08:00
..
bestcomm
treewide: kmalloc() -> kmalloc_array()
2018-06-12 16:19:22 -07:00
dw
dmaengine-4.21-rc1
2019-01-01 15:45:48 -08:00
dw-axi-dmac
dmaengine: dw-axi-dmac: use dmaenginem_async_device_register to simplify the code
2018-08-29 21:43:17 +05:30
hsu
dmaengine: hsu: remove dma_slave_config direction usage
2018-10-07 19:25:09 +05:30
ioat
pci-v4.20-changes
2018-10-25 06:50:48 -07:00
ipu
treewide: Use array_size() in vmalloc()
2018-06-12 16:19:22 -07:00
mediatek
cross-tree: phase out dma_zalloc_coherent()
2019-01-08 07:58:37 -05:00
ppc4xx
dmaengine: ppc4xx: fix off-by-one build failure
2018-10-16 20:08:30 +05:30
qcom
dmaengine: qcom_hidma: convert to DEFINE_SHOW_ATTRIBUTE
2018-12-17 11:49:41 +05:30
sh
IOMMU Updates for Linux v4.21
2019-01-01 15:55:29 -08:00
ti
dmaengine: cppi41: delete channel from pending list when stop channel
2018-12-05 14:01:59 +05:30
xilinx
cross-tree: phase out dma_zalloc_coherent()
2019-01-08 07:58:37 -05:00
acpi-dma.c
altera-msgdma.c
amba-pl08x.c
dmaengine: amba-pl08x: convert to DEFINE_SHOW_ATTRIBUTE
2018-12-17 11:49:41 +05:30
at_hdmac.c
dmaengine: at_hdmac: fix module unloading
2018-11-29 19:49:41 +05:30
at_hdmac_regs.h
at_xdmac.c
dmaengine: at_xdmac: Fix wrongfull report of a channel as in use
2019-02-02 15:55:26 +05:30
bcm-sba-raid.c
treewide: Use struct_size() for devm_kmalloc() and friends
2018-06-06 11:15:43 -07:00
bcm2835-dma.c
dmaengine: bcm2835: Fix abort of transactions
2019-02-04 12:41:13 +05:30
coh901318.c
dmaengine: coh901318: Remove unused variable
2018-11-26 13:35:52 +05:30
coh901318.h
coh901318_lli.c
dma-axi-dmac.c
dmaengine: axi-dmac: Request IRQ with IRQF_SHARED
2018-05-02 10:06:42 +05:30
dma-jz4740.c
dmaengine: jz4740: remove dma_slave_config direction usage
2018-10-07 19:20:14 +05:30
dma-jz4780.c
Merge branch 'topic/jz' into for-linus
2018-10-24 09:16:04 +01:00
dmaengine.c
mm: replace all open encodings for NUMA_NO_NODE
2019-03-05 21:07:14 -08:00
dmaengine.h
dmatest.c
dmaengine: dmatest: Abort test in case of mapping error
2019-02-04 14:34:22 +05:30
ep93xx_dma.c
dmaengine: ep93xx: fix some typo
2018-11-11 14:56:49 +05:30
fsl-edma-common.c
dmaengine: fsl-edma: remove dma_slave_config direction usage
2018-10-09 14:29:58 +05:30
fsl-edma-common.h
dmaengine: fsl-edma: remove dma_slave_config direction usage
2018-10-09 14:29:58 +05:30
fsl-edma.c
dmaengine: fsl-edma: add edma version and configurable registers
2018-09-11 12:06:39 +05:30
fsl_raid.c
fsl_raid.h
fsldma.c
dmaengine: fsldma: move spin_lock_bh to spin_lock in tasklet
2018-09-03 16:23:00 +05:30
fsldma.h
idma64.c
Merge branch 'topic/intel' into for-linus
2018-10-24 09:15:59 +01:00
idma64.h
img-mdc-dma.c
imx-dma.c
dmaengine: imx-dma: fix wrong callback invoke
2019-02-04 12:35:12 +05:30
imx-sdma.c
cross-tree: phase out dma_zalloc_coherent()
2019-01-08 07:58:37 -05:00
iop-adma.c
k3dma.c
dmaengine: k3dma: remove dma_slave_config direction usage
2018-10-07 19:25:10 +05:30
Kconfig
dmaengine: uniphier-mdmac: add UniPhier MIO DMAC driver
2018-11-24 19:42:59 +05:30
lpc18xx-dmamux.c
Makefile
dmaengine: uniphier-mdmac: add UniPhier MIO DMAC driver
2018-11-24 19:42:59 +05:30
mcf-edma.c
dmaengine: mcf-edma: avoid warning for wrong pointer cast
2018-09-18 12:15:45 -07:00
mic_x100_dma.c
dmaengine: mic_x100_dma: convert to DEFINE_SHOW_ATTRIBUTE
2018-12-17 11:49:41 +05:30
mic_x100_dma.h
mmp_pdma.c
dmaengine: mmp_pdma: remove dma_slave_config direction usage
2018-11-05 10:32:46 +05:30
mmp_tdma.c
Merge branch 'topic/dmam' into for-linus
2018-10-24 09:15:43 +01:00
moxart-dma.c
treewide: Use struct_size() for kmalloc()-family
2018-06-06 11:15:43 -07:00
mpc512x_dma.c
mv_xor.c
dmaengine: mv_xor: move spin_lock_bh to spin_lock in tasklet
2018-09-03 16:23:31 +05:30
mv_xor.h
mv_xor_v2.c
dmaengine: mv_xor_v2: use {lower,upper}_32_bits to configure HW descriptor address
2018-07-25 17:53:22 +05:30
mxs-dma.c
cross-tree: phase out dma_zalloc_coherent()
2019-01-08 07:58:37 -05:00
nbpfaxi.c
Merge branch 'topic/renesas' into for-linus
2018-10-24 09:16:22 +01:00
of-dma.c
owl-dma.c
dmaengine: owl: Fix warnings generated during build
2018-10-15 22:39:16 +05:30
pch_dma.c
pl330.c
dmaengine: pl330: remove dma_slave_config direction usage
2018-11-24 20:22:21 +05:30
pxa_dma.c
dmaengine-4.21-rc1
2019-01-01 15:45:48 -08:00
s3c24xx-dma.c
headers: separate linux/mod_devicetable.h from linux/platform_device.h
2018-07-07 17:52:26 +02:00
sa11x0-dma.c
dmaengine: sa11x0: unexport sa11x0_dma_filter_fn and clean up
2018-11-11 14:54:08 +05:30
sirf-dma.c
sprd-dma.c
dmaengine: sprd: Add me as one of the module authors
2018-12-05 14:27:12 +05:30
st_fdma.c
dmaengine: st_fdma: use dmaenginem_async_device_register to simplify the code
2018-08-29 21:43:17 +05:30
st_fdma.h
ste_dma40.c
dmaengine: ste_dma40: remove dma_slave_config direction usage
2018-11-24 20:22:21 +05:30
ste_dma40_ll.c
ste_dma40_ll.h
stm32-dma.c
dmaengine: stm32-dma: check whether length is aligned on FIFO threshold
2018-10-02 20:32:15 +05:30
stm32-dmamux.c
dmaengine: stm32-dmamux: fix a potential buffer overflow
2018-03-22 10:51:35 +05:30
stm32-mdma.c
dmaengine: stm32-mdma: use dmaenginem_async_device_register to simplify the code
2018-08-29 21:43:17 +05:30
sun4i-dma.c
sun6i-dma.c
tegra20-apb-dma.c
tegra210-adma.c
timb_dma.c
dmaengine: timb_dma: Use proper enum in td_prep_slave_sg
2018-10-02 20:11:09 +05:30
TODO
txx9dmac.c
dmaengine: txx9dmac: simplify getting .drvdata
2018-04-22 21:38:06 +05:30
txx9dmac.h
uniphier-mdmac.c
dmaengine: uniphier-mdmac: add UniPhier MIO DMAC driver
2018-11-24 19:42:59 +05:30
virt-dma.c
virt-dma.h
xgene-dma.c
cross-tree: phase out dma_zalloc_coherent()
2019-01-08 07:58:37 -05:00
zx_dma.c
treewide: devm_kzalloc() -> devm_kcalloc()
2018-06-12 16:19:22 -07:00