misc: smpro-errmon: Add DIMM 2x Refresh rate event
authorQuan Nguyen <quan@os.amperecomputing.com>
Fri, 10 Mar 2023 08:34:15 +0000 (15:34 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:47:16 +0000 (09:47 +0100)
commitb0f64c80cb8c1adcdae59fa09bbc9d34adc29911
treee8d60dddf1a4db1c0b54035d59bab8b1d1308a6a
parentf0312cbd2af1c458a8441bb7364133d8242446b8
misc: smpro-errmon: Add DIMM 2x Refresh rate event

In high temperature condition, JEDEC spec requires memory controller to
double the refresh rate. This commit adds event_dimm_2x_refresh sysfs
to report that events for all memory channels.

Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20230310083416.3670980-2-quan@os.amperecomputing.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-platform-devices-ampere-smpro
drivers/misc/smpro-errmon.c