Description of problem: There are some compilation errores compiling the devel-6.6 branch kernel using the 'arch/loongarch/configs/anolis_defconfig'. Version-Release number of selected component (if applicable): How reproducible: Use the default configuration file to compile the kernel for reproduce. Steps to Reproduce: 1.$ cp arch/loongarch/configs/anolis_defconfig .config 2.$ make menuconfig 3.$ make -j8 Actual results: In file included from kernel/dma/direct.h:10, from kernel/dma/mapping.c:18: ./include/linux/dma-direct.h:53:10: fatal error: asm/dma-direct.h: No such file or directory 53 | #include <asm/dma-direct.h> Expected results: There are no compilation errors Additional info:
fixed by: 84717862cd74 ("anolis: There need drm-direct.h for loongarch under current kernel version")