Re: [linux-sunxi] [PATCH] ARM: sunxi: Fix CPU powerdown on A83T

From: Chen-Yu Tsai
Date: Mon Oct 28 2019 - 21:10:06 EST


On Tue, Oct 29, 2019 at 5:49 AM Ondrej Jirman <megous@xxxxxxxxxx> wrote:
>
> PRCM_PWROFF_GATING_REG has CPU0 at bit 4 on A83T. So without this
> patch, instead of gating the CPU0, the whole cluster was power gated,
> when shutting down first CPU in the cluster.
>
> Fixes: 6961275e72a8c1 ("ARM: sun8i: smp: Add support for A83T")
> Signed-off-by: Ondrej Jirman <megous@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

Acked-by: Chen-Yu Tsai <wens@xxxxxxxx>

Though I distinctly remember the BSP had some code dealing with chip
revisions in which the two bits were reversed. :(