On Mon, Mar 15, 2021 at 06:44:43PM +0800, hulkrobot@xxxxxxxxxx wrote: > Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > Branch: linux-5.10.y > Arch: x86 > Version: 5.10.24-rc1 > Commit: 5b0ddd114df102f34c83b8cd4ce4a03397ab7aa9 > Compiler: gcc version 7.3.0 (GCC) > -------------------------------------------------------------------- > Kernel build failed, error log: > arch/x86/kernel/sev-es.c:1275:14: error: implicit declaration of function ‘irqentry_nmi_enter’; did you mean ‘irqentry_enter’? [-Werror=implicit-function-declaration] > irq_state = irqentry_nmi_enter(regs); > ^~~~~~~~~~~~~~~~~~ > irqentry_enter > arch/x86/kernel/sev-es.c:1275:12: error: incompatible types when assigning to type ‘irqentry_state_t {aka struct irqentry_state}’ from type ‘int’ > irq_state = irqentry_nmi_enter(regs); > ^ > arch/x86/kernel/sev-es.c:1339:2: error: implicit declaration of function ‘irqentry_nmi_exit’; did you mean ‘irqentry_exit’? [-Werror=implicit-function-declaration] > irqentry_nmi_exit(regs, irq_state); > ^~~~~~~~~~~~~~~~~ > irqentry_exit > cc1: some warnings being treated as errors > make[2]: *** [scripts/Makefile.build:279: arch/x86/kernel/sev-es.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... I do not see irqentry_nmi_enter() in this tree at all, where did that come from? > -- > mm/page_alloc.c:3275:2: error: implicit declaration of function ‘split_page_memcg’; did you mean ‘split_page_owner’? [-Werror=implicit-function-declaration] > split_page_memcg(page, 1 << order); > ^~~~~~~~~~~~~~~~ > split_page_owner This is now fixed. thanks, greg k-h