Message ID | 1519908862-11425-43-git-send-email-alex.shi@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp2765864edc; Thu, 1 Mar 2018 05:01:05 -0800 (PST) X-Google-Smtp-Source: AG47ELv7j4iQaCwROXUpOFGcf8/Ka9WL9I6YWEaQE6x0sXPlEN4hU5CdQ6efTsrT1KWfFnq911zC X-Received: by 10.99.124.7 with SMTP id x7mr1485758pgc.356.1519909265208; Thu, 01 Mar 2018 05:01:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519909265; cv=none; d=google.com; s=arc-20160816; b=ynotJAfIy4MVURofBXPQHAJRe33Vxe4LDGPZF6SZK6Nz2hUb+b+mrDVEeb/QABEnvd lFxwvE+1IEZ6vboFBm1+Vbai1zO+PodouP3wxJ0Q4bykYW5GlzJp0gXXWW8Pv07ocyrh qoNM2EyL90a2tq3f4gn8LPiwpuXLJWNpctfZgppFpN3o6dAiDTCDOwLhyTlr5pl9nO2V CegMrB65pwZnUkf005SQaSIdGpwvf7Ycsx2l9we019m+Q60TMR70IMXRzKuJrLILw7JL hZamG0Q73KlikmCjZiw1nrsDC3kU2Ng0tslnlbQABkqKJWQBO5U+RFp3pVX+ZaSHTnWT J8Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=xjpJ8k7CKNbvTvoCWi2+8tjs1SrG8L5eeUCBFmDTG3o=; b=p9pnxKkEul6h9Z+XWV6aoTdKB79b1RZkrEAEA/xXzlVAYEwyC9k7c46mxyqX2JkKbj MEvFnKYiIjG2VLPG49Gm6tng+mLlPp43bl7PluabN4RQh+r7K0N22rSF34ZZrNYQ6b4A sXlQXhk8L/vbeuEFkiN9S3xDv2UhGoxo40XMdOEvZTDtqPToYm4FjFrcpnhIO3DOmdeH Yb5SKPhanFnxsX5lbpknmgScBer48R3RdA8iwZlZdR5Z8oe3Xkqcxxsu3WEpUjUtKPLm I+Zd46tWJwya7k2XGvOUPhwCEoawcPtSPMWBa49YTfuKLNBQKaAklQYDVPWxIQvvIksk 1yRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ULhcJObd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o5-v6si3032649plh.135.2018.03.01.05.01.04; Thu, 01 Mar 2018 05:01:05 -0800 (PST) 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=@linaro.org header.s=google header.b=ULhcJObd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031165AbeCANBB (ORCPT <rfc822; dan.rue@linaro.org> + 28 others); Thu, 1 Mar 2018 08:01:01 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34805 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031154AbeCANA6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 1 Mar 2018 08:00:58 -0500 Received: by mail-pf0-f195.google.com with SMTP id j20so2411125pfi.1 for <linux-kernel@vger.kernel.org>; Thu, 01 Mar 2018 05:00:58 -0800 (PST) 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; bh=xjpJ8k7CKNbvTvoCWi2+8tjs1SrG8L5eeUCBFmDTG3o=; b=ULhcJObd7hh6GHhVGPDcF1aqBB2fpD46RptqYqg6FZVnAxO64acvPhAp+B82sOpc9N W1brkOsZBelO139nXlzRrF5YP/oQAuK+c1zwqf8/PA/+1k0AuaTsk51RhO37DC+kdxEs 0jD5orIB1QIJ3OBDgSaqE1zcz686DGtNsBDgc= 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; bh=xjpJ8k7CKNbvTvoCWi2+8tjs1SrG8L5eeUCBFmDTG3o=; b=edZ13uWge3Vfzp9DQu/TBxqwhP+lQ1V90ElPFVr4lKEQlvxq9LOfcfmJpWFk00HAk1 HPqeMs4EdeKFKStYGuYForsnIJ8O5aCG1HgPQfYYXVEnxRezt3YUtmx35jFZ95OSOHR+ 4NIDW8XWxsCRcNSsNly9zidkBo+5SDrPHir6rriDwBa1xknQ/+NqxXkluMIIZE1V+4UA u+zFgv9I012S2oLN5nyqbB0eZYvpUTF1ImYjqcCDYu8IQ2Yx/egSVAmNh3pXUI8J8HGU n7oAEoMvZJQ0wfizoIXPtNKrntFWrCYcj1GS9MvnUXQqqL7BoD2TesvbgTImH7nSGXAi PHaw== X-Gm-Message-State: APf1xPCvfk58N7sbFooMyRZ3KZme+tzL+7e9faSR815A16N5J0///eCV 5V67kvGwGYGv4z9L9nvB5/02+Q== X-Received: by 10.101.92.66 with SMTP id v2mr1482378pgr.341.1519909256952; Thu, 01 Mar 2018 05:00:56 -0800 (PST) Received: from localhost.localdomain (176.122.172.82.16clouds.com. [176.122.172.82]) by smtp.gmail.com with ESMTPSA id x4sm2289655pfb.46.2018.03.01.05.00.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Mar 2018 05:00:56 -0800 (PST) From: Alex Shi <alex.shi@linaro.org> To: Marc Zyngier <marc.zyngier@arm.com>, Will Deacon <will.deacon@arm.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Catalin Marinas <catalin.marinas@arm.com>, stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Alex Shi <alex.shi@linaro.org> Subject: [PATCH 42/45] arm/arm64: smccc: Make function identifiers an unsigned quantity Date: Thu, 1 Mar 2018 20:54:19 +0800 Message-Id: <1519908862-11425-43-git-send-email-alex.shi@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519908862-11425-1-git-send-email-alex.shi@linaro.org> References: <1519908862-11425-1-git-send-email-alex.shi@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
arm Spectre fix backport review for LTS 4.9
|
expand
|
diff --git a/include/linux/arm-smccc.h b/include/linux/arm-smccc.h index e1ef944..dd44d84 100644 --- a/include/linux/arm-smccc.h +++ b/include/linux/arm-smccc.h @@ -14,14 +14,16 @@ #ifndef __LINUX_ARM_SMCCC_H #define __LINUX_ARM_SMCCC_H +#include <uapi/linux/const.h> + /* * This file provides common defines for ARM SMC Calling Convention as * specified in * http://infocenter.arm.com/help/topic/com.arm.doc.den0028a/index.html */ -#define ARM_SMCCC_STD_CALL 0 -#define ARM_SMCCC_FAST_CALL 1 +#define ARM_SMCCC_STD_CALL _AC(0,U) +#define ARM_SMCCC_FAST_CALL _AC(1,U) #define ARM_SMCCC_TYPE_SHIFT 31 #define ARM_SMCCC_SMC_32 0