Re: [RFC PATCH V3 12/16] x86/sev: Add a #HV exception handler

From: Tianyu Lan
Date: Fri Feb 03 2023 - 02:27:27 EST


On 1/23/2023 3:33 PM, Gupta, Pankaj wrote:

+ */
+.macro idtentry_hv vector asmsym cfunc
+SYM_CODE_START(\asmsym)
+    UNWIND_HINT_IRET_REGS
+    ASM_CLAC

Did you get a chance to review the new instructions
added at the start similar to idtentry_vc and comments
added assuggested here?

https://lore.kernel.org/lkml/16e50239-39b2-4fb4-5110-18f13ba197fe@xxxxxxx/

Hi Pankaj:
Thanks for your reminder. Yes, CLD should be add after ASM_CLAC. Will fix it.