]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
AMD_SFH: Add DMI quirk table for BIOS-es which don't set the activestatus bits
authorHans de Goede <hdegoede@redhat.com>
Thu, 28 Jan 2021 12:12:19 +0000 (13:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Apr 2021 11:13:17 +0000 (13:13 +0200)
commit6a3432139cc792b4d9fa96f7cc420e9a20eb8365
tree0e5988c6b1cebf7317ac54ef65a5aed10bf80b8f
parent096515a2b4944afe602823e606d51798fb415baf
AMD_SFH: Add DMI quirk table for BIOS-es which don't set the activestatus bits

[ Upstream commit 25615e454a0ec198254f17d2ed79b607cb755d0e ]

Some BIOS-es do not initialize the activestatus bits of the AMD_P2C_MSG3
register. This cause the AMD_SFH driver to not register any sensors even
though the laptops in question do have sensors.

Add a DMI quirk-table for specifying sensor-mask overrides based on
DMI match, to make the sensors work OOTB on these laptop models.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=199715
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1651886
Fixes: 4f567b9f8141 ("SFH: PCIe driver to add support of AMD sensor fusion hub")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Sandeep Singh <sandeep.singh@amd.com
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/amd-sfh-hid/amd_sfh_pcie.c