aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorNikunj A Dadhania <[email protected]>2024-10-09 14:58:37 +0530
committerBorislav Petkov (AMD) <[email protected]>2024-10-16 18:41:40 +0200
commit0a895c0d9b73d934de95aa0dd4e631c394bdd25d (patch)
treee9aa28c65796260cca5f956313256d605871a565 /drivers/fpga/fpga-mgr.c
parentae596615d93dedbdfffbe383f821bea5c5289576 (diff)
virt: sev-guest: Carve out SNP message context structure
Currently, the sev-guest driver is the only user of SNP guest messaging. The snp_guest_dev structure holds all the allocated buffers, secrets page and VMPCK details. In preparation for adding messaging allocation and initialization APIs, decouple snp_guest_dev from messaging-related information by carving out the guest message context structure(snp_msg_desc). Incorporate this newly added context into snp_send_guest_request() and all related functions, replacing the use of the snp_guest_dev. No functional change. Signed-off-by: Nikunj A Dadhania <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Tom Lendacky <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions