Message ID | 9f53c355f58717a810f74b72ab6982d723fb621c.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 q18csp5085144ile; Thu, 1 Aug 2019 01:19:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzW6Fx/cTZJleaVA11PiSQHR67onR8ZOb3lRhhttTouMQy0dCVsS7gA5bVNRnBh2pZR7gJw X-Received: by 2002:aa7:9513:: with SMTP id b19mr52079250pfp.30.1564647582684; Thu, 01 Aug 2019 01:19:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564647582; cv=none; d=google.com; s=arc-20160816; b=VAnPHTYLZGlDqp4qLJCXIpnAiWDTFTe3AQeMTxruyhv6UKdxuZ4MhPiolyaIhyG6lw CsX7bFr6Vs48sqszNxwiAqJoDYS7FtmlLqsz35dzsunIb0NbR2mofa7g/PgdO49quNmc XPJqoFKuL7x9ZPT5kTErSSxdo5Yn5v6qHu6tndBshPhrJj8rFwdL9XPVn1IWSUtHrxN/ uCacXQHXieXqfCdDHAgfmhlvphjFa91OcBaLGfjegi4j3+ivhM8qxXyGFYyZAknMxLAx W5BACWk32zecfOZVK2DF3N6chd3iPUZ7WhYFzqBtL6PZ1lnqITqvHCX9Ojd+Sk/oPRiG 4i7w== 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=FDb8snX7fHtHRXPBtLwcic7/q7BlhqslXapsBvvT9m4=; b=eHRbUZaCKXlh6P0di9jXD9uUk2t63OB8tuj/DUVnziaMDBB3ZD6fMqXyAL4BIqi79R 49f737xOudORV9hvyqoVQdWkIH6GGNu5vKpg3qlC+JhvNXCSYnNGQVELei0g+HVHBOjW WGPgLjntTChDq5ra5iuQzsfh6WaBfa0mgYu/44ie1EkskuJz8gV2NVdMUqOa+rqQ0X3j DkEXGXpX97nn/dhX/5FoL/m/DiUqSbs2iHlq8sQnk6nEpotrbu7HdOi7UBJB2fnna8l9 wyBzZZ79duNIdJtaRl9UJBan2DAi3+SbGt+8/y9ToA/U//OONU2P+s+1/OjIsSIDyygN pq3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lj9Gf1gl; 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.42; Thu, 01 Aug 2019 01:19:42 -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=lj9Gf1gl; 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 S1730420AbfHAITm (ORCPT <rfc822;naresh.kamboju@linaro.org> + 14 others); Thu, 1 Aug 2019 04:19:42 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:42755 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730392AbfHAITl (ORCPT <rfc822;stable@vger.kernel.org>); Thu, 1 Aug 2019 04:19:41 -0400 Received: by mail-pg1-f193.google.com with SMTP id t132so33724193pgb.9 for <stable@vger.kernel.org>; Thu, 01 Aug 2019 01:19:41 -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=FDb8snX7fHtHRXPBtLwcic7/q7BlhqslXapsBvvT9m4=; b=lj9Gf1glakTXRPzaABcp+dSTirE8tmaZ6Td74cA3BogQQOFnDfrZx9oEj0Hnu8zmf7 I54TfGtBNyKO+fzt/7SB7xyYp1p4K8QLFUWbHq2Go+7iSwTcEIBwjplWtA/b6ot5RZGD 7Ejsf7yCr1FZcsZOTEXCXfaLdFA2Ee/138F9K3VmN6GopU0+0ZREjPK+4GNwcUa4QIpo n0qcmsR2ExwcIsWajm8cidxMF4XetBAN/apkVA+G1DBoLILahesp6c9blZQkIM3Azh4S 2LRU0HSJJAZfiApfsG1OijZOdJzf2a4NKzlEumfazVW8XkjdyZFVaHxoXrZvSRpZ3mvp eSlw== 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=FDb8snX7fHtHRXPBtLwcic7/q7BlhqslXapsBvvT9m4=; b=AQ47EL84f77wToo4JY5p+cOp5NaGWrNO9dwKecIS4k0aHeznnet50RHJwKH6CqSFNL 0+rwG/Q+/qpkFeM2YWdhnF+fNRuRLrEFBmj8nJZtuva8xjF7wswyB2qkavQLle6PrpIc Hkmfsa6QgkUCIgxZrAukg4vJi8m6LcSUd+8D6hNyc0FCb/EPKP5nxeHX2dzz2RBe5+wX tEkZLkXZWlW22+0RNio32mVi7f3qjIQ0dh307Y6JCDFftQGVj3VtLHEwAVSzy2zbHv3i ljkqpO+8nZipaTYniRgoNV9zilAuG4TBiV45fAt5xGFktQ0XwTX1trsfjRssL9j6CxWQ T4yw== X-Gm-Message-State: APjAAAXCFnVHgQqwdXPSrIdEsbw5IIeq0kHf+mmH0z2APINcZERyJQ5F PtdzKnoV/PPsFBDRUAiLgowtA88ngCo= X-Received: by 2002:a62:750c:: with SMTP id q12mr53419702pfc.59.1564647581009; Thu, 01 Aug 2019 01:19:41 -0700 (PDT) Received: from localhost ([122.172.28.117]) by smtp.gmail.com with ESMTPSA id u1sm67243723pgi.28.2019.08.01.01.19.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 01:19:40 -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 02/47] arm/arm64: KVM: Advertise SMCCC v1.1 Date: Thu, 1 Aug 2019 13:45:46 +0530 Message-Id: <9f53c355f58717a810f74b72ab6982d723fb621c.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 611d10580340..da9f3916f9a9 100644 --- a/include/linux/arm-smccc.h +++ b/include/linux/arm-smccc.h @@ -60,6 +60,19 @@ #define ARM_SMCCC_OWNER_TRUSTED_OS 50 #define ARM_SMCCC_OWNER_TRUSTED_OS_END 63 +#define ARM_SMCCC_VERSION_1_0 0x10000 +#define ARM_SMCCC_VERSION_1_1 0x10001 + +#define ARM_SMCCC_VERSION_FUNC_ID \ + ARM_SMCCC_CALL_VAL(ARM_SMCCC_FAST_CALL, \ + ARM_SMCCC_SMC_32, \ + 0, 0) + +#define ARM_SMCCC_ARCH_FEATURES_FUNC_ID \ + ARM_SMCCC_CALL_VAL(ARM_SMCCC_FAST_CALL, \ + ARM_SMCCC_SMC_32, \ + 0, 1) + #ifndef __ASSEMBLY__ /**