Thread (20 messages) 20 messages, 4 authors, 2021-10-04

Re: [PATCH V6 5/8] x86/hyperv: Add Write/Read MSR registers via ghcb page

From: Tom Lendacky <thomas.lendacky@amd.com>
Date: 2021-09-30 18:34:53
Also in: linux-hyperv, lkml, netdev

On 9/30/21 8:05 AM, Tianyu Lan wrote:
From: Tianyu Lan <redacted>
...
quoted hunk ↗ jump to hunk
diff --git a/arch/x86/kernel/sev-shared.c b/arch/x86/kernel/sev-shared.c
index 9f90f460a28c..dd7f37de640b 100644
--- a/arch/x86/kernel/sev-shared.c
+++ b/arch/x86/kernel/sev-shared.c
@@ -94,10 +94,9 @@ static void vc_finish_insn(struct es_em_ctxt *ctxt)
  	ctxt->regs->ip += ctxt->insn.length;
  }
  
-static enum es_result sev_es_ghcb_hv_call(struct ghcb *ghcb,
-					  struct es_em_ctxt *ctxt,
-					  u64 exit_code, u64 exit_info_1,
-					  u64 exit_info_2)
+enum es_result sev_es_ghcb_hv_call_simple(struct ghcb *ghcb,
+				   u64 exit_code, u64 exit_info_1,
+				   u64 exit_info_2)
Oh, and a nice comment about when to use this function directly vs. the 
non-simple one would be nice to have (basically use this one only for the 
Hyper-V Isolation VM support).

Thanks,
Tom
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help