Skip to content

ARM: DT: remove redundant DT related code

Michal Simek linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ARM: DT: remove redundant DT related code
Quoted 9 lines · Sudeep KarkadaNagesha

From: Sudeep KarkadaNagesha <[email protected]>

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.

Quoted 7 lines

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)

Just a note. Zynq is using SCU to get cpu count not DT.

Thanks,
Michal

Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130723/4d2280f8/attachment.sig>