Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1565831ybi; Wed, 17 Jul 2019 17:48:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfrOqma8nU/4mTuuwPTWUIsDUsJnF3R40BNKVRtDuvhvsNwZhy7LI3/xuMwnFgC6DENETe X-Received: by 2002:a65:42c3:: with SMTP id l3mr44344547pgp.372.1563410912080; Wed, 17 Jul 2019 17:48:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563410912; cv=none; d=google.com; s=arc-20160816; b=n+Ju4IbyCSplp6NQ5nSEeaheLPJuSSJxFF8B/vJKOZr4QL4QELgQgZRYfTqxrNWDJp S3dE++rc2iftPJBmfm6XCqoYwgXsmPgHZgHju7PIHC9HKx9ibAfgaTNpqbaehwkEXi62 +tMqW8SiXHcP1gXJUR6Yq039BL767QLKrSq/K+SYX0ziCjpPi7rZCa2RYiFR4i2tpwDz 0i6HrNSPTYJyN7sGhfcfVnrDFV6MU3irNH/AR2NWfbMmd4aJMMmgzE0n0PfuGUkF6Csk hSFKavKxpZzGoVohzzepS17gEMaQlHuK03uQQNsbTyQoAyU6n115s/KLTOKlk+A3HgpU ymKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vNj1hK/6naAqAOCPUH6cK5EvROEqEh3ZrR31NVWrumo=; b=gHVMAoQXDzbtMh1UTUQIfBJAF97Ya/33Fblk1q5cuHqNM3PIR8wq6DVWi34/xgDl45 UFuDNgxg+++BQy0uKSjVWm1bAGbDuPyeQZFP9U1knixxhuyx/2CC/T/UEBWikGIIRwc2 Ev0FWEkW5IJf3wKdunmcEZO2iQdF06cUm6+E/rnPHQL7kBbf+BLqeHjrby29whm1/sj/ SsIHyrStYN4uX9eDO6fUwmf+Y8VIgl1zcTb7gBf3L4GAcCF8hpC7gykWgwVgPev74Ukv 8ybbRy/ysZd/b7vFQV1mg07m1f4D1A33247rmo3BT8kOuLxRFTRj0axOvAmduwlnEMsQ BFiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MuqZ1hdy; 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 v8si113404pfm.83.2019.07.17.17.48.15; Wed, 17 Jul 2019 17:48:32 -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; dkim=pass header.i=@kernel.org header.s=default header.b=MuqZ1hdy; 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 S1731647AbfGRArJ (ORCPT + 99 others); Wed, 17 Jul 2019 20:47:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:52844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727773AbfGRArI (ORCPT ); Wed, 17 Jul 2019 20:47:08 -0400 Received: from localhost (115.42.148.210.bf.2iij.net [210.148.42.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 50209217F4; Thu, 18 Jul 2019 00:47:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563410828; bh=W75bCKZNMgpUlO+V+opZiBCph5GTZ6ObUVcMIHF/NkQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MuqZ1hdyNcp2wA0D3+/Pg9o8mYORG7g0K6HNTysmfymA35uJH9+qa68CxtuUZbPzU XX8XkGbz5PVwwBFZWjfrZdEoD97D98qZZq88OffMU6dzNLtxx5EtpdgViqnj0cwTXW wo9JPYbqADfbInEGyafrxvyGZUYKuEtHOr4VfRlk= Date: Thu, 18 Jul 2019 09:47:05 +0900 From: Greg KH To: Vaibhav Rustagi Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, Vivek Goyal , Nick Desaulniers , stable@vger.kernel.org Subject: Re: [PATCH 1/2] x86/purgatory: add -mno-sse, -mno-mmx, -mno-sse2 to Makefile Message-ID: <20190718004705.GA31085@kroah.com> References: <20190718000206.121392-1-vaibhavrustagi@google.com> <20190718000206.121392-2-vaibhavrustagi@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190718000206.121392-2-vaibhavrustagi@google.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 17, 2019 at 05:02:05PM -0700, Vaibhav Rustagi wrote: > Compiling the purgatory code with clang results in using of mmx > registers. > > $ objdump -d arch/x86/purgatory/purgatory.ro | grep xmm > > 112: 0f 28 00 movaps (%rax),%xmm0 > 115: 0f 11 07 movups %xmm0,(%rdi) > 122: 0f 28 00 movaps (%rax),%xmm0 > 125: 0f 11 47 10 movups %xmm0,0x10(%rdi) > > Add -mno-sse, -mno-mmx, -mno-sse2 to avoid generating SSE instructions. > > Signed-off-by: Vaibhav Rustagi > --- > arch/x86/purgatory/Makefile | 1 + > 1 file changed, 1 insertion(+) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.