[0/2] Extend size of the MCE Records pool

Message ID 20240207225632.159276-1-avadhut.naik@amd.com
Headers
Series Extend size of the MCE Records pool |

Message

Avadhut Naik Feb. 7, 2024, 10:56 p.m. UTC
  This patchset extends size of the existing MCE records pool to ensure
that MCE records are not dropped, particularly on systems with higher
CPU count.

This is a followup of the below discussion:
https://lore.kernel.org/linux-edac/20231011163320.79732-1-sironi@amazon.de/

The fist patch extends the size of MCE Records pool in accordance to the
CPU count of the system.

The second patch adds a new command line parameter to extend the size of
MCE Records pool by a predetermined number of pages.

Avadhut Naik (2):
  x86/MCE: Extend size of the MCE Records pool
  x86/MCE: Add command line option to extend MCE Records pool

 .../admin-guide/kernel-parameters.txt         |  2 +
 arch/x86/kernel/cpu/mce/core.c                |  3 ++
 arch/x86/kernel/cpu/mce/genpool.c             | 38 +++++++++++++++++++
 arch/x86/kernel/cpu/mce/internal.h            |  1 +
 4 files changed, 44 insertions(+)


base-commit: 93e1e1fe2f97859cb079078b6b750542ebbfdea8