Re: [PATCH v6 48/76] x86/entry/64: Add entry code for #VC handler

Joerg Roedel
2020-09-01T13:30:02Z

On Mon, Aug 31, 2020 at 01:30:02PM +0200, Borislav Petkov wrote:
> AFAICT, that STACK_TYPE_UNKNOWN gets set only by the plain
> get_stack_info() function - not by the _noinstr() variant so you'd need
> to check the return value of latter...

You are right, it needs to check the return value of
get_stack_info_noinstr() instead of STACK_TYPE_UNKNOWN. Fixed that now.

Regards,

Joerg