Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1300386rwi; Wed, 26 Oct 2022 13:29:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5qQoF/f0z/jWA8aT91MpuhppmU27VslJkC60FA8wXW5kl04nL5stV3LFcjYrVJuDAWoTVr X-Received: by 2002:a17:90b:4a09:b0:20c:316d:e58b with SMTP id kk9-20020a17090b4a0900b0020c316de58bmr6168348pjb.217.1666816146248; Wed, 26 Oct 2022 13:29:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666816146; cv=none; d=google.com; s=arc-20160816; b=x9c8J3Ht2dO9Q8W44ADnWch+rEQwwxTSDkeYyvZuho3tmh3eDXidxQzzf9ygXGLMah /ReHuSd2AHhheNMEg2H4JpS17Z4O/j3fpRJf0y75pa82++d87LRdbZXk41R5SK2+zZQQ Ih+ScyhvicbU3t/Sw0sr02CI0fPOzdQjDL+PZl99qrhmuAkrcKCjAOpP1XCXhi1MBh93 qhhLGmMBDVdOC+KwwRvtEyhzdwb2cBM+6R8xEBDdx+pEZzal4in/P8nWw9zzdazRVIzg CIN27yXOwfwfzjykTlatIE0OmTsd7CNW9CoCkJLuLg9OFtwpSZSbt7/jCewQE8HWaC6X q2KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=WFjZUwg9kkHrdeWfJ5ahCLFcRDkAGeHiMWgq9vVh9Ps=; b=hMmbYIQ+YAV1I3QI/P58iiKY5Nj1UowNOD+6GYEqaKoIZ0lGPRMhYSGA4h8nn91Fzs 1lPeWY7vkWp9fWp3rD/zD3ffO2umAvXzc5j63brRosutUFoOPxSd+CM7/8YzaSHptjBf htr86XXulmutICnRq2IvjteHBJdKlT/IrCfcFRhD9X0ZD3Ed0iGtXfdrK+XebVaL4Ka5 Qt5epeShb0osUOit3n+vl5d1bsp4cY/QqWQIPUau0XyHRfkKsmLYkUvgZbiBNoCGqmjP 5/CwJjN9NGeIc9Mafx5MoculLRf1PiIsqrsy9Yqf+wVxVmne3dQ52DEuAvYkUfZqfFlZ po/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PkYZcfy5; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d19-20020a056a0010d300b0056bbdb48fcdsi8891812pfu.118.2022.10.26.13.28.52; Wed, 26 Oct 2022 13:29:06 -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=@linaro.org header.s=google header.b=PkYZcfy5; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235199AbiJZTrW (ORCPT + 99 others); Wed, 26 Oct 2022 15:47:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235161AbiJZTrH (ORCPT ); Wed, 26 Oct 2022 15:47:07 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C42411CB57 for ; Wed, 26 Oct 2022 12:46:21 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id r14so30987681lfm.2 for ; Wed, 26 Oct 2022 12:46:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=WFjZUwg9kkHrdeWfJ5ahCLFcRDkAGeHiMWgq9vVh9Ps=; b=PkYZcfy5WMquWospUQFh7cJpJo4V6wkPaXLJ+W6HivXj3w49ZeLEO8i24izYjxeJzG zRJ/RCfo8mUZzDqGtvoSKR9JZ9RKUY7AEh/cic+6wn7MtLZ7PzFTsJTz4KFzOI+rnz8B BjE8MjFSCSjl+Arttw6PQIqvVmdd0X2q+bNb7LjStezGyMy5ya9RCS1rJm5e5f1vt4hH l3hPWeD3i/dkNIaGPGCsVKuYAQWepXoaYL8QnKpGpEgWpwMoOmNdaq5XQGq4UjIv/zOR /ubN28kFhv9jFCj/bYUHXt4GiyEOS8sE7BVj8K/E5hohb+ch+uNU1PNfAMw4RRQ7mO+F A0lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WFjZUwg9kkHrdeWfJ5ahCLFcRDkAGeHiMWgq9vVh9Ps=; b=uh6lsSPRYg2gGlo/XUZJ8pGZERJoWc29Ayz0ekQrM9eJvPbt1x2auamLHlpD8cLFXS PQ6JHF5fjKxusECo5dopd2HD4fompAh/jgTxQ7twCpt1mkNXEVzcdgtmGN9YLcKGHCmX ymcbcFHMvqbJr4jMKUrKFjlcHniVUG46unucV61LmSHZ+0HPtLWygGT0J3j1uVg0Q/G8 VA9nnpPLZZGFeZgLrPBvvSj+e6b2kTgGI6hY5i3k+9LB4NnWwYHzme5mhwB4sfRrJB1x Y4VpirAcg9chLKU1KzGnZt25Oz1o5n7T6Wu+bX2bA7dXhyt3F79fbs/9MkxkSkCxB1T1 sM1A== X-Gm-Message-State: ACrzQf2+6JzYnt4S0X4rEcNKyVeAkeQlYqyGWYhAKrxAD73Ph5PcNCbQ +1RQsVTJr2Fcvh/gt9X+pYoeQg== X-Received: by 2002:a05:6512:3f8c:b0:4a1:8d5:d75b with SMTP id x12-20020a0565123f8c00b004a108d5d75bmr18369184lfa.670.1666813579744; Wed, 26 Oct 2022 12:46:19 -0700 (PDT) Received: from [10.27.10.248] ([195.165.23.90]) by smtp.gmail.com with ESMTPSA id s5-20020a05651c048500b002770e531535sm1051653ljc.55.2022.10.26.12.46.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Oct 2022 12:46:19 -0700 (PDT) Message-ID: <56a47a6c-29b9-b8f3-e39b-a5841ddf7394@linaro.org> Date: Wed, 26 Oct 2022 22:46:17 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH v6 04/21] arm64: smccc: Include alternative-macros.h Content-Language: en-GB To: Elliot Berman , Bjorn Andersson , Mark Rutland , Lorenzo Pieralisi , Sudeep Holla Cc: Murali Nalajala , Trilok Soni , Srivatsa Vaddagiri , Carl van Schaik , Prakruthi Deepak Heragu , Andy Gross , Jassi Brar , linux-arm-kernel@lists.infradead.org, Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Jonathan Corbet , Will Deacon , Catalin Marinas , Arnd Bergmann , Greg Kroah-Hartman , Srinivas Kandagatla , Amol Maheshwari , Kalle Valo , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221026185846.3983888-1-quic_eberman@quicinc.com> <20221026185846.3983888-5-quic_eberman@quicinc.com> From: Dmitry Baryshkov In-Reply-To: <20221026185846.3983888-5-quic_eberman@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 On 26/10/2022 21:58, Elliot Berman wrote: > Fix build error when CONFIG_ARM64_SVE is selected and > asm/alternative-macros.h wasn't implicitly included by another header. Please include the build error into the commit message to help anybody looking for the solution for the same issue. > > 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) -- With best wishes Dmitry