File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ void __init hyperv_init(void)
382
382
PAGE_SIZE ,
383
383
GFP_KERNEL );
384
384
if (hv_vp_early_input_arg ) {
385
- ret = set_memory_decrypted (hv_vp_early_input_arg ,
385
+ ret = set_memory_decrypted (( u64 ) hv_vp_early_input_arg ,
386
386
num_possible_cpus ());
387
387
if (ret ) {
388
388
kfree (hv_vp_early_input_arg );
@@ -568,7 +568,7 @@ void __init hyperv_init(void)
568
568
kfree (hv_vp_assist_page );
569
569
hv_vp_assist_page = NULL ;
570
570
free_vp_early_input_arg :
571
- set_memory_encrypted (hv_vp_early_input_arg , num_possible_cpus ());
571
+ set_memory_encrypted (( u64 ) hv_vp_early_input_arg , num_possible_cpus ());
572
572
kfree (hv_vp_early_input_arg );
573
573
hv_vp_early_input_arg = NULL ;
574
574
common_free :
Original file line number Diff line number Diff line change @@ -65,13 +65,6 @@ union hv_ghcb {
65
65
/* Only used in an SNP VM with the paravisor */
66
66
static u16 hv_ghcb_version __ro_after_init ;
67
67
68
- /*
69
- * Use static page to set Secure AVIC backing page.
70
- * The operation happens before allocating input arg
71
- * page when start AP.
72
- */
73
- static u8 inputbuf [PAGE_SIZE ] __bss_decrypted __aligned (PAGE_SIZE );
74
-
75
68
/* Functions only used in an SNP VM with the paravisor go here. */
76
69
u64 hv_ghcb_hypercall (u64 control , void * input , void * output , u32 input_size )
77
70
{
You can’t perform that action at this time.
0 commit comments