]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86/mce-inject: Reset injection struct after injection
authorBorislav Petkov <bp@suse.de>
Tue, 4 Sep 2018 09:22:12 +0000 (11:22 +0200)
committerBorislav Petkov <bp@suse.de>
Fri, 21 Sep 2018 12:28:37 +0000 (14:28 +0200)
commit7401a633c34adc7aefd3edfec60074cb0475a3e8
tree8594f07b462f111de4153fe61bd376fc23a0e90e
parent7876320f88802b22d4e2daf7eb027dd14175a0f8
x86/mce-inject: Reset injection struct after injection

Clear the MCE struct which is used for collecting the injection details
after injection.

Also, populate it with more details from the machine.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20180905081954.10391-1-bp@alien8.de
arch/x86/kernel/cpu/mcheck/mce-inject.c