On Wed, Sep 30, 2020 at 10:55:40AM +0200, Christoph Hellwig wrote: > Split out all the bits that are purely for dma_map_ops implementations > and related code into a new <linux/dma-map-ops.h> header so that they > don't get pulled into all the drivers. That also means the architecture > specific <asm/dma-mapping.h> is not pulled in by <linux/dma-mapping.h> > any more, which leads to a missing includes that were pulled in by the > x86 or arm versions in a few not overly portable drivers. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> This patch results in the following build error. Building arm:ixp4xx_defconfig ... failed -------------- Error log: arch/arm/mach-ixp4xx/common.c: In function 'ixp4xx_platform_notify_remove': arch/arm/mach-ixp4xx/common.c:291:3: error: implicit declaration of function 'dmabounce_unregister_dev' [-Werror=implicit-function-declaration] 291 | dmabounce_unregister_dev(dev); | ^~~~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-ixp4xx/common.c: In function 'ixp4xx_platform_notify': arch/arm/mach-ixp4xx/common.c:307:3: error: implicit declaration of function 'dmabounce_register_dev' [-Werror=implicit-function-declaration] 307 | dmabounce_register_dev(dev, 2048, 4096, ixp4xx_needs_bounce); Bisect log attached. Guenter --- # bad: [d67bc7812221606e1886620a357b13f906814af7] Add linux-next specific files for 20201009 # good: [549738f15da0e5a00275977623be199fbbf7df50] Linux 5.9-rc8 git bisect start 'HEAD' 'v5.9-rc8' # bad: [b71be15b496cc71a3434a198fc1a1b9e08af6c57] Merge remote-tracking branch 'bpf-next/master' into master git bisect bad b71be15b496cc71a3434a198fc1a1b9e08af6c57 # bad: [6be11f939f380ef14bc94242cb0262197ce2a054] Merge remote-tracking branch 'i2c/i2c/for-next' into master git bisect bad 6be11f939f380ef14bc94242cb0262197ce2a054 # bad: [c03a115d8ad8a87b6d275c3c91c13bc111217bf6] Merge remote-tracking branch 'samsung-krzk/for-next' into master git bisect bad c03a115d8ad8a87b6d275c3c91c13bc111217bf6 # good: [4f7233567480421eab9c622f395854bfd925f9f2] Merge branch 'arm/dt' into for-next git bisect good 4f7233567480421eab9c622f395854bfd925f9f2 # bad: [0fa3d3941f0f9fc9b39621af3309b5fdf0c1a6cb] Merge remote-tracking branch 'arm/for-next' into master git bisect bad 0fa3d3941f0f9fc9b39621af3309b5fdf0c1a6cb # good: [1357d119df6c359a2903a46522c2511d990db9bb] Merge remote-tracking branch 'sound-current/for-linus' into master git bisect good 1357d119df6c359a2903a46522c2511d990db9bb # good: [bd02811392faa248d95f8559498c03933eb7d78b] Merge remote-tracking branch 'kspp-gustavo/for-next/kspp' into master git bisect good bd02811392faa248d95f8559498c03933eb7d78b # bad: [0b1abd1fb7efafc25231c54a67c6fbb3d3127efd] dma-mapping: merge <linux/dma-contiguous.h> into <linux/dma-map-ops.h> git bisect bad 0b1abd1fb7efafc25231c54a67c6fbb3d3127efd # good: [b9bb694b9f62f4b31652223ed3ca38cf98bbb370] iommu/io-pgtable-arm: Clean up faulty sanity check git bisect good b9bb694b9f62f4b31652223ed3ca38cf98bbb370 # good: [ed4bc1890b4984d0af447ad3cc1f93541623f8f3] hal2: convert to dma_alloc_noncoherent git bisect good ed4bc1890b4984d0af447ad3cc1f93541623f8f3 # good: [e8d39a903cc680c8c1ab5e528428f182f42b8a35] dma-iommu: implement ->alloc_noncoherent git bisect good e8d39a903cc680c8c1ab5e528428f182f42b8a35 # bad: [0a0f0d8be76dcd4390ff538e7060fda34db79717] dma-mapping: split <linux/dma-mapping.h> git bisect bad 0a0f0d8be76dcd4390ff538e7060fda34db79717 # good: [0de327969b61a245e3a47b60009eae73fe513cef] cma: decrease CMA_ALIGNMENT lower limit to 2 git bisect good 0de327969b61a245e3a47b60009eae73fe513cef # first bad commit: [0a0f0d8be76dcd4390ff538e7060fda34db79717] dma-mapping: split <linux/dma-mapping.h>