]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Dec 2020 15:14:23 +0000 (16:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Dec 2020 15:14:23 +0000 (16:14 +0100)
added patches:
x86-entry-64-add-instruction-suffix.patch

queue-4.14/series [new file with mode: 0644]
queue-4.14/x86-entry-64-add-instruction-suffix.patch [new file with mode: 0644]

diff --git a/queue-4.14/series b/queue-4.14/series
new file mode 100644 (file)
index 0000000..815e235
--- /dev/null
@@ -0,0 +1 @@
+x86-entry-64-add-instruction-suffix.patch
diff --git a/queue-4.14/x86-entry-64-add-instruction-suffix.patch b/queue-4.14/x86-entry-64-add-instruction-suffix.patch
new file mode 100644 (file)
index 0000000..a75caaf
--- /dev/null
@@ -0,0 +1,34 @@
+From a368d7fd2a3c6babb852fe974018dd97916bcd3b Mon Sep 17 00:00:00 2001
+From: Jan Beulich <JBeulich@suse.com>
+Date: Mon, 26 Feb 2018 04:11:21 -0700
+Subject: x86/entry/64: Add instruction suffix
+
+From: Jan Beulich <JBeulich@suse.com>
+
+commit a368d7fd2a3c6babb852fe974018dd97916bcd3b upstream.
+
+Omitting suffixes from instructions in AT&T mode is bad practice when
+operand size cannot be determined by the assembler from register
+operands, and is likely going to be warned about by upstream gas in the
+future (mine does already). Add the single missing suffix here.
+
+Signed-off-by: Jan Beulich <jbeulich@suse.com>
+Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
+Link: https://lkml.kernel.org/r/5A93F96902000078001ABAC8@prv-mh.provo.novell.com
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/x86/entry/entry_64.S |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/x86/entry/entry_64.S
++++ b/arch/x86/entry/entry_64.S
+@@ -55,7 +55,7 @@ END(native_usergs_sysret64)
+ .macro TRACE_IRQS_IRETQ
+ #ifdef CONFIG_TRACE_IRQFLAGS
+-      bt      $9, EFLAGS(%rsp)                /* interrupts off? */
++      btl     $9, EFLAGS(%rsp)                /* interrupts off? */
+       jnc     1f
+       TRACE_IRQS_ON
+ 1: