lkml.org 
[lkml]   [2017]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] arm64: cpufeature: check translation granule size based on kernel config
On Thu, May 18, 2017 at 03:24:15PM +0100, Mark Rutland wrote:
> On Thu, May 18, 2017 at 09:02:50PM +0800, Leo Yan wrote:
> > On Thu, May 18, 2017 at 01:41:15PM +0100, Mark Rutland wrote:
> > > diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
> > > index 94b8f7f..1f53314 100644
> > > --- a/arch/arm64/kernel/cpufeature.c
> > > +++ b/arch/arm64/kernel/cpufeature.c
> > > @@ -639,8 +639,8 @@ void update_cpu_features(int cpu,
> > > * Mismatched CPU features are a recipe for disaster. Don't even
> > > * pretend to support them.
> > > */
> > > - WARN_TAINT_ONCE(taint, TAINT_CPU_OUT_OF_SPEC,
> > > - "Unsupported CPU feature variation.\n");
> > > + pr_warn_once("Unsupported CPU feature variation detected.\n");
> > > + add_taint(TAINT_CPU_OUT_OF_SPEC);
> >
> > Should be add_taint(TAINT_CPU_OUT_OF_SPEC, LOCKDEP_STILL_OK)?
>
> Whoops; yes.

I've picked this up with the fix above.

Will

\
 
 \ /
  Last update: 2017-05-18 17:14    [W:0.044 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site