lkml.org 
[lkml]   [2020]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3] KVM: arm64: ARM_SMCCC_ARCH_WORKAROUND_1 doesn't return SMCCC_RET_NOT_REQUIRED
From
Date
Quoting Will Deacon (2020-10-26 06:25:33)
> On Fri, Oct 23, 2020 at 08:47:50AM -0700, Stephen Boyd wrote:
> > diff --git a/include/linux/arm-smccc.h b/include/linux/arm-smccc.h
> > index 15c706fb0a37..0e50ba3e88d7 100644
> > --- a/include/linux/arm-smccc.h
> > +++ b/include/linux/arm-smccc.h
> > @@ -86,6 +86,8 @@
> > ARM_SMCCC_SMC_32, \
> > 0, 0x7fff)
> >
> > +#define SMCCC_ARCH_WORKAROUND_RET_UNAFFECTED 1
>
> I thought we'd stick this in asm/spectre.h, but here is also good:
>
> Acked-by: Will Deacon <will@kernel.org>
>

Ah sorry I glossed over that one. I suppose it can be moved during patch
application if desired.

\
 
 \ /
  Last update: 2020-10-27 22:43    [W:0.217 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site