linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] ARM: DT: remove redundant DT related code
@ 2013-07-23 11:32 Sudeep KarkadaNagesha
  2013-07-23 11:32 ` [PATCH 1/5] ARM: keystone: remove redundant smp_init_cpus definition Sudeep KarkadaNagesha
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Sudeep KarkadaNagesha @ 2013-07-23 11:32 UTC (permalink / raw)
  To: linux-arm-kernel

From: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>

Hi,

As part of my changes to remove duplicate code for parsing cpu nodes
in the device tree, I found few unnecessary code mostly around smp_init_cpus.
Most of the ARM Cortex A9 based platforms use SCU to get the number of cpus
while many others depend on the device tree.

Even on DT based platforms using SCU, they can be made to depend on DT
to cpu count simplifying smp_init_cpus. In fact arm_dt_init_cpu_maps called
before smp_init_cpus, already does the device tree parsing, validating
nr_cpu_ids and setting the cpu_possible_mask appropriately. 

However this series targets only the platforms using DT for cpu count
(i.e. not using SCU)

Regards,
Sudeep

Sudeep KarkadaNagesha (5):
  ARM: keystone: remove redundant smp_init_cpus definition
  ARM: vexpress: remove redundant vexpress_dt_cpus_num to get cpu count
  ARM: mach-mvebu: remove redundant DT parsing and validation
  ARM: highbank: remove redundant smp_init_cpus definition
  ARM: zynq: remove unnecessary setting of cpu_present_mask

 arch/arm/mach-highbank/platsmp.c | 22 ----------------------
 arch/arm/mach-keystone/platsmp.c |  1 -
 arch/arm/mach-mvebu/platsmp.c    | 19 +------------------
 arch/arm/mach-vexpress/platsmp.c | 32 +-------------------------------
 arch/arm/mach-zynq/platsmp.c     |  9 ---------
 5 files changed, 2 insertions(+), 81 deletions(-)

-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2013-08-09 13:11 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-23 11:32 [PATCH 0/5] ARM: DT: remove redundant DT related code Sudeep KarkadaNagesha
2013-07-23 11:32 ` [PATCH 1/5] ARM: keystone: remove redundant smp_init_cpus definition Sudeep KarkadaNagesha
2013-07-23 13:26   ` Santosh Shilimkar
2013-07-23 11:32 ` [PATCH 2/5] ARM: vexpress: remove redundant vexpress_dt_cpus_num to get cpu count Sudeep KarkadaNagesha
2013-08-09  9:25   ` Sudeep KarkadaNagesha
2013-07-23 11:32 ` [PATCH 3/5] ARM: mach-mvebu: remove redundant DT parsing and validation Sudeep KarkadaNagesha
2013-08-08 14:54   ` Sudeep KarkadaNagesha
2013-08-08 15:19     ` Gregory CLEMENT
2013-08-08 15:50       ` Jason Cooper
2013-08-09 13:11   ` Jason Cooper
2013-07-23 11:32 ` [PATCH 4/5] ARM: highbank: remove redundant smp_init_cpus definition Sudeep KarkadaNagesha
2013-07-23 15:03   ` Rob Herring
2013-07-23 15:34     ` Sudeep KarkadaNagesha
2013-07-23 11:32 ` [PATCH 5/5] ARM: zynq: remove unnecessary setting of cpu_present_mask Sudeep KarkadaNagesha
2013-07-23 12:31 ` [PATCH 0/5] ARM: DT: remove redundant DT related code Michal Simek
2013-07-23 12:36   ` Sudeep KarkadaNagesha
2013-07-23 19:45 ` Nicolas Pitre
2013-07-24 10:48   ` Sudeep KarkadaNagesha

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).