From 1b3ac5d96d4278798ff1cb34b38144173d5712a8 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 1 Jun 2021 11:16:12 +0200 Subject: [PATCH] 4.4-stable patches added patches: x86-entry-64-add-instruction-suffix.patch --- queue-4.4/series | 1 + .../x86-entry-64-add-instruction-suffix.patch | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 queue-4.4/x86-entry-64-add-instruction-suffix.patch diff --git a/queue-4.4/series b/queue-4.4/series index c4f54246b05..1f7600a48c4 100644 --- a/queue-4.4/series +++ b/queue-4.4/series @@ -61,3 +61,4 @@ bluetooth-eliminate-the-potential-race-condition-when-removing-the-hci-controlle usb-core-reduce-power-on-good-delay-time-of-root-hub.patch x86-asm-change-the-gen_-_rmwcc-macros-to-not-quote-the-condition.patch x86-asm-add-instruction-suffixes-to-bitops.patch +x86-entry-64-add-instruction-suffix.patch diff --git a/queue-4.4/x86-entry-64-add-instruction-suffix.patch b/queue-4.4/x86-entry-64-add-instruction-suffix.patch new file mode 100644 index 00000000000..3a3c81bec77 --- /dev/null +++ b/queue-4.4/x86-entry-64-add-instruction-suffix.patch @@ -0,0 +1,33 @@ +From a368d7fd2a3c6babb852fe974018dd97916bcd3b Mon Sep 17 00:00:00 2001 +From: Jan Beulich +Date: Mon, 26 Feb 2018 04:11:21 -0700 +Subject: x86/entry/64: Add instruction suffix + +From: Jan Beulich + +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 +Signed-off-by: Thomas Gleixner +Link: https://lkml.kernel.org/r/5A93F96902000078001ABAC8@prv-mh.provo.novell.com +Signed-off-by: Greg Kroah-Hartman +--- + 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 +@@ -57,7 +57,7 @@ ENDPROC(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: -- 2.47.3