linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/7] arm64: numa/topology/smp: update the cpumasks for CPU hotplug
@ 2018-07-06 11:02 Sudeep Holla
  2018-07-06 11:02 ` [PATCH v3 1/7] arm64: topology: refactor reset_cpu_topology to add support for removing topology Sudeep Holla
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Sudeep Holla @ 2018-07-06 11:02 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

Commit 37c3ec2d810f ("arm64: topology: divorce MC scheduling domain from core_siblings")
was reported to cause some hotplug and system suspend regressions when
it was merged. On investigation, it was found that unlike x86/PPC,
arm64 doesn't update the cpu and numa masks on CPU hotplug. That's
somewhat expected from the scheduler.

Since these changes were bit invasive as a solution to the above
mentioned regression, as small change was temporarily applied as a fix.
This series updates the cpu and numa masks on CPU hotplug and reverts
that temporary fix.

It would be good to get this tested(CPU hotplug - few and all CPUs in
a socket) on multi-socket/NUMA systems from Cavium and Huawei/Hisilicon.

Regards,
Sudeep

v2->v3:
	- Removed confusing boolean reset argument and inlined reset
	  part in reset_cpu_topology
	- Moved cpu_llc_shared_mask to asm/topology.h along with other
	  similar macros and renamed it topology_llc_cpumask
	- Use NUMA_NO_NODE instead of checking for any -ve integer

v1->v2:
	- Rebased on v4.18-rc1 and hence do revert of the temporary fix
	  that was merged for v4.18
	- Removed one of the wrong use of possible_mask

Sudeep Holla (7):
  arm64: topology: refactor reset_cpu_topology to add support for removing topology
  arm64: numa: separate out updates to percpu nodeid and NUMA node cpumap
  arm64: topology: add support to remove cpu topology sibling masks
  arm64: topology: restrict updating siblings_masks to online cpus only
  arm64: smp: remove cpu and numa topology information when hotplugging out CPU
  arm64: topology: rename llc_siblings to align with other struct members
  arm64: topology: re-introduce numa mask check for scheduler MC selection

 arch/arm64/include/asm/numa.h     |  4 +++
 arch/arm64/include/asm/topology.h |  4 ++-
 arch/arm64/kernel/smp.c           |  5 ++++
 arch/arm64/kernel/topology.c      | 58 +++++++++++++++++++++++++++------------
 arch/arm64/mm/numa.c              | 29 ++++++++++++++------
 5 files changed, 74 insertions(+), 26 deletions(-)

--
2.7.4

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

end of thread, other threads:[~2018-07-18 10:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-06 11:02 [PATCH v3 0/7] arm64: numa/topology/smp: update the cpumasks for CPU hotplug Sudeep Holla
2018-07-06 11:02 ` [PATCH v3 1/7] arm64: topology: refactor reset_cpu_topology to add support for removing topology Sudeep Holla
2018-07-06 11:02 ` [PATCH v3 2/7] arm64: numa: separate out updates to percpu nodeid and NUMA node cpumap Sudeep Holla
2018-07-06 11:02 ` [PATCH v3 3/7] arm64: topology: add support to remove cpu topology sibling masks Sudeep Holla
2018-07-06 11:02 ` [PATCH v3 4/7] arm64: topology: restrict updating siblings_masks to online cpus only Sudeep Holla
2018-07-06 11:02 ` [PATCH v3 5/7] arm64: smp: remove cpu and numa topology information when hotplugging out CPU Sudeep Holla
2018-07-17 12:58   ` Geert Uytterhoeven
2018-07-17 14:05     ` Sudeep Holla
2018-07-17 15:06       ` Geert Uytterhoeven
2018-07-17 15:34         ` Sudeep Holla
2018-07-17 15:55           ` Sudeep Holla
2018-07-17 17:01             ` Sudeep Holla
2018-07-18  7:15               ` Geert Uytterhoeven
2018-07-18 10:33                 ` Sudeep Holla
2018-07-06 11:02 ` [PATCH v3 6/7] arm64: topology: rename llc_siblings to align with other struct members Sudeep Holla
2018-07-06 11:02 ` [PATCH v3 7/7] arm64: topology: re-introduce numa mask check for scheduler MC selection Sudeep Holla
2018-07-10 21:51 ` [PATCH v3 0/7] arm64: numa/topology/smp: update the cpumasks for CPU hotplug Jeremy Linton

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