From: marc.zyngier@arm•com (Marc Zyngier)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v4 06/10] ARM: SoC: convert Exynos4 to SoC descriptor
Date: Tue, 04 Oct 2011 13:33:47 +0100 [thread overview]
Message-ID: <4E8AFD2B.4040104@arm.com> (raw)
In-Reply-To: <CAH9JG2ULZgHbnVBcO-QTqsO9iMPjDWqF4S23YQYW6fcPRSQRYw@mail.gmail.com>
On 04/10/11 12:01, Kyungmin Park wrote:
> On Tue, Oct 4, 2011 at 2:35 AM, Marc Zyngier <marc.zyngier@arm•com> wrote:
>> Convert Exynos4 to use the SoC descriptor to provide its SMP
>> and CPU hotplug operations.
>>
>> Cc: Kukjin Kim <kgene.kim@samsung•com>
>> Signed-off-by: Marc Zyngier <marc.zyngier@arm•com>
>> ---
>> arch/arm/mach-exynos4/core.h | 9 +++++++++
>> arch/arm/mach-exynos4/cpu.c | 8 ++++++++
>> arch/arm/mach-exynos4/hotplug.c | 8 +++++---
>> arch/arm/mach-exynos4/mach-armlex4210.c | 3 +++
>> arch/arm/mach-exynos4/mach-nuri.c | 3 +++
>> arch/arm/mach-exynos4/mach-origen.c | 3 +++
>> arch/arm/mach-exynos4/mach-smdk4212.c | 3 +++
>> arch/arm/mach-exynos4/mach-smdkv310.c | 4 ++++
>> arch/arm/mach-exynos4/mach-universal_c210.c | 3 +++
>> arch/arm/mach-exynos4/platsmp.c | 25 +++++++++++++++++++++----
>> 10 files changed, 62 insertions(+), 7 deletions(-)
>> create mode 100644 arch/arm/mach-exynos4/core.h
>>
>> diff --git a/arch/arm/mach-exynos4/core.h b/arch/arm/mach-exynos4/core.h
>> new file mode 100644
>> index 0000000..ba9fcc8
>> --- /dev/null
>> +++ b/arch/arm/mach-exynos4/core.h
>> @@ -0,0 +1,9 @@
>
> It's helpful to add header guard
>
> #ifndef __EXYNOS4_CORE_H
> #define __EXYNOS4_CORE_H
Yep, will add.
>> +#include <asm/soc.h>
>> +
>> +extern struct arm_soc_smp_init_ops exynos4_soc_smp_init_ops;
>> +extern struct arm_soc_smp_ops exynos4_soc_smp_ops;
>> +extern struct arm_soc_desc exynos4_soc_desc;
>> +
>> +extern int exynos4_cpu_kill(unsigned int cpu);
>> +extern void exynos4_cpu_die(unsigned int cpu);
>> +extern int exynos4_cpu_disable(unsigned int cpu);
> #endif
>
> Tested-by: Kyungmin Park <kyungmin.park@samsung•com>
Thanks for testing.
M.
--
Jazz is not dead. It just smells funny...
next prev parent reply other threads:[~2011-10-04 12:33 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-03 17:35 [PATCH v4 00/10] Per SoC descriptor Marc Zyngier
2011-10-03 17:35 ` [PATCH v4 01/10] ARM: SoC: Introduce per " Marc Zyngier
2011-10-03 17:35 ` [PATCH v4 02/10] ARM: SoC: Add per SoC SMP and CPU hotplug operations Marc Zyngier
2011-10-03 19:12 ` Nicolas Pitre
2011-10-04 9:44 ` Marc Zyngier
2011-10-04 10:30 ` Kyungmin Park
2011-10-04 10:35 ` Kyungmin Park
2011-10-03 17:35 ` [PATCH v4 03/10] ARM: SoC: convert VExpress/RealView to SoC descriptor Marc Zyngier
2011-10-03 17:35 ` [PATCH v4 04/10] ARM: SoC: convert OMAP4 " Marc Zyngier
2011-10-04 6:32 ` Shilimkar, Santosh
2011-10-04 9:44 ` Marc Zyngier
2011-10-03 17:35 ` [PATCH v4 05/10] ARM: SoC: convert Tegra " Marc Zyngier
2011-10-03 20:52 ` Stephen Warren
2011-10-04 9:47 ` Marc Zyngier
2011-10-03 17:35 ` [PATCH v4 06/10] ARM: SoC: convert Exynos4 " Marc Zyngier
2011-10-04 11:01 ` Kyungmin Park
2011-10-04 12:33 ` Marc Zyngier [this message]
2011-10-04 13:16 ` Kukjin Kim
2011-10-04 13:48 ` Marc Zyngier
2011-10-05 1:22 ` Kukjin Kim
2011-10-03 17:35 ` [PATCH v4 07/10] ARM: SoC: convert MSM SMP " Marc Zyngier
2011-10-03 17:35 ` [PATCH v4 08/10] ARM: SoC: convert ux500 " Marc Zyngier
2011-10-03 17:35 ` [PATCH v4 09/10] ARM: SoC: convert shmobile sh73a0 " Marc Zyngier
2011-10-03 17:35 ` [PATCH v4 10/10] ARM: smp: Make SoC descriptor mandatory for SMP platforms Marc Zyngier
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=4E8AFD2B.4040104@arm.com \
--to=marc.zyngier@arm$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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