[PATCH 0/2][SRU][OEM-6.0] amd_sfh modprobe fails when no sensor reported from AMD MP2
You-Sheng Yang
vicamo.yang at canonical.com
Wed Oct 26 04:12:40 UTC 2022
From: "You-Sheng Yang (vicamo)" <vicamo.yang at canonical.com>
BugLink: https://bugs.launchpad.net/bugs/1993240
[Impact]
Some AMD platforms might not have sensor reported from MP2 controller,
and that fails device init.
[Fix]
Two commits targeting v6.1 release in mainline kernel.
[Test Case]
On such platforms, driver loading should be bailed out with:
$ sudo dmesg | grep amd_sfh1_1_hid_client_init
[ 1.204896] pcie_mp2_amd 0000:62:00.7: amd_sfh1_1_hid_client_init failed
[Where problems could occur]
This skips driver loading against ineffective hardware only.
[Other Info]
While this targets oem-6.0 and above, and is already in mainline
v6.1-rc1, only oem-6.0 is nominated for fix.
Basavaraj Natikar (2):
HID: amd_sfh: Change dev_err to dev_dbg for additional debug info
HID: amd_sfh: Handle condition of "no sensors" for SFH1.1
drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--
2.37.2
More information about the kernel-team
mailing list