Re: [PATCH v3 42/75] x86/sev-es: Setup GHCB based boot #VC handler

From: Borislav Petkov
Date: Thu Jun 04 2020 - 11:30:36 EST


On Thu, Jun 04, 2020 at 02:07:49PM +0200, Joerg Roedel wrote:
> This are IDT entry points and the names above follow the convention for
> them, like e.g. 'page_fault', 'nmi' or 'general_protection'. Should I
> still add the verbs or just add a comment explaining what those symbols
> are?

Hmmkay, I see vc_no_ghcb doing

call do_vc_no_ghcb

and that's setup in early_idt_setup().

vc_boot_ghcb(), OTOH, is called by do_early_exception() only so that one
could be called handle_vc_boot_ghcb(), no? I.e., I don't see it being an
IDT entry point.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette