Message ID | 62376918dc348842e21f6eb62235220f53d35cdb.1564646727.git.viresh.kumar@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp5085174ile; Thu, 1 Aug 2019 01:19:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtIAFxGX6gED/fIIvwU5O9nyzYNoYJXB0TpJFCjJYD2p6afpE8PDPxbdNizPBfT/0I8LES X-Received: by 2002:a63:6106:: with SMTP id v6mr1682257pgb.36.1564647585116; Thu, 01 Aug 2019 01:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564647585; cv=none; d=google.com; s=arc-20160816; b=G/E8SpiA07JOFojpkQQlcH64RC21BpQTvTQkUnTSCdE4e2q+9DCcHeg8UGgYEd9G36 88ebTM7wcNUuup6X3YF86hhU/mHL1rrrGnWJVfs1O5NDfck+QDP68EfsyXAOQy1syuuz ZdwznMuCISxI68woWhE7MWRMFluQHjvCYopvMJYxZ0uuDIkiD0ularq1nRWhFE2rOagl sHV3ZdK+hIr0u1eolYIntQzfXHTA9BQTZah7spho1qx+tys/x609lU0Wyx1jw1WZQu6W PmilrpwJ9oa7V29R5jlTvPF2ANGEC57iaKv0ZUeqNoe4nDX7Yvwts3I8IDt8+V3mzUGz TJqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=z7GSqiJ6aBNFVvBBcZiH2v3S1Pbs9vo106t8SFNGIe4=; b=jyGTPwwgLTQnD+/foWc0QBt/5iMkROvAcIMqI4fsgq8YcFG00KIprcazLTiWxPpwbb 8zWzgQlsuXchOc1HwJYSyxEzvxYKaBi58fUtDzqltTeyi2Pq4eW4q28NJ0E8sWyrNCJr mPa5lbNbpBYIaDVaIz06iinG52GZrzwGbzutuiGunJcYD4CYQhvYPnnRhTCHroQE7Ivp 537FVXDPPfOdJhuMaaIox1+nb9IflmTz8UF0H28VscyWfapV6CMk29BnCijgyNZWz1Bp UnjTfvFoROZSsFwzI7u/LCWev8iklg5kHKz9vNwhZREE8h3t5yIuJYJj/LlEnyp5m25p Frjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cYaRmjxp; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ch18si32232418plb.76.2019.08.01.01.19.44; Thu, 01 Aug 2019 01:19:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-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=@linaro.org header.s=google header.b=cYaRmjxp; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730458AbfHAITo (ORCPT <rfc822;naresh.kamboju@linaro.org> + 14 others); Thu, 1 Aug 2019 04:19:44 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:46979 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730392AbfHAITo (ORCPT <rfc822;stable@vger.kernel.org>); Thu, 1 Aug 2019 04:19:44 -0400 Received: by mail-pg1-f193.google.com with SMTP id k189so14684731pgk.13 for <stable@vger.kernel.org>; Thu, 01 Aug 2019 01:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=z7GSqiJ6aBNFVvBBcZiH2v3S1Pbs9vo106t8SFNGIe4=; b=cYaRmjxpRpihR3ST0Z43FI6gGebPhfoWhCbpU+IMiA14zAmRrIrwHkLNPGxQbO3dwQ GKIF1ls+9uq+hNUdROGeAa0AknTV9vYQ5TFKVHdwI/2EmvyukmhMRTDGiva55cX2FenL aGDOJ5qzMHxinEWIcGbZyYj1dw2pxHV/LjncanSzzQL3S6e2pW5AVum+1MNUj63YHMgI N3LCp/eNbnqtm6aGhrAr6JZ+sPtBGtd3EyRopNtHb2rYD6dzl/Nm03uWLQROVJdNpWp7 tXl7No6eYiHWr+8KJFDPN8JbC84yPGs9/3Latvd+MfH6CI93+nX4fYz1N+Wls25RH5UP oHBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=z7GSqiJ6aBNFVvBBcZiH2v3S1Pbs9vo106t8SFNGIe4=; b=fK00QAWMZ6PSf0dsc4WzvhjN5W+f7+F0VJV/vpZYKlLUFnpBaswMj77PPEfK5EiFYp ApubR6xHxVIlVj54ueielf/ChmulZe+P65T2SRsPv6hc5rPy3/MINr2h1GFTqTVu1cAd rln3CHG1qZToR0DdiXX5K7Pl1i8dmWHwAjK6xbG4tkqQLYEs3opL9qjyZm71QJ/SRsoe m2+VLCJO3Am4pM9y302jNQXEzqZZMwqRDYHwwJj3wOE6JbK9H64Q5uSQh3IBRkdJmkaz FCMHj4QbHyir7bnwObJ5FHcmQKXTpHfEq1cR6Ggbof2eZv4aXebcRdELKH5TjSA+35y6 Qpdg== X-Gm-Message-State: APjAAAVyEpNJhJFd9yAGOecj4dpYAXW71KQlG2pajwD+312DlIbxdmzS KW7iwmkKoe/oqhAxAkp/IYYvN52Hajo= X-Received: by 2002:a62:3c3:: with SMTP id 186mr51852915pfd.21.1564647583498; Thu, 01 Aug 2019 01:19:43 -0700 (PDT) Received: from localhost ([122.172.28.117]) by smtp.gmail.com with ESMTPSA id l1sm91579706pfl.9.2019.08.01.01.19.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 01:19:43 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> To: stable@vger.kernel.org Cc: Viresh Kumar <viresh.kumar@linaro.org>, Julien Thierry <Julien.Thierry@arm.com>, linux-arm-kernel@lists.infradead.org, Catalin Marinas <catalin.marinas@arm.com>, Marc Zyngier <marc.zyngier@arm.com>, Mark Rutland <mark.rutland@arm.com>, Will Deacon <will.deacon@arm.com>, Russell King <rmk+kernel@arm.linux.org.uk>, Vincent Guittot <vincent.guittot@linaro.org>, mark.brown@arm.com, guohanjun@huawei.com Subject: [PATCH ARM32 v4.4 V2 03/47] arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support Date: Thu, 1 Aug 2019 13:45:47 +0530 Message-Id: <62376918dc348842e21f6eb62235220f53d35cdb.1564646727.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.21.0.rc0.269.g1a574e7a288b In-Reply-To: <cover.1564646727.git.viresh.kumar@linaro.org> References: <cover.1564646727.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
V4.4 backport of arm32 Spectre patches
|
expand
|
diff --git a/include/linux/arm-smccc.h b/include/linux/arm-smccc.h index da9f3916f9a9..1f02e4045a9e 100644 --- a/include/linux/arm-smccc.h +++ b/include/linux/arm-smccc.h @@ -73,6 +73,11 @@ ARM_SMCCC_SMC_32, \ 0, 1) +#define ARM_SMCCC_ARCH_WORKAROUND_1 \ + ARM_SMCCC_CALL_VAL(ARM_SMCCC_FAST_CALL, \ + ARM_SMCCC_SMC_32, \ + 0, 0x8000) + #ifndef __ASSEMBLY__ /**