Hi Joerg, Thank you for the patch! Yet something to improve: [auto build test ERROR on v5.8-rc5] [cannot apply to tip/x86/core kvm/linux-next tip/x86/mm next-20200714] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Joerg-Roedel/x86-SEV-ES-Guest-Support/20200714-202150 base: 11ba468877bb23f28956a35e896356252d63c983 config: x86_64-randconfig-s021-20200714 (attached as .config) compiler: gcc-9 (Debian 9.3.0-14) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-41-g14e84ffc-dirty # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): In file included from arch/x86/boot/compressed/sev-es.c:122: arch/x86/boot/compressed/../../kernel/sev-es-shared.c: In function 'sev_es_check_cpu_features': >> arch/x86/boot/compressed/../../kernel/sev-es-shared.c:19:7: warning: implicit declaration of function 'has_cpuflag' [-Wimplicit-function-declaration] 19 | if (!has_cpuflag(X86_FEATURE_RDRAND)) { | ^~~~~~~~~~~ -- ld: arch/x86/boot/compressed/sev-es.o: in function `sev_es_shutdown_ghcb': >> sev-es.c:(.text+0xf66): undefined reference to `has_cpuflag' --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org