From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] arm: ls1: add CPU hotplug platform support
Date: Fri, 26 Sep 2014 14:20:38 +0100 [thread overview]
Message-ID: <20140926132038.GF7422@leverpostej> (raw)
In-Reply-To: <20140926130311.GQ5182@n2100.arm.linux.org.uk>
> > This looks to be a carbon copy of the vexpress pseudo-hotplug in
> > arch/arm/mach-vexpress/hotplug.c, which is obviously broken in the way
> > you describe above. Perhaps we should go about ripping that out?
>
> The Versatile Express does not support suspend so the only problem case
> is kexec. However, isn't this support needed for big.LITTLE, and as
> the Versatile Express is the platform which these features get developed
> on, having working CPU hotplug seems rather fundamental for ARM kernel
> feature development.
>
> In that regard, Versatile Express is something of a special case.
It is admittedly helpful during development to perform pseudo-hotplug on
Versatile Express. I have a local patch adding vexpress_cpu_disable so I
can test for bugs that only trigger if CPU0 is hotplugged.
Given that, perhaps we should make it clearer that Versatile Express is
not a reference implementation for CPU hotplug; add some Kconfig (e.g.
VEXPRESS_PSEUDO_HOTPLUG) that depends on !KEXEC && !SUSPEND, and putting
a note in hotplug.c stating it's not suitable as a reference
implementation.
...but perhaps that's overkill.
Mark.
WARNING: multiple messages have this Message-ID (diff)
From: Mark Rutland <mark.rutland@arm.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Chenhui Zhao <chenhui.zhao@freescale.com>,
"kernel@pengutronix.de" <kernel@pengutronix.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Zhuoyu.Zhang@freescale.com" <Zhuoyu.Zhang@freescale.com>,
"Jason.Jin@freescale.com" <Jason.Jin@freescale.com>,
"leoli@freescale.com" <leoli@freescale.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 1/3] arm: ls1: add CPU hotplug platform support
Date: Fri, 26 Sep 2014 14:20:38 +0100 [thread overview]
Message-ID: <20140926132038.GF7422@leverpostej> (raw)
In-Reply-To: <20140926130311.GQ5182@n2100.arm.linux.org.uk>
> > This looks to be a carbon copy of the vexpress pseudo-hotplug in
> > arch/arm/mach-vexpress/hotplug.c, which is obviously broken in the way
> > you describe above. Perhaps we should go about ripping that out?
>
> The Versatile Express does not support suspend so the only problem case
> is kexec. However, isn't this support needed for big.LITTLE, and as
> the Versatile Express is the platform which these features get developed
> on, having working CPU hotplug seems rather fundamental for ARM kernel
> feature development.
>
> In that regard, Versatile Express is something of a special case.
It is admittedly helpful during development to perform pseudo-hotplug on
Versatile Express. I have a local patch adding vexpress_cpu_disable so I
can test for bugs that only trigger if CPU0 is hotplugged.
Given that, perhaps we should make it clearer that Versatile Express is
not a reference implementation for CPU hotplug; add some Kconfig (e.g.
VEXPRESS_PSEUDO_HOTPLUG) that depends on !KEXEC && !SUSPEND, and putting
a note in hotplug.c stating it's not suitable as a reference
implementation.
...but perhaps that's overkill.
Mark.
next prev parent reply other threads:[~2014-09-26 13:20 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-26 11:25 [PATCH 0/3] arm: ls1: add deep sleep support Chenhui Zhao
2014-09-26 11:25 ` Chenhui Zhao
2014-09-26 11:25 ` [PATCH 1/3] arm: ls1: add CPU hotplug platform support Chenhui Zhao
2014-09-26 11:25 ` Chenhui Zhao
2014-09-26 12:20 ` Russell King - ARM Linux
2014-09-26 12:20 ` Russell King - ARM Linux
2014-09-26 12:46 ` Mark Rutland
2014-09-26 12:46 ` Mark Rutland
2014-09-26 13:03 ` Russell King - ARM Linux
2014-09-26 13:03 ` Russell King - ARM Linux
2014-09-26 13:20 ` Mark Rutland [this message]
2014-09-26 13:20 ` Mark Rutland
2014-09-28 10:57 ` Li Yang
2014-09-28 10:57 ` Li Yang
2014-09-28 14:27 ` Russell King - ARM Linux
2014-09-28 14:27 ` Russell King - ARM Linux
2014-09-26 11:25 ` [PATCH 2/3] pm: add FSM configuration for deep sleep Chenhui Zhao
2014-09-26 11:25 ` Chenhui Zhao
2014-09-26 12:02 ` Russell King - ARM Linux
2014-09-26 12:02 ` Russell King - ARM Linux
2014-09-26 20:51 ` Russell King - ARM Linux
2014-09-26 20:51 ` Russell King - ARM Linux
2014-09-28 9:53 ` Chenhui Zhao
2014-09-28 9:53 ` Chenhui Zhao
2014-09-26 11:25 ` [PATCH 3/3] arm: pm: add deep sleep support for LS1 Chenhui Zhao
2014-09-26 11:25 ` Chenhui Zhao
2014-09-26 12:14 ` Russell King - ARM Linux
2014-09-26 12:14 ` Russell King - ARM Linux
2014-09-28 11:06 ` Chenhui Zhao
2014-09-28 11:06 ` Chenhui Zhao
2014-09-28 14:26 ` Russell King - ARM Linux
2014-09-28 14:26 ` Russell King - ARM Linux
2014-09-29 9:42 ` Chenhui Zhao
2014-09-29 9:42 ` Chenhui Zhao
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=20140926132038.GF7422@leverpostej \
--to=mark.rutland@arm.com \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.