Re: [PATCH v5 04/13] arm64: smccc: Include alternative-macros.h

Elliot Berman
2022-10-11T22:46:32Z

On 10/11/2022 12:22 AM, Greg Kroah-Hartman wrote:
> On Mon, Oct 10, 2022 at 05:08:31PM -0700, Elliot Berman wrote:
>> Fix build error when CONFIG_ARM64_SVE is selected and
>> asm/alternative-macros.h wasn't implicitly included by another header.
>>
>> Fixes: cfa7ff959a78 ("arm64: smccc: Support SMCCC v1.3 SVE register saving hint")
>> Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
>
> Shouldn't this be independant of this whole series and get merged now
> and backported to stable kernels if it really is causing a build problem
> today?

I'll drop the "Fixes:" tag here since there is no build problem today.
asm/alternative-macros.h was already implicitly included in all the
cases where arm-smccc.h was being included. When I introduced the Gunyah
hypercalls, I noticed the assumption.