Received: by 10.213.65.68 with SMTP id h4csp427086imn; Tue, 13 Mar 2018 08:43:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELvolfTsGWvF+d3WZi5f20UhJgd2HKAbDx6zG+Y28SnVyKC4ftspmy03huZCtW5oQboK6UQZ X-Received: by 10.101.87.138 with SMTP id b10mr843646pgr.241.1520955795978; Tue, 13 Mar 2018 08:43:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520955795; cv=none; d=google.com; s=arc-20160816; b=07JKP2GSMZtZ0qOEoPkimE3wox+qCDbrqqAgxmMf2SEYp196n4z3WQU16o5iW9a1PV HqwghH8wlG1GDjuoChICYAx/W7uhcqolnq+8fELq86gyN+AFbLdArUPHG35t3+MD+zNi 1JIaNTqz/aUWFjPvq8dvdwGPH5bvIcE5tajXp55u1onK0XVBzPnSxERElU8PcjAwWnOH dWO6A3OmCHFP2VCXNQY9KtpBHPQELZ60fA7eacoGw8YofEBac4+d1Fb115XaXCIVX7j5 aQ36DeDl8mGvELfX1qHObu9LbJsFxYORoO1dsEvAAKNIXf8ZrxYlODkNTrRIRjgmLzvK WBgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=iYOWtFyNnU/P9FF7XJm8z4D+ISBBIfBS4OWLQJF2HbY=; b=nczTYWACX2mA1t/Xke0G8P+pSbdbr811ZXEYOGG2WEKLghBRKb7tOIysHC/Hr6hG6U PXCzo942KLbJIqmLod1S573peyfmKGVPz/7kNxgu/n8H04hzfxPBB7G1/LPTcYSrrynf 6woeLuuZvSoRBTiOBBW/XO6nWUpCaZQR/OLICQTzR9bfActXJ46hCEaLM2sJrE3WOHMZ 6/4XpaTIimWM7mKQ0hI7fNYwao0c4Xwq8TTCpraJaGrKRLc0ucUP5Le8cbDFnN59irSv p/h30sIEwIT8bVXHSoIZMAxuvlcqURR7oKjRbGeiHXl9XTaawzMCkc8AwTaK+p/HxJQm sdaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f10-v6si294334plm.188.2018.03.13.08.43.01; Tue, 13 Mar 2018 08:43:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964809AbeCMPlL (ORCPT + 99 others); Tue, 13 Mar 2018 11:41:11 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:36604 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934300AbeCMPlJ (ORCPT ); Tue, 13 Mar 2018 11:41:09 -0400 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 9A2DE11E6; Tue, 13 Mar 2018 15:40:47 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jan Beulich , Thomas Gleixner , Andy Lutomirski , Borislav Petkov , Brian Gerst , Denys Vlasenko , "H. Peter Anvin" , Josh Poimboeuf , Linus Torvalds , Peter Zijlstra , Ingo Molnar Subject: [PATCH 4.14 122/140] x86-64/realmode: Add instruction suffix Date: Tue, 13 Mar 2018 16:25:25 +0100 Message-Id: <20180313152506.375980644@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180313152458.201155692@linuxfoundation.org> References: <20180313152458.201155692@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jan Beulich commit 8554004a0231dedf44d4d62147fb3d6a6db489aa 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 Acked-by: Thomas Gleixner Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Josh Poimboeuf Cc: Linus Torvalds Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/5A8AF5F602000078001A9230@prv-mh.provo.novell.com Signed-off-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- arch/x86/realmode/rm/trampoline_64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/realmode/rm/trampoline_64.S +++ b/arch/x86/realmode/rm/trampoline_64.S @@ -102,7 +102,7 @@ ENTRY(startup_32) * don't we'll eventually crash trying to execute encrypted * instructions. */ - bt $TH_FLAGS_SME_ACTIVE_BIT, pa_tr_flags + btl $TH_FLAGS_SME_ACTIVE_BIT, pa_tr_flags jnc .Ldone movl $MSR_K8_SYSCFG, %ecx rdmsr