qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Henrique Barboza <danielhb413@gmail.com>
To: qemu-devel@nongnu.org
Cc: Daniel Henrique Barboza <danielhb413@gmail.com>,
	qemu-ppc@nongnu.org, david@gibson.dropbear.id.au
Subject: [PATCH v4 0/3] pseries NUMA distance rework
Date: Thu,  3 Sep 2020 22:04:36 -0300	[thread overview]
Message-ID: <20200904010439.581957-1-danielhb413@gmail.com> (raw)

Hi,

Another spin for this rework of the existing NUMA support
for pSeries, prior to incoming changes in how we calculate
NUMA distance in the pseries machine. Changes here were
made based on David Gibson's review of v3.

This patches were rebased using David's ppc-for-5.2 tree.

changes from v3:
- patches 1 to 4 in v3 got pushed to ppc-for-5.2
- patch 1 (former 5):
    * moved spapr_register_hypercall() to spapr_numa.c, turning
h_home_node_associativity back to static
- patch 2 (former 6):
    * using memcpy as suggested in the review of patch 2 of v3
- patch 3 (former 7):
    * fixed typo, variable size
    * using G_STATIC_ASSERT() instead of g_assert()

v3 link: 
https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg01726.html


Daniel Henrique Barboza (3):
  spapr: move h_home_node_associativity to spapr_numa.c
  spapr_numa: create a vcpu associativity helper
  spapr_numa: use spapr_numa_get_vcpu_assoc() in home_node hcall

 hw/ppc/spapr_hcall.c | 40 -------------------
 hw/ppc/spapr_numa.c  | 92 +++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 82 insertions(+), 50 deletions(-)

-- 
2.26.2



             reply	other threads:[~2020-09-04  1:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-04  1:04 Daniel Henrique Barboza [this message]
2020-09-04  1:04 ` [PATCH v4 1/3] spapr: move h_home_node_associativity to spapr_numa.c Daniel Henrique Barboza
2020-09-04  4:09   ` David Gibson
2020-09-04  1:04 ` [PATCH v4 2/3] spapr_numa: create a vcpu associativity helper Daniel Henrique Barboza
2020-09-04  4:10   ` David Gibson
2020-09-04  9:14     ` Daniel Henrique Barboza
2020-09-04 10:02   ` Greg Kurz
2020-09-04 10:19     ` Daniel Henrique Barboza
2020-09-04  1:04 ` [PATCH v4 3/3] spapr_numa: use spapr_numa_get_vcpu_assoc() in home_node hcall Daniel Henrique Barboza
2020-09-04 10:33   ` Greg Kurz

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=20200904010439.581957-1-danielhb413@gmail.com \
    --to=danielhb413@gmail.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.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).