Thread (2 messages) flat view 2 messages, 2 authors, 2020-02-15

Re: [PATCH 08/62] x86/boot/compressed/64: Add IDT Infrastructure

From: Andi Kleen <hidden>
Date: 2020-02-14 19:40:39
Also in: kvm, lkml

Joerg Roedel [off-list ref] writes:
+	addq    $8, %rsp
+
+	/*
+	 * Make sure we return to __KERNEL_CS - the CS selector on
+	 * the IRET frame might still be from an old BIOS GDT
+	 */
+	movq	$__KERNEL_CS, 8(%rsp)
This doesn't make sense. Either it's running on the correct CS
before the exception or not. Likely there's some other problem
here that you patched over with this hack.

-Andi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help