Re: Hitting WARN_ON_ONCE in i2c-designware-common.c

From: Jesper Dangaard Brouer
Date: Tue Apr 15 2025 - 08:30:45 EST




On 15/04/2025 14.19, Andy Shevchenko wrote:
On Tue, Apr 15, 2025 at 03:17:37PM +0300, Andy Shevchenko wrote:
On Tue, Apr 15, 2025 at 02:03:26PM +0200, Jesper Dangaard Brouer wrote:
Hi Maintainers,

I'm hitting a WARN_ON_ONCE in drivers/i2c/busses/i2c-designware-common.c
when booting the kernel on our Gen12 hardware.

I'm using devel kernel net-next at commit 1a9239bb425 (merge tag
'net-next-6.15').

I assume you want this report.

Maybe it is not a critical error(?)
... looking the comment in the function:

Have you forgotten to compile in the drivers/acpi/acpi_apd.c?


I have double checked that drivers/acpi/acpi_apd.o is compiled.

Also that driver has the missing error check in acpi_apd_setup() for
clk_register_clkdev().


Are you saying I'm missing a .config option?

--Jesper