linux-hyperv.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Fixing SMP config for DeviceTree platforms
@ 2024-04-02 14:40 Saurabh Sengar
  2024-04-02 14:40 ` [PATCH v2 1/4] x86/hyperv/vtl: Correct parse_smp_cfg assignment Saurabh Sengar
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Saurabh Sengar @ 2024-04-02 14:40 UTC (permalink / raw)
  To: kys, haiyangz, wei.liu, decui, tglx, mingo, bp, dave.hansen, x86,
	hpa, peterz, sboyd, linux-kernel, linux-hyperv
  Cc: ssengar

Original motivation for these changes was to fix an SMT warning observed
in Hyper-V VTL platform. Check V1 for more details:
https://lore.kernel.org/lkml/1710265404-23146-1-git-send-email-ssengar@linux.microsoft.com/

But on further review it was observed that x86 DeviceTree config has
modified recently, and there is opportunity to improve the existing
smp parsing for DeviceTree.

https://lore.kernel.org/lkml/20230807135027.064321764@linutronix.de/

Changes are small but I have logically separated them into four patches.
I am willing to merge them if there are too many 

[V2]
- Modified the approch how to fix the SMT issue, this is patch 3
  in this series. V1 for it is mentioned in above link.
- Added 2 more patches which are related to new SMP config parsing.
  These are patches 2 and 4 in this series.
- Fixed an issue with hv_vtl platform how it should use the smp
  parsing for DeviceTree with a fixes tag.

Saurabh Sengar (4):
  x86/hyperv/vtl: Correct parse_smp_cfg assignment
  x86/of: Set the parse_smp_cfg for all the DeviceTree platforms by
    default
  x86/of: Map NUMA node to CPUs as per DeviceTree
  x86/of: Change x86_dtb_parse_smp_config to static

 arch/x86/hyperv/hv_vtl.c          |  1 -
 arch/x86/include/asm/prom.h       |  9 ++-------
 arch/x86/kernel/devicetree.c      | 24 ++++++++++++++----------
 arch/x86/platform/ce4100/ce4100.c |  1 -
 4 files changed, 16 insertions(+), 19 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-04-04 23:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-02 14:40 [PATCH v2 0/4] Fixing SMP config for DeviceTree platforms Saurabh Sengar
2024-04-02 14:40 ` [PATCH v2 1/4] x86/hyperv/vtl: Correct parse_smp_cfg assignment Saurabh Sengar
2024-04-04 23:58   ` Wei Liu
2024-04-02 14:40 ` [PATCH v2 2/4] x86/of: Set the parse_smp_cfg for all the DeviceTree platforms by default Saurabh Sengar
2024-04-02 14:40 ` [PATCH v2 3/4] x86/of: Map NUMA node to CPUs as per DeviceTree Saurabh Sengar
2024-04-02 14:40 ` [PATCH v2 4/4] x86/of: Change x86_dtb_parse_smp_config to static Saurabh Sengar

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