Received: by 2002:ac8:7d84:0:b0:3a4:ecf9:1892 with SMTP id c4csp707361qtd; Wed, 26 Oct 2022 12:43:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM420DoYHPUVyCEpJVFGx/ex98nP+xxATA1jD0/rKv29cHFPkupFwN7dErsuFvP2h5ekGpfr X-Received: by 2002:a17:902:c209:b0:186:67b0:b1d0 with SMTP id 9-20020a170902c20900b0018667b0b1d0mr34704649pll.129.1666813434646; Wed, 26 Oct 2022 12:43:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666813434; cv=none; d=google.com; s=arc-20160816; b=A8slfh4SXxWwfRLA52ZDXY9FYChi/jvph5o7Rts4ASVy38sJOeWgY0QpV2FGX0bLWj DnOX5miYyyvtPXhwOhq3gGKYyQ18f/8K6IiCy8TFJifW3bmapHBS3BG5f/BMFt3AEz2P 5IDAhbFeCnvCwNjd9fOClBxZjKvIc0FJWJUJAfcqTvOeYcfYbjhIsw7IK4411oLLsBb7 UD7UcW3OJVrE1/h0t1TtTv++1XAtj6sgKi3s6r6U7zWiXEQhyPX47JirbTjVfR5KjUm+ AmJk1f5hPMgGigL7sSxuil6eGYIvwlAFkxOvPm/BBYq4Qzr2uTDpzL/Ee/CkJD/nSOUu VN1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yXlqNXMWAdjwAdJIaYWHWJwPCld5jvDJM7JbTJUhsTs=; b=jMCJH4aA23vStPRSosXnHHawv13Ap9GMg7fGeTtC16XZwvQTLb679CVuPvXoH3AiPF 8pC5KFxUyuDS7MW1fjiXlmWYq6bpDCSoc5eFxnQzv6zwTj8pEZszx0DmmmG3hKt49Jx4 zVFOxQj2zhNZwGBNZD+hNd7IetC8H2CDdTLzs0MldWuSwa0tMVB4n9i/Ol27Pudvgtej iLQxBqAjkS5UJlFO/4hm1LGPgu9Q8Jg+xare8OfokyJhcbAPi8AfMgHZ3XZN0c4XLEoQ ergcup4e73KQrcfZqf6UgwPC5thzBSc/ldiN7DJ6mtk9ZS/uRQ0A31M/SmSS3D6MzWEN v3ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XylTMNvA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mq16-20020a17090b381000b001fd7cab081bsi4290979pjb.125.2022.10.26.12.43.40; Wed, 26 Oct 2022 12:43:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XylTMNvA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234708AbiJZTBC (ORCPT + 99 others); Wed, 26 Oct 2022 15:01:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234570AbiJZTAM (ORCPT ); Wed, 26 Oct 2022 15:00:12 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CC84DF11; Wed, 26 Oct 2022 11:59:48 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29QIoin1008148; Wed, 26 Oct 2022 18:59:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=yXlqNXMWAdjwAdJIaYWHWJwPCld5jvDJM7JbTJUhsTs=; b=XylTMNvATBwOJYq+CsmQKTjrAPAXGmATZqTzMp6hMO89d75ybKQW826SLx0qFemAs68N J2d74W/7sQxNzxu+hPMEP7ieF+7oEwAyz+O/cwgDf13QPtukDEuPkjF6gnmWNgJFaoY4 GHCe2puDj+ik5MpshQIQNBYv/UYyXl0xN3st/48BXJ//CvX/RBV9M5mCMYODDEOYtN5b OyzThtnVPWiwVvQ5Lc+H5zdR92eT/Jmj91V3hN9cqXU2FLrqOAHPG3fGvCnvDHhLYJRf mfpX6KsKGjf5KA8d42OEkzXApiazjvRzFtRyS+RVw9RtxG0mv2xw+C582f/Vd0KPKgJ4 xA== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kfahc80tr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Oct 2022 18:59:29 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 29QIxSXU002207 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Oct 2022 18:59:28 GMT Received: from hu-eberman-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Wed, 26 Oct 2022 11:59:27 -0700 From: Elliot Berman To: Bjorn Andersson , Mark Rutland , Lorenzo Pieralisi , "Sudeep Holla" CC: Elliot Berman , Murali Nalajala , Trilok Soni , "Srivatsa Vaddagiri" , Carl van Schaik , Prakruthi Deepak Heragu , Andy Gross , Dmitry Baryshkov , Jassi Brar , , Marc Zyngier , "Rob Herring" , Krzysztof Kozlowski , Jonathan Corbet , "Will Deacon" , Catalin Marinas , "Arnd Bergmann" , Greg Kroah-Hartman , Srinivas Kandagatla , Amol Maheshwari , Kalle Valo , , , , Subject: [PATCH v6 04/21] arm64: smccc: Include alternative-macros.h Date: Wed, 26 Oct 2022 11:58:29 -0700 Message-ID: <20221026185846.3983888-5-quic_eberman@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221026185846.3983888-1-quic_eberman@quicinc.com> References: <20221026185846.3983888-1-quic_eberman@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: _Q55uuQIiKBgsUhGIyxSRQA4xD-usOHi X-Proofpoint-GUID: _Q55uuQIiKBgsUhGIyxSRQA4xD-usOHi X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-26_07,2022-10-26_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=608 malwarescore=0 bulkscore=0 phishscore=0 spamscore=0 impostorscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2210260107 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix build error when CONFIG_ARM64_SVE is selected and asm/alternative-macros.h wasn't implicitly included by another header. Signed-off-by: Elliot Berman --- include/linux/arm-smccc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/arm-smccc.h b/include/linux/arm-smccc.h index 220c8c60e021..6a627cdbbdec 100644 --- a/include/linux/arm-smccc.h +++ b/include/linux/arm-smccc.h @@ -383,6 +383,7 @@ asmlinkage void __arm_smccc_hvc(unsigned long a0, unsigned long a1, /* nVHE hypervisor doesn't have a current thread so needs separate checks */ #if defined(CONFIG_ARM64_SVE) && !defined(__KVM_NVHE_HYPERVISOR__) +#include #define SMCCC_SVE_CHECK ALTERNATIVE("nop \n", "bl __arm_smccc_sve_check \n", \ ARM64_SVE) -- 2.25.1