search for: gdt64

Displaying 4 results from an estimated 4 matches for "gdt64".

2020 Feb 11
0
[PATCH 08/62] x86/boot/compressed/64: Add IDT Infrastructure
...+ b/arch/x86/boot/compressed/head_64.S @@ -33,6 +33,7 @@ #include <asm/processor-flags.h> #include <asm/asm-offsets.h> #include <asm/bootparam.h> +#include <asm/desc_defs.h> #include "pgtable.h" /* @@ -358,6 +359,10 @@ SYM_CODE_START(startup_64) movq %rax, gdt64+2(%rip) lgdt gdt64(%rip) + pushq %rsi + call load_stage1_idt + popq %rsi + /* * paging_prepare() sets up the trampoline and checks if we need to * enable 5-level paging. @@ -465,6 +470,16 @@ SYM_FUNC_END_ALIAS(efi_stub_entry) .text SYM_FUNC_START_LOCAL_NOALIGN(.Lrelocated) +/* + *...
2020 Apr 16
0
[PATCH 12/70] x86/boot/compressed/64: Add IDT Infrastructure
...ed position > > + * might be overwritten soon by the in-place decompression, so reload > > + * GDT at the relocated address. The GDT is referenced by exception > > + * handling and needs to be set up correctly. > > + */ > > + leaq gdt(%rip), %rax > > + movq %rax, gdt64+2(%rip) > > + lgdt gdt64(%rip) > > + > > /* > > * Clear BSS (stack is currently empty) > > */ > > Note that this is now done in mainline as of commit c98a76eabbb6e, just > prior to jumping to .Lrelocated, so this can be dropped on the next > rebase....
2020 Feb 11
83
[RFC PATCH 00/62] Linux as SEV-ES Guest Support
Hi, here is the first public post of the patch-set to enable Linux to run under SEV-ES enabled hypervisors. The code is mostly feature-complete, but there are still a couple of bugs to fix. Nevertheless, given the size of the patch-set, I think it is about time to ask for initial feedback of the changes that come with it. To better understand the code here is a quick explanation of SEV-ES first.
2020 Feb 11
83
[RFC PATCH 00/62] Linux as SEV-ES Guest Support
Hi, here is the first public post of the patch-set to enable Linux to run under SEV-ES enabled hypervisors. The code is mostly feature-complete, but there are still a couple of bugs to fix. Nevertheless, given the size of the patch-set, I think it is about time to ask for initial feedback of the changes that come with it. To better understand the code here is a quick explanation of SEV-ES first.