Kernel build for SN2010 Switchdev - Failed to register thermal zone

Hi

Trying to build a new kernel with Switchev support, but seeing an error when loading mlxsw_spectrum.

Error:
[ 418.684370] mlxsw_spectrum 0000:01:00.0: Failed to register thermal zone
[ 418.774215] mlxsw_spectrum 0000:01:00.0: cannot register bus device
[ 418.781275] mlxsw_spectrum: probe of 0000:01:00.0 failed with error -22

Kernel 6.1.29 with config variables as in the wiki.

‘Failed to register thermal zone’

Issue seems to be in: /drivers/net/ethernet/mellanox/mlxsw/core_thermal.c

Any suggestions for fixing this?

I have a 6.1.13 kernel that works without problems. Something changed since then I’m guessing.

This question will require more in-depth investigation than is possible through a forum. A support request would be the best way to resolve this issue.