1
1
openwrt/target/linux
Robert Marko da9eee7c55 generic: 6.18: hack: io_uring: zcrx: Use IS_REACHABLE() instead of IS_ENABLED()
We patch DMA_BUF to make it tristate, so once ALL_KMODS is selected it will
be built as a module even if previously disabled in the config.

So, since IO_URING_ZCRX does not depend on DMA_BUF linking will fail with:
aarch64-openwrt-linux-musl-ld: Unexpected GOT/PLT entries detected!
aarch64-openwrt-linux-musl-ld: Unexpected run-time procedure linkages detected!
aarch64-openwrt-linux-musl-ld: io_uring/zcrx.o: in function `io_release_dmabuf':
io_uring/zcrx.c:94:(.text+0x20): undefined reference to `dma_buf_unmap_attachment_unlocked'
aarch64-openwrt-linux-musl-ld: io_uring/zcrx.c:97:(.text+0x30): undefined reference to `dma_buf_detach'
aarch64-openwrt-linux-musl-ld: io_uring/zcrx.c:99:(.text+0x3c): undefined reference to `dma_buf_put'
aarch64-openwrt-linux-musl-ld: io_uring/zcrx.o: in function `io_import_dmabuf':
io_uring/zcrx.c:125:(.text+0x1b20): undefined reference to `dma_buf_get'
aarch64-openwrt-linux-musl-ld: io_uring/zcrx.c:132:(.text+0x1b34): undefined reference to `dma_buf_attach'
aarch64-openwrt-linux-musl-ld: io_uring/zcrx.c:139:(.text+0x1b48): undefined reference to `dma_buf_map_attachment_unlocked'
make[6]: *** [scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 1

So, lets use IS_REACHABLE() to check for CONFIG_DMA_SHARED_BUFFER instead
to avoid adding a dependency to CONFIG_DMA_SHARED_BUFFER.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2026-03-31 18:55:50 +02:00
..
airoha kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
apm821xx Revert "apm821xx: rename pciex to pcie" 2026-02-10 14:54:23 +01:00
armsr kernel: lift CONFIG_REGULATOR_VEXPRESS 'not set' to generic 2026-02-28 10:12:15 +01:00
at91 kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
ath79 ar8327: remove platform data support 2026-03-31 11:44:27 +02:00
bcm27xx kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
bcm47xx kernel: bump 6.12 to 6.12.64 2026-01-15 01:22:47 +01:00
bcm53xx bcm53xx: mr26: fix nvmem MAC override 2026-03-11 12:13:14 +01:00
bcm4908 kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
bmips Revert "bmips: huawei-hg556a-c: use nvmem for wifi eeprom" 2026-02-20 23:01:29 +01:00
d1 d1: Enable LED driver for D1 builds 2026-01-23 10:35:36 +01:00
econet kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
gemini gemini: add support for Teltonika RUT104 2026-02-17 11:27:22 +01:00
generic generic: 6.18: hack: io_uring: zcrx: Use IS_REACHABLE() instead of IS_ENABLED() 2026-03-31 18:55:50 +02:00
imx imx: cortexa53: remove KSZ9477 static driver 2026-03-13 19:59:59 +01:00
ipq40xx treewide: linksys: remove unnecessary properties 2026-03-30 19:35:41 +02:00
ipq806x treewide: linksys: remove unnecessary properties 2026-03-30 19:35:41 +02:00
ixp4xx ixp4xx: select the GPIO keys input package 2026-01-28 18:59:47 +01:00
kirkwood kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
lantiq lantiq: fix u-boot env size for Netgear DGN3500 2026-03-31 15:42:31 +02:00
layerscape kernel: bump 6.12 to 6.12.71 2026-02-14 18:30:02 +01:00
loongarch64 loongarch64: set PREEMPT_NONE as default preemption model 2026-01-24 22:54:29 +01:00
malta malta: convert to Device macro image building 2026-02-11 00:08:34 +01:00
mediatek mediatek: filogic: ASUS RT-AX52 PRO support 2026-03-31 16:56:03 +02:00
microchipsw microchipsw: add 6.18 testing kernel 2026-03-29 18:07:05 +02:00
mpc85xx mpc85xx: remove swconfig package 2026-03-21 22:34:27 +01:00
mvebu kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
mxs mxs: enable 6.18 testing kernel 2026-03-29 18:52:41 +02:00
octeon kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
omap kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
pistachio kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
qoriq package: uboot-qoriq: fix T4240RDB u-boot selection 2026-01-12 13:59:30 +01:00
qualcommax treewide: linksys: remove unnecessary properties 2026-03-30 19:35:41 +02:00
qualcommbe kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
ramips ramips: fix WAN LED GPIO for Xiaomi Mi Router 4C 2026-03-31 15:45:30 +02:00
realtek realtek: dts: convert nand targets to PHY_C22() macro 2026-03-31 12:56:24 +02:00
rockchip kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
sifiveu kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
siflower kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
starfive kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
stm32 kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
sunxi sunxi: add PineCube support 2026-03-21 16:43:47 +01:00
tegra kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
uml kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
x86 kernel: refresh patches 2026-03-28 11:51:11 +01:00
zynq kernel: lift CONFIG_REGULATOR_VEXPRESS 'not set' to generic 2026-02-28 10:12:15 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00