lkml.org 
[lkml]   [2022]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCHv6 23/30] x86/boot: Avoid #VE during boot for TDX platforms
Date
On Wed, Mar 16 2022 at 05:08, Kirill A. Shutemov wrote:
> This theoretically makes the guest boot more fragile. If, for instance,
> EFER was set up incorrectly and a WRMSR was performed, it will trigger
> early exception panic or a triple fault, if it's before early
> exceptions are set up. However, this is likely to trip up the guest
> BIOS long before control reaches the kernel. In any case, these kinds
> of problems are unlikely to occur in production environments, and
> developers have good debug tools to fix them quickly.
>
> Change the common boot code to work on TDX and non-TDX systems.
> This should have no functional effect on non-TDX systems.
>
> Signed-off-by: Sean Christopherson <seanjc@google.com>
> Reviewed-by: Andi Kleen <ak@linux.intel.com>
> Reviewed-by: Dan Williams <dan.j.williams@intel.com>
> Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>

\
 
 \ /
  Last update: 2022-03-17 13:51    [W:0.310 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site