After upgrading SONiC to use Trixie, the kernel logs the following error message on boot: ... amd_sfh_hid_client_init failed err -95
The problem lies within the AMD Sensor Fusion Hub HID driver code in the kernel, and is a result of this change: torvalds/linux@2105e8e
The reason the above changes causes this issue is because it removes the guard against logging err -95 (-EOPNOTSUPP):
- if (rc != -EOPNOTSUPP)
- dev_err(&pdev->dev, "amd_sfh_hid_client_init failed\n");
return rc;
...
+ if (rc) {
+ amd_sfh_clear_intr(mp2);
+ dev_err(&pdev->dev, "amd_sfh_hid_client_init failed err %d\n", rc);
+ return;
+ }
This has been noticed on some Arista-7060X6 platforms, but likely affects other platforms/vendors as well.