[PATCH] arm64: Allow CPUs unffected by ARM erratum 1418040 to come in late

Doug Anderson dianders at google.com
Fri Sep 11 15:51:01 EDT 2020


Hi,

On Fri, Sep 11, 2020 at 11:59 AM Matthias Kaehlcke <mka at chromium.org> wrote:
>
> On Fri, Sep 11, 2020 at 07:16:11PM +0100, Marc Zyngier wrote:
> > Now that we allow CPUs affected by erratum 1418040 to come in late,
> > this prevents their unaffected sibblings from coming in late (or
> > coming back after a suspend or hotplug-off, which amounts to the
> > same thing).
> >
> > To allow this, we need to add ARM64_CPUCAP_OPTIONAL_FOR_LATE_CPU,
> > which amounts to set .type to ARM64_CPUCAP_WEAK_LOCAL_CPU_FEATURE.
> >
> > Reported-by: Doug Anderson <dianders at google.com>
> > Tested-by: Sai Prakash Ranjan <saiprakash.ranjan at codeaurora.org>
> > Fixes: bf87bb0881d0 ("arm64: Allow booting of late CPUs affected by erratum 1418040")
> > Signed-off-by: Marc Zyngier <maz at kernel.org>
>
> Tested-by: Matthias Kaehlcke <mka at chromium.org>
>
> And I guess I deserve brownie points for having found the problem
> initially and identified the offending commit, even though it was
> Doug who reported it to the list :)
>
> Reported-by: Matthias Kaehlcke <mka at chromium.org>

LOL, I was just thinking that.  Feel free to just use Matthias's
Reported-by and leave mine off.  I don't think my contributions here
are enough to warrant a tag.  ;-)

-Doug



More information about the linux-arm-kernel mailing list