Commit b56dff26 authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'x86_sev_for_v6.12_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 SEV updates from Borislav Petkov:

 - A bunch of cleanups to the sev-guest driver. All in preparation for
   future SEV work

* tag 'x86_sev_for_v6.12_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  virt: sev-guest: Ensure the SNP guest messages do not exceed a page
  virt: sev-guest: Fix user-visible strings
  virt: sev-guest: Rename local guest message variables
  virt: sev-guest: Replace dev_dbg() with pr_debug()
parents d0a63f0e 2b9ac0b8
...@@ -164,7 +164,7 @@ struct snp_guest_msg_hdr { ...@@ -164,7 +164,7 @@ struct snp_guest_msg_hdr {
struct snp_guest_msg { struct snp_guest_msg {
struct snp_guest_msg_hdr hdr; struct snp_guest_msg_hdr hdr;
u8 payload[4000]; u8 payload[PAGE_SIZE - sizeof(struct snp_guest_msg_hdr)];
} __packed; } __packed;
struct sev_guest_platform_data { struct sev_guest_platform_data {
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment