[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202511120729.R3XQNSnx-lkp@intel.com>
Date: Wed, 12 Nov 2025 08:07:20 +0800
From: kernel test robot <lkp@...el.com>
To: Andrea Tomassetti <andrea.tomassetti@...earl.com>, sudeep.holla@....com,
jassisinghbrar@...il.com, rafael@...nel.org
Cc: oe-kbuild-all@...ts.linux.dev,
Andrea Tomassetti <andrea.tomassetti@...earl.com>, lenb@...nel.org,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
olivierdautricourt@...il.com,
Thibault Cantori <thibault.cantori@...earl.com>,
Olivier Dautricourt <olivier.dautricourt@...earl.com>
Subject: Re: [PATCH] mailbox: pcc: support polling mode when there is no
platform IRQ
Hi Andrea,
kernel test robot noticed the following build errors:
[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR 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-buildonly-randconfig-002-20251112 (https://download.01.org/0day-ci/archive/20251112/202511120729.R3XQNSnx-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251112/202511120729.R3XQNSnx-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511120729.R3XQNSnx-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: drivers/acpi/acpi_pcc.o: in function `acpi_pcc_address_space_handler':
>> drivers/acpi/acpi_pcc.c:148:(.text+0x7e): undefined reference to `__udivdi3'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for OF_GPIO
Depends on [n]: GPIOLIB [=y] && OF [=n] && HAS_IOMEM [=y]
Selected by [y]:
- GPIO_TB10X [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && (ARC_PLAT_TB10X || COMPILE_TEST [=y])
WARNING: unmet direct dependencies detected for GPIO_SYSCON
Depends on [n]: GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && OF [=n]
Selected by [m]:
- GPIO_SAMA5D2_PIOBU [=m] && GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && OF_GPIO [=y] && (ARCH_AT91 || COMPILE_TEST [=y])
WARNING: unmet direct dependencies detected for I2C_K1
Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && OF [=n]
Selected by [m]:
- MFD_SPACEMIT_P1 [=m] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && I2C [=y]
vim +148 drivers/acpi/acpi_pcc.c
124
125 static acpi_status
126 acpi_pcc_address_space_handler(u32 function, acpi_physical_address addr,
127 u32 bits, acpi_integer *value,
128 void *handler_context, void *region_context)
129 {
130 acpi_status ret;
131 struct pcc_data *data = region_context;
132 u64 usecs_lat;
133 bool use_polling = data->pcc_chan->mchan->mbox->txdone_poll;
134
135 reinit_completion(&data->done);
136
137 /* Write to Shared Memory */
138 memcpy_toio(data->pcc_chan->shmem, (void *)value, data->ctx.length);
139
140 /*
141 * pcc_chan->latency is just a Nominal value. In reality the remote
142 * processor could be much slower to reply. So add an arbitrary
143 * amount of wait on top of Nominal.
144 */
145 usecs_lat = PCC_CMD_WAIT_RETRIES_NUM * data->pcc_chan->latency;
146
147 data->cl.tx_block = use_polling;
> 148 data->cl.tx_tout = usecs_lat / USEC_PER_MSEC;
149
150 if (use_polling)
151 ret = acpi_pcc_send_msg_polling(data);
152 else
153 ret = acpi_pcc_send_msg_irq(data);
154
155 memcpy_fromio(value, data->pcc_chan->shmem, data->ctx.length);
156
157 return ret;
158 }
159
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists