]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/fault: Add helper for dumping RMP entries
authorBrijesh Singh <brijesh.singh@amd.com>
Fri, 26 Jan 2024 04:11:07 +0000 (22:11 -0600)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 29 Jan 2024 16:26:30 +0000 (17:26 +0100)
commit1f568d36361b4891696280b719ca4b142db872ba
tree6642d7119bd4c48bf12f17febec63fef2765671d
parent94b36bc244bb134ec616dd3f2d37343cd8c1be54
x86/fault: Add helper for dumping RMP entries

This information will be useful for debugging things like page faults
due to RMP access violations and RMPUPDATE failures.

  [ mdr: move helper to standalone patch, rework dump logic as suggested
    by Boris. ]

Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Ashish Kalra <ashish.kalra@amd.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240126041126.1927228-8-michael.roth@amd.com
arch/x86/include/asm/sev.h
arch/x86/virt/svm/sev.c