tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10 head: d2945e83762685e27b20286924d8e59daa10233f commit: 79b0a1f26446bb3026f29a6cc0cf40d82112ca85 [9987/9999] CHROMIUM: gpu: mali: Apply Valhall r32p0 EAC release config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20220118/202201181455.oCI9OMRx-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c10cbb243cafc0cf42c3e922cb29183279444432) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel git fetch --no-tags chrome-os chromeos-5.10 git checkout 79b0a1f26446bb3026f29a6cc0cf40d82112ca85 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/arm/valhall/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/arm/valhall/mali_kbase_jd_debugfs.c:80:24: warning: format specifies type 'unsigned int' but the argument has type 'u64' (aka 'unsigned long long') [-Wformat] fence->context, fence->seqno, ^~~~~~~~~~~~ drivers/gpu/arm/valhall/mali_kbase_jd_debugfs.c:99:24: warning: format specifies type 'unsigned int' but the argument has type 'u64' (aka 'unsigned long long') [-Wformat] fence->context, fence->seqno, ^~~~~~~~~~~~ 2 warnings generated. -- >> drivers/gpu/arm/valhall/backend/gpu/mali_kbase_irq_linux.c:182:13: warning: no previous prototype for function 'kbase_gpu_irq_test_handler' [-Wmissing-prototypes] irqreturn_t kbase_gpu_irq_test_handler(int irq, void *data, u32 val) ^ drivers/gpu/arm/valhall/backend/gpu/mali_kbase_irq_linux.c:182:1: note: declare 'static' if the function is not intended to be used outside of this translation unit irqreturn_t kbase_gpu_irq_test_handler(int irq, void *data, u32 val) ^ static drivers/gpu/arm/valhall/backend/gpu/mali_kbase_irq_linux.c:210:5: warning: no previous prototype for function 'kbase_set_custom_irq_handler' [-Wmissing-prototypes] int kbase_set_custom_irq_handler(struct kbase_device *kbdev, ^ drivers/gpu/arm/valhall/backend/gpu/mali_kbase_irq_linux.c:210:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int kbase_set_custom_irq_handler(struct kbase_device *kbdev, ^ static 2 warnings generated. vim +/kbase_gpu_irq_test_handler +182 drivers/gpu/arm/valhall/backend/gpu/mali_kbase_irq_linux.c f38632197c49e6 Nicolas Boichat 2020-04-18 168 f38632197c49e6 Nicolas Boichat 2020-04-18 169 /** f38632197c49e6 Nicolas Boichat 2020-04-18 170 * kbase_gpu_irq_test_handler - Variant (for test) of kbase_gpu_irq_handler() f38632197c49e6 Nicolas Boichat 2020-04-18 171 * @irq: IRQ number f38632197c49e6 Nicolas Boichat 2020-04-18 172 * @data: Data associated with this IRQ (i.e. kbdev) f38632197c49e6 Nicolas Boichat 2020-04-18 173 * @val: Value of the GPU_CONTROL_REG(GPU_IRQ_STATUS) f38632197c49e6 Nicolas Boichat 2020-04-18 174 * f38632197c49e6 Nicolas Boichat 2020-04-18 175 * Handle the GPU device interrupt source requests reflected in the f38632197c49e6 Nicolas Boichat 2020-04-18 176 * given source bit-pattern. The test code caller is responsible for f38632197c49e6 Nicolas Boichat 2020-04-18 177 * undertaking the required device power maintenace. f38632197c49e6 Nicolas Boichat 2020-04-18 178 * f38632197c49e6 Nicolas Boichat 2020-04-18 179 * Return: IRQ_HANDLED if the requests are from the GPU device, f38632197c49e6 Nicolas Boichat 2020-04-18 180 * IRQ_NONE otherwise f38632197c49e6 Nicolas Boichat 2020-04-18 181 */ 10cd017481f1fa Fei Shao 2021-06-17 @182 irqreturn_t kbase_gpu_irq_test_handler(int irq, void *data, u32 val) f38632197c49e6 Nicolas Boichat 2020-04-18 183 { f38632197c49e6 Nicolas Boichat 2020-04-18 184 struct kbase_device *kbdev = kbase_untag(data); f38632197c49e6 Nicolas Boichat 2020-04-18 185 f38632197c49e6 Nicolas Boichat 2020-04-18 186 if (!val) f38632197c49e6 Nicolas Boichat 2020-04-18 187 return IRQ_NONE; f38632197c49e6 Nicolas Boichat 2020-04-18 188 f38632197c49e6 Nicolas Boichat 2020-04-18 189 dev_dbg(kbdev->dev, "%s: irq %d irqstatus 0x%x\n", __func__, irq, val); f38632197c49e6 Nicolas Boichat 2020-04-18 190 f38632197c49e6 Nicolas Boichat 2020-04-18 191 kbase_gpu_interrupt(kbdev, val); f38632197c49e6 Nicolas Boichat 2020-04-18 192 f38632197c49e6 Nicolas Boichat 2020-04-18 193 return IRQ_HANDLED; f38632197c49e6 Nicolas Boichat 2020-04-18 194 } f38632197c49e6 Nicolas Boichat 2020-04-18 195 :::::: The code at line 182 was first introduced by commit :::::: 10cd017481f1fa5fd8308956be32117a4103519f CHROMIUM: MALI: Include kutf modules :::::: TO: Fei Shao :::::: CC: Commit Bot --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org