diff options
author | Terry Bowman <[email protected]> | 2022-02-02 09:35:25 -0600 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2022-03-27 17:04:33 +0200 |
commit | 826270373f17fd8ebd10753ca0a5fd2ceb1dc38e (patch) | |
tree | 31644e1f6baf4884fb47114b5179248756c1ebcb /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 0578fff4aae5bce3f09875f58e68e9ffbab8daf5 (diff) |
Watchdog: sp5100_tco: Enable Family 17h+ CPUs
The driver currently uses a CPU family match of 17h to determine
EFCH_PM_DECODEEN_WDT_TMREN register support. This family check will not
support future AMD CPUs and instead will require driver updates to add
support.
Remove the family 17h family check and add a check for SMBus PCI
revision ID 0x51 or greater. The MMIO access method has been available
since at least SMBus controllers using PCI revision 0x51. This revision
check will support family 17h and future AMD processors including EFCH
functionality without requiring driver changes.
Co-developed-by: Robert Richter <[email protected]>
Signed-off-by: Robert Richter <[email protected]>
Signed-off-by: Terry Bowman <[email protected]>
Tested-by: Jean Delvare <[email protected]>
Reviewed-by: Jean Delvare <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions