Re: [PATCH] mailbox: pcc: support polling mode when there is no platform IRQ
From: kernel test robot
Date: Tue Nov 11 2025 - 13:30:10 EST
Hi Andrea,
kernel test robot noticed the following build warnings:
[auto build test WARNING on rafael-pm/linux-next]
[also build test WARNING on rafael-pm/bleeding-edge jassibrar-mailbox/for-next linus/master v6.18-rc5 next-20251111]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Andrea-Tomassetti/mailbox-pcc-support-polling-mode-when-there-is-no-platform-IRQ/20251110-232950
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/r/20251110150825.3548819-1-andrea.tomassetti%40sipearl.com
patch subject: [PATCH] mailbox: pcc: support polling mode when there is no platform IRQ
config: i386-randconfig-061-20251111 (https://download.01.org/0day-ci/archive/20251112/202511120243.soxAFpqQ-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251112/202511120243.soxAFpqQ-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511120243.soxAFpqQ-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> drivers/acpi/acpi_pcc.c:89:70: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void *mssg @@ got void [noderef] __iomem *shmem @@
drivers/acpi/acpi_pcc.c:89:70: sparse: expected void *mssg
drivers/acpi/acpi_pcc.c:89:70: sparse: got void [noderef] __iomem *shmem
vim +89 drivers/acpi/acpi_pcc.c
83
84 static acpi_status
85 acpi_pcc_send_msg_polling(struct pcc_data *data)
86 {
87 int ret;
88
> 89 ret = mbox_send_message(data->pcc_chan->mchan, data->pcc_chan->shmem);
90 if (ret == -ETIME) {
91 pr_err("PCC command executed timeout!\n");
92 return AE_TIME;
93 }
94
95 if (ret < 0)
96 return AE_ERROR;
97
98 if (!mbox_client_peek_data(data->pcc_chan->mchan))
99 return AE_ERROR;
100
101 return AE_OK;
102 }
103
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki