Thread (11 messages) 11 messages, 3 authors, 2025-08-05

Re: [PATCH v4] vmcoreinfo: Track and log recoverable hardware errors

From: Dave Hansen <hidden>
Date: 2025-08-04 17:41:21
Also in: linux-acpi, linux-edac, linux-pci, lkml

On 8/4/25 10:12, Breno Leitao wrote:
...
+- These errros are divided by are, which includes CPU, Memory, PCI, CXL and
+  others.
There's a double typo in there I think:

	errros => errors
and
	are,=>area,
quoted hunk ↗ jump to hunk
--- a/include/linux/vmcore_info.h
+++ b/include/linux/vmcore_info.h
@@ -77,4 +77,20 @@ extern u32 *vmcoreinfo_note;
 Elf_Word *append_elf_note(Elf_Word *buf, char *name, unsigned int type,
 			  void *data, size_t data_len);
 void final_note(Elf_Word *buf);
+
+enum hwerr_error_type {
+	HWERR_RECOV_CPU,
+	HWERR_RECOV_MEMORY,
+	HWERR_RECOV_PCI,
+	HWERR_RECOV_CXL,
+	HWERR_RECOV_OTHERS,
+	HWERR_RECOV_MAX,
+};
That enum needs to go into an abi header.

Otherwise, this is starting to look sane to me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help