Re: [PATCH v6 48/76] x86/entry/64: Add entry code for #VC handler
From: Joerg Roedel
Date: Tue Sep 01 2020 - 09:51:16 EST
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