reproduce (this is a W=1 build): git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # https://github.com/atishp04/linux/commit/13431ba3bc15adfb3c82e508dfd5877d9d08c435 git remote add atishp04 https://github.com/atishp04/linux git fetch --no-tags atishp04 b4/pmu_event_info_v2 git checkout 13431ba3bc15adfb3c82e508dfd5877d9d08c435 # save the config file mkdir build_dir && cp config build_dir/.config ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=riscv olddefconfig ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/perf/