[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180417112038.mw7bfhqw4xwvzxcw@flea>
Date: Tue, 17 Apr 2018 13:20:38 +0200
From: Maxime Ripard <maxime.ripard@...tlin.com>
To: Mylène Josserand <mylene.josserand@...tlin.com>
Cc: linux@...linux.org.uk, wens@...e.org, marc.zyngier@....com,
mark.rutland@....com, robh+dt@...nel.org, horms@...ge.net.au,
geert@...ux-m68k.org, magnus.damm@...il.com,
linux-renesas-soc@...r.kernel.org, devicetree@...r.kernel.org,
clabbe.montjoie@...il.com, quentin.schulz@...tlin.com,
thomas.petazzoni@...tlin.com, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6 09/11] ARM: sun8i: smp: Add support for A83T
On Mon, Apr 16, 2018 at 11:50:30PM +0200, Mylène Josserand wrote:
> @@ -535,8 +599,12 @@ static int sunxi_mc_smp_cpu_kill(unsigned int l_cpu)
> return !ret;
> }
>
> -static bool sunxi_mc_smp_cpu_can_disable(unsigned int __unused)
> +static bool sunxi_mc_smp_cpu_can_disable(unsigned int cpu)
> {
> + /* CPU0 hotplug not handled for sun8i-a83t */
> + if (is_sun8i)
> + if (cpu == 0)
> + return false;
> return true;
I think Chen-Yu told you how to implement the hotplug in the previous
iteration, did you have time to test it?
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists