diff options
author | Qiuxu Zhuo <qiuxu.zhuo@intel.com> | 2022-09-01 21:43:08 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2022-09-08 20:40:00 +0200 |
commit | fe32f366931a950889e8d72be86fafc867dab777 (patch) | |
tree | c344ae0f4860bfe62057ae67298a866a4f4740df /drivers/edac/skx_common.h | |
parent | EDAC/mc: Drop duplicated dimm->nr_pages debug printout (diff) | |
download | linux-fe32f366931a950889e8d72be86fafc867dab777.tar.xz linux-fe32f366931a950889e8d72be86fafc867dab777.zip |
EDAC/skx_common: Use driver decoder first
The performance of driver decoder[1] is better than the performance
of firmware decoder[2], especially on frequent correctable errors.
So use the driver decoder first, fall back to firmware decoder if
the driver decoder is unavailable. Also rename the function pointer
skx_decode to driver_decode (better name to contrast with adxl_decode).
[1] Decode errors by extracting error information from registers of
memory controllers and/or MCA bank registers.
[2] Decode errors by calling ACPI DSM methods.
Co-developed-by: Youquan Song <youquan.song@intel.com>
Signed-off-by: Youquan Song <youquan.song@intel.com>
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/all/20220901194310.115427-1-tony.luck@intel.com/
Diffstat (limited to 'drivers/edac/skx_common.h')
-rw-r--r-- | drivers/edac/skx_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/skx_common.h b/drivers/edac/skx_common.h index 03ac067a80b9..880ecd15ca42 100644 --- a/drivers/edac/skx_common.h +++ b/drivers/edac/skx_common.h @@ -136,6 +136,7 @@ struct decoded_addr { int column; int bank_address; int bank_group; + bool decoded_by_adxl; }; struct res_config { |