Thread (23 messages) 23 messages, 5 authors, 2023-12-20

Re: [PATCH v4 1/6] x86/bugs: Add asm helpers for executing VERW

From: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Date: 2023-12-20 01:15:54
Also in: kvm, lkml

On Fri, Dec 01, 2023 at 12:04:42PM -0800, Josh Poimboeuf wrote:
On Fri, Dec 01, 2023 at 07:39:05PM +0000, Andrew Cooper wrote:
quoted
On 01/12/2023 7:36 pm, Josh Poimboeuf wrote:
quoted
On Fri, Oct 27, 2023 at 07:38:40AM -0700, Pawan Gupta wrote:
quoted
+.pushsection .entry.text, "ax"
+
+.align L1_CACHE_BYTES, 0xcc
+SYM_CODE_START_NOALIGN(mds_verw_sel)
+	UNWIND_HINT_UNDEFINED
+	ANNOTATE_NOENDBR
+	.word __KERNEL_DS
+.align L1_CACHE_BYTES, 0xcc
+SYM_CODE_END(mds_verw_sel);
+/* For KVM */
+EXPORT_SYMBOL_GPL(mds_verw_sel);
+
+.popsection
This is data, so why is it "CODE" in .entry.text?
Because KPTI.
Urgh... Pawan please add a comment.
Yes, this place needs a comment, will add.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help