linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: zhaoshenglong@huawei.com (Shannon Zhao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/4] ACPI based NUMA support for ARM64
Date: Fri, 27 Nov 2015 17:25:41 +0800	[thread overview]
Message-ID: <56582195.80306@huawei.com> (raw)
In-Reply-To: <1447784733-10419-1-git-send-email-gkulkarni@caviumnetworks.com>



On 2015/11/18 2:25, Ganapatrao Kulkarni wrote:
>  -v2 rebased on arm64-numa v7 patches.
>  http://www.spinics.net/lists/arm-kernel/msg460813.html
> 
>  -v1 initial patches from Hanjun Guo
> 
> Hanjun Guo (4):
>   acpi, numa: Use pr_fmt() instead of printk
>   acpi, numa: Replace ACPI_DEBUG_PRINT() with pr_debug()
>   arm64, acpi, numa: NUMA support based on SRAT and SLIT
>   acpi, numa: Enable ACPI based NUMA on ARM64
> 
>  arch/arm64/include/asm/acpi.h |   4 +
>  arch/arm64/kernel/Makefile    |   1 +
>  arch/arm64/kernel/acpi_numa.c | 215 ++++++++++++++++++++++++++++++++++++++++++
>  arch/arm64/mm/numa.c          |   7 +-
>  drivers/acpi/Kconfig          |   4 +-
>  drivers/acpi/numa.c           | 106 ++++++++++++---------
>  include/linux/acpi.h          |  15 +++
>  7 files changed, 306 insertions(+), 46 deletions(-)
>  create mode 100644 arch/arm64/kernel/acpi_numa.c
> 

I've tested this patch set on QEMU VM and guest prints below log:

ACPI: NUMA: SRAT: PXM 0 -> MPIDR 0x0 -> Node 0 cpu 1
ACPI: NUMA: SRAT: PXM 0 -> MPIDR 0x1 -> Node 0 cpu 2
ACPI: NUMA: SRAT: PXM 1 -> MPIDR 0x2 -> Node 1 cpu 3
ACPI: NUMA: SRAT: PXM 1 -> MPIDR 0x3 -> Node 1 cpu 4
ACPI: NUMA: SRAT: Node 0 PXM 0 [mem 0x40000000-0x5fffffff]
NUMA: Adding memblock [0x40000000 - 0x5fffffff] on node 0
ACPI: NUMA: SRAT: Node 1 PXM 1 [mem 0x60000000-0x7fffffff]
NUMA: Adding memblock [0x60000000 - 0x7fffffff] on node 1
Initmem setup node 0 [mem 0x40000000-0x5fffffff]
  NODE_DATA [mem 0x5fffe400-0x5fffffff]
Initmem setup node 1 [mem 0x60000000-0x7fffffff]
  NODE_DATA [mem 0x7effd400-0x7effefff]
Zone ranges:
  DMA      [mem 0x0000000040000000-0x000000007fffffff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000040000000-0x000000005fffffff]
  node   1: [mem 0x0000000060000000-0x000000007fffffff]
Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
Initmem setup node 1 [mem 0x0000000060000000-0x000000007fffffff]

So, Tested-by: Shannon Zhao <shannon.zhao@linaro.org>

-- 
Shannon

  parent reply	other threads:[~2015-11-27  9:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-17 18:25 [PATCH v2 0/4] ACPI based NUMA support for ARM64 Ganapatrao Kulkarni
2015-11-17 18:25 ` [PATCH v2 1/4] acpi, numa: Use pr_fmt() instead of printk Ganapatrao Kulkarni
2015-11-17 18:25 ` [PATCH v2 2/4] acpi, numa: Replace ACPI_DEBUG_PRINT() with pr_debug() Ganapatrao Kulkarni
2015-11-17 18:25 ` [PATCH v2 3/4] arm64, acpi, numa: NUMA support based on SRAT and SLIT Ganapatrao Kulkarni
2015-11-27  7:54   ` Shannon Zhao
2016-01-13 23:04     ` Robert Richter
2016-01-14  3:48       ` Hanjun Guo
2015-12-18 16:23   ` Lorenzo Pieralisi
2015-12-22 12:34     ` Hanjun Guo
2015-12-22 13:08       ` Ganapatrao Kulkarni
2015-11-17 18:25 ` [PATCH v2 4/4] acpi, numa: Enable ACPI based NUMA on ARM64 Ganapatrao Kulkarni
2015-11-27  9:25 ` Shannon Zhao [this message]
2015-11-27 13:28   ` [PATCH v2 0/4] ACPI based NUMA support for ARM64 Hanjun Guo
2016-01-17  5:13 ` Jon Masters
2016-01-18  6:47   ` Ganapatrao Kulkarni

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=56582195.80306@huawei.com \
    --to=zhaoshenglong@huawei.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 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).