reproduce (this is a W=1 build): git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # https://github.com/atishp04/linux/commit/ff95fdf2b45981994b06f059cabb981c3b22d4ed git remote add atishp04 https://github.com/atishp04/linux git fetch --no-tags atishp04 b4/pmu_event_info git checkout ff95fdf2b45981994b06f059cabb981c3b22d4ed # 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/