[lkml]   [2020]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v5 33/75] x86/head/64: Switch to initial stack earlier
On Fri, Jul 24, 2020 at 06:02:54PM +0200, Joerg Roedel wrote:
> From: Joerg Roedel <>
> Make sure there is a stack once the kernel runs from virual addresses.
> At this stage any secondary CPU which boots will have lost its stack
> because the kernel switched to a new page-table which does not map the
> real-mode stack anymore.
> This is needed for handling early #VC exceptions caused by instructions
> like CPUID.
> Signed-off-by: Joerg Roedel <>

Reviewed-by: Kees Cook <>

Kees Cook

 \ /
  Last update: 2020-07-24 19:44    [W:0.291 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site