linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Bringmann <mwb@linux.vnet.ibm.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Michael Bringmann <mwb@linux.vnet.ibm.com>,
	Nathan Fontenot <nfont@linux.vnet.ibm.com>,
	John Allen <jallen@linux.vnet.ibm.com>,
	Tyrel Datwyler <tyreld@linux.vnet.ibm.com>,
	Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Subject: [PATCH v05 9/9] hotplug/pmt: Update topology after PMT
Date: Fri, 29 Jun 2018 17:05:13 -0500	[thread overview]
Message-ID: <79ce0aa8-fe43-a2fc-7632-abb3e7f27a20@linux.vnet.ibm.com> (raw)
In-Reply-To: <e73c6076-34d9-d3fb-d1f0-ccef14dae093@linux.vnet.ibm.com>

hotplug/pmt: Call rebuild_sched_domains after applying changes
to update CPU associativity i.e. 'readd' CPUs.  This is to
ensure that the deferred calls to arch_update_cpu_topology are
now reflected in the system data structures.

Signed-off-by: Michael Bringmann <mwb@linux.vnet.ibm.com>
---
 arch/powerpc/platforms/pseries/dlpar.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/powerpc/platforms/pseries/dlpar.c b/arch/powerpc/platforms/pseries/dlpar.c
index 7264b8e..ea3c08a 100644
--- a/arch/powerpc/platforms/pseries/dlpar.c
+++ b/arch/powerpc/platforms/pseries/dlpar.c
@@ -16,6 +16,7 @@
 #include <linux/notifier.h>
 #include <linux/spinlock.h>
 #include <linux/cpu.h>
+#include <linux/cpuset.h>
 #include <linux/slab.h>
 #include <linux/of.h>
 
@@ -451,6 +452,9 @@ static int dlpar_pmt(struct pseries_hp_errorlog *work)
 		ssleep(10);
 	}
 
+	ssleep(5);
+	rebuild_sched_domains();
+
 	return 0;
 }
 

      parent reply	other threads:[~2018-06-29 22:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29 22:03 [PATCH v05 0/9] powerpc/hotplug: Update affinity for migrated CPUs Michael Bringmann
2018-06-29 22:04 ` [PATCH v05 1/9] hotplug/cpu: Conditionally acquire/release DRC index Michael Bringmann
2018-06-29 22:04 ` [PATCH v05 2/9] hotplug/cpu: Add operation queuing function Michael Bringmann
2018-06-30  1:11   ` kbuild test robot
2018-06-29 22:04 ` [PATCH v05 3/9] hotplug/cpu: Provide CPU readd operation Michael Bringmann
2018-06-29 22:04 ` [PATCH v05 4/9] mobility/numa: Ensure numa update does not overlap Michael Bringmann
2018-06-29 22:04 ` [PATCH v05 5/9] numa: Disable/enable arch_update_cpu_topology Michael Bringmann
2018-06-29 22:04 ` [PATCH v05 6/9] pmt/numa: Disable arch_update_cpu_topology during CPU readd Michael Bringmann
2018-06-29 22:04 ` [PATCH v05 7/9] powerpc/rtas: Allow disabling rtas_event_scan Michael Bringmann
2018-06-29 22:04 ` [PATCH v05 8/9] hotplug/rtas: No rtas_event_scan during PMT update Michael Bringmann
2018-06-29 22:05 ` Michael Bringmann [this message]

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=79ce0aa8-fe43-a2fc-7632-abb3e7f27a20@linux.vnet.ibm.com \
    --to=mwb@linux.vnet.ibm.com \
    --cc=jallen@linux.vnet.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=nfont@linux.vnet.ibm.com \
    --cc=tlfalcon@linux.vnet.ibm.com \
    --cc=tyreld@linux.vnet.ibm.com \
    /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).