[PATCH 0/7] Intel platform driver to reset bitfix filters

From: Tony Luck

Date: Tue Aug 25 2026 - 14:15:43 EST


Some Intel CPUs implement a "bitfix filter" to suppress reporting of the
same corrected errors repeatedly in the case where aging silicon
develops stuck bits.

But when systems run for weeks, or months, the filters may become clogged
with transient errors.

When the filter is full (indicated by a "yellow" signature in a machine
check bank) clear the filter. This may make space for additional hard
errors.

Save a time stamp when clearing a filter. Log with "WARN" severity if
the filter overflows quickly (in tem minutes or less).

This code was originally developend by Qiuxu as an add-on to an EDAC
driver. But not everyone wants to run an EDAC driver, so I pulled the
code out into a standalone platform driver. Much of Qiuxu's code was
cut-and-pasted into this driver, so he gets Co-developed-by credit
throughout.

Qiuxu Zhuo (1):
cacheinfo: Export get_cpu_cacheinfo_id() for loadable modules

Tony Luck (6):
x86/mce: Enumeration updates for Intel bitfix filter reset
platform/x86/intel/bff: Add stub Intel bitfix filter driver
platform/x86/intel/bff: Add Diamond Rapids support
platform/x86/intel/bff: Reset bitfix filter when it overflows
platform/x86/intel/bff: Compute unique ID for overflowed filter
platform/x86/intel/bff: Report frequent filter resets

include/linux/cacheinfo.h | 12 +-
arch/x86/include/asm/mce.h | 6 +
arch/x86/include/asm/msr-index.h | 2 +
drivers/base/cacheinfo.c | 17 ++
drivers/platform/x86/intel/bff.c | 284 ++++++++++++++++++++++++++++
drivers/platform/x86/intel/Kconfig | 13 ++
drivers/platform/x86/intel/Makefile | 1 +
7 files changed, 324 insertions(+), 11 deletions(-)
create mode 100644 drivers/platform/x86/intel/bff.c


base-commit: 8d3ae59288f1e7d58d76558a6ee96d533bc5019f
--
2.55.0