Skip to content

[Trixie][202511] EOPNOTSUPP Error Logged during AMD SFH HID Client Init #531

@ccroy-arista

Description

@ccroy-arista

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions