linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Chen-Yu Tsai <wens@csie.org>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>,
	Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org,
	Mylene Josserand <mylene.josserand@bootlin.com>,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/4] ARM: sunxi: mc-smp: Use DT enable-method for sun9i A80 SMP
Date: Fri, 9 Mar 2018 17:50:35 -0600	[thread overview]
Message-ID: <20180309235035.htaeyerfbiz2vijl@rob-hp-laptop> (raw)
In-Reply-To: <20180308150012.19045-3-wens@csie.org>

On Thu, Mar 08, 2018 at 11:00:10PM +0800, Chen-Yu Tsai wrote:
> Instead of having an early init function check the machine compatible
> and installing multi-cluster SMP support for the A80 if it matches,
> use a new cpu enable-method string. This makes the platform support
> future proof in case anyone manages to add PSCI support.
> 
> The original init code for the SMP support is changed into the
> .prepare_cpus callback in the smp_operations structure. Instead of
> panicing when resources are missing like on some platforms, our code
> merely guards against engaging SMP or CPU hotplug and returns an error.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
> ---
>  Documentation/devicetree/bindings/arm/cpus.txt |  1 +

Reviewed-by: Rob Herring <robh@kernel.org>

>  arch/arm/mach-sunxi/mc_smp.c                   | 21 ++++++++++++++++++++-
>  2 files changed, 21 insertions(+), 1 deletion(-)

  parent reply	other threads:[~2018-03-09 23:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-08 15:00 [PATCH 0/4] ARM: sunxi: Clean and improvements for multi-cluster SMP Chen-Yu Tsai
2018-03-08 15:00 ` [PATCH 1/4] ARM: sunxi: mc-smp: Fix "lookback" typo Chen-Yu Tsai
2018-03-08 15:08   ` Maxime Ripard
2018-03-08 15:00 ` [PATCH 2/4] ARM: sunxi: mc-smp: Use DT enable-method for sun9i A80 SMP Chen-Yu Tsai
2018-03-08 15:09   ` Maxime Ripard
2018-03-09 23:50   ` Rob Herring [this message]
2018-03-08 15:00 ` [PATCH 3/4] ARM: dts: sun9i: Add enable-method for SMP support for the A80 SoC Chen-Yu Tsai
2018-03-08 15:09   ` Maxime Ripard
2018-03-08 15:00 ` [PATCH 4/4] ARM: sunxi: mc-smp: Split out SoC-specific device node lookup sequence Chen-Yu Tsai
2018-03-08 15:13   ` Maxime Ripard
2018-03-10  8:16 ` [PATCH 0/4] ARM: sunxi: Clean and improvements for multi-cluster SMP Chen-Yu Tsai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180309235035.htaeyerfbiz2vijl@rob-hp-laptop \
    --to=robh@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@bootlin.com \
    --cc=mylene.josserand@bootlin.com \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).