dma-contiguous: check for memory region overlap
authorBinglei Wang <l3b2w1@gmail.com>
Wed, 26 Jul 2023 14:28:23 +0000 (22:28 +0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 31 Jul 2023 15:54:56 +0000 (17:54 +0200)
commit3fa6456ebe13adab3ba1817c8e515a5b88f95dce
treea2b937a3c5bd1fce9156f5bb1af83d42f7c0cec7
parentbf29bfaa54901a4bdee2a18cd10eb951a884a5f9
dma-contiguous: check for memory region overlap

In the process of parsing the DTS, check whether the memory region
specified by the DTS CMA node area overlaps with the kernel text
memory space reserved by memblock before calling
early_init_fdt_scan_reserved_mem.

Signed-off-by: Binglei Wang <l3b2w1@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/contiguous.c