Thread (22 messages) 22 messages, 3 authors, 2021-09-20

RE: [PATCH v2 0/3] More machine check recovery fixes

From: "Luck, Tony" <tony.luck@intel.com>
Date: 2021-08-18 16:14:43
Also in: linux-edac, lkml

Changes since v1:
1) Fix bug in kill_me_never() that forgot to clear p->mce_count so
  repeated recovery in the same task would trigger the panic for
"Machine checks to different user pages"
  [Note to Jue Wang ... this *might* be why your test that injects
   two errors into the same buffer passed to a write(2) syscall
   failed with this message]
I recreated Jue's specific test today with uncorrected errors in two
pages passed to a write(2) syscall.

	buf = alloc(2 pages);
	inject(buf + 0x440);
	inject*buf + 0x11c0);
	n = write(fd, buf, 8K);

Result was that the write returned 0x440 (i.e. bytes written up to the
first poison location).

-Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help