devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/4] arm64, numa: Add numa support for arm64 platforms
@ 2015-10-20 10:45 Ganapatrao Kulkarni
  2015-10-20 10:45 ` [PATCH v6 1/4] arm64, numa: adding " Ganapatrao Kulkarni
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Ganapatrao Kulkarni @ 2015-10-20 10:45 UTC (permalink / raw)
  To: linux-arm-kernel, devicetree, Will.Deacon, catalin.marinas,
	grant.likely, leif.lindholm, rfranz, ard.biesheuvel, msalter,
	robh+dt, steve.capper, hanjun.guo, al.stone, arnd, pawel.moll,
	mark.rutland, ijc+devicetree, galak, rjw, lenb, marc.zyngier,
	rrichter, Prasun.Kapoor
  Cc: gpkulkarni

v6:
	- defined and implemented the numa dt binding using
	node property proximity and device node distance-map.
	- renamed dt_numa to of_numa

v5:
        - created base verion of numa.c which creates dummy numa without using dt
          on single socket platforms. Then added patches for dt support.
        - Incorporated review comments from Hanjun Guo.

v4:
done changes as per Arnd review comments.

v3:
Added changes to support numa on arm64 based platforms.
Tested these patches on cavium's multinode(2 node topology) platform.
In this patchset, defined and implemented dt bindings for numa mapping
for core and memory using device node property arm,associativity.

v2:
Defined and implemented numa map for memory, cores to node and
proximity distance matrix of nodes.

v1:
Initial patchset to support numa on arm64 platforms.

Note:
        1. This patchset is tested for numa with dt on
           thunderx single socket and dual socket boards.
        2. Numa DT booting needs the dt memory nodes, which are deleted in current efi-stub,
        hence to try numa with dt, you need to rebase with ard's patchset.
        http://git.linaro.org/people/ard.biesheuvel/linux-arm.git/shortlog/refs/heads/arm64-uefi-early-fdt-handling

Ganapatrao Kulkarni (4):
  arm64, numa: adding numa support for arm64 platforms.
  Documentation, dt, arm64/arm: dt bindings for numa.
  arm64/arm, numa, dt: adding numa dt binding implementation for arm64
    platforms
  arm64, dt, thunderx: Add initial dts for Cavium Thunderx in 2 node
    topology.

 Documentation/devicetree/bindings/arm/numa.txt  | 275 ++++++++
 arch/arm64/Kconfig                              |  35 +
 arch/arm64/boot/dts/cavium/Makefile             |   2 +-
 arch/arm64/boot/dts/cavium/thunder-88xx-2n.dts  |  82 +++
 arch/arm64/boot/dts/cavium/thunder-88xx-2n.dtsi | 806 ++++++++++++++++++++++++
 arch/arm64/include/asm/mmzone.h                 |  17 +
 arch/arm64/include/asm/numa.h                   |  73 +++
 arch/arm64/kernel/Makefile                      |   1 +
 arch/arm64/kernel/of_numa.c                     | 221 +++++++
 arch/arm64/kernel/setup.c                       |   9 +
 arch/arm64/kernel/smp.c                         |   3 +
 arch/arm64/mm/Makefile                          |   1 +
 arch/arm64/mm/init.c                            |  31 +-
 arch/arm64/mm/numa.c                            | 539 ++++++++++++++++
 14 files changed, 2090 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/numa.txt
 create mode 100644 arch/arm64/boot/dts/cavium/thunder-88xx-2n.dts
 create mode 100644 arch/arm64/boot/dts/cavium/thunder-88xx-2n.dtsi
 create mode 100644 arch/arm64/include/asm/mmzone.h
 create mode 100644 arch/arm64/include/asm/numa.h
 create mode 100644 arch/arm64/kernel/of_numa.c
 create mode 100644 arch/arm64/mm/numa.c

-- 
1.8.1.4

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

end of thread, other threads:[~2015-10-26  9:24 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20 10:45 [PATCH v6 0/4] arm64, numa: Add numa support for arm64 platforms Ganapatrao Kulkarni
2015-10-20 10:45 ` [PATCH v6 1/4] arm64, numa: adding " Ganapatrao Kulkarni
     [not found]   ` <1445337931-11344-2-git-send-email-gkulkarni-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
2015-10-20 14:47     ` Mark Rutland
2015-10-21  8:54       ` Ganapatrao Kulkarni
     [not found]         ` <CAFpQJXUXw2AP-fJR0eLJFnHQML3RbtbP7iNXT3RFtdc+0jzvKg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-26  5:45           ` Ganapatrao Kulkarni
2015-10-23 15:11     ` Matthias Brugger
     [not found]       ` <562A4E21.2060600-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-10-24 10:07         ` Ganapatrao Kulkarni
2015-10-20 10:45 ` [PATCH v6 2/4] Documentation, dt, arm64/arm: dt bindings for numa Ganapatrao Kulkarni
     [not found]   ` <1445337931-11344-3-git-send-email-gkulkarni-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
2015-10-20 15:35     ` Mark Rutland
2015-10-21  4:27       ` Ganapatrao Kulkarni
2015-10-20 10:45 ` [PATCH v6 3/4] arm64/arm, numa, dt: adding numa dt binding implementation for arm64 platforms Ganapatrao Kulkarni
     [not found]   ` <1445337931-11344-4-git-send-email-gkulkarni-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
2015-10-26  1:44     ` Ming Lei
     [not found]       ` <CACVXFVMiZs_g3qw99-PhxLiX5oLe8_z5cOAfJZ_4-09jN2koCQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-26  3:50         ` Ganapatrao Kulkarni
     [not found]           ` <CAFpQJXX8VXX+gTBn-+7MepSAOzbOuc-yWJe4f=B7MH_Nj7FsKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-26  4:53             ` Ming Lei
     [not found]               ` <CACVXFVPoZqjFeqK7=M7wK0JQ0iS9tYoN8BHsYMc25OL-4j=e1g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-26  7:20                 ` Ming Lei
     [not found]                   ` <CACVXFVO5QGu9z1C49Wos_A5MpPafABL+WDidiHp3S2v1xUsRZw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-26  8:24                     ` Ganapatrao Kulkarni
     [not found]                       ` <CAFpQJXXN-xixG2k7JJuJeCbLkGmR4RKX3heEeaOCpWBVNL4Mog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-26  9:00                         ` Ming Lei
     [not found]                           ` <CACVXFVO=WuC01-B6Dxdi6CxT=B0kDJXG4VFsYxyEarfQwPaVqQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-26  9:24                             ` Ganapatrao Kulkarni
2015-10-20 10:45 ` [PATCH v6 4/4] arm64, dt, thunderx: Add initial dts for Cavium Thunderx in 2 node topology Ganapatrao Kulkarni

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