Re: [PATCH v5 28/32] x86/mm, kexec: Allow kexec to be used with SME

From: Borislav Petkov
Date: Fri May 19 2017 - 16:58:57 EST


On Fri, May 19, 2017 at 03:45:28PM -0500, Tom Lendacky wrote:
> Actually there is. The above will result in data in the cache because
> halt() turns into a function call if CONFIG_PARAVIRT is defined (refer
> to the comment above where do_wbinvd_halt is set to true). I could make
> this a native_wbinvd() and native_halt()

That's why we have the native_* versions - to bypass paravirt crap.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.