Commit 717b64d
Peter Zijlstra
x86/topo: Replace x86_has_numa_in_package
.. with the brand spanking new topology_num_nodes_per_package().
Having the topology setup determine this value during MADT/SRAT parsing before
SMP bringup avoids having to detect this situation when building the SMP
topology masks.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Tony Luck <tony.luck@intel.com>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Chen Yu <yu.c.chen@intel.com>
Tested-by: Kyle Meyer <kyle.meyer@hpe.com>
Link: https://patch.msgid.link/20260303110100.123701837@infradead.org1 parent ae6730f commit 717b64d
1 file changed
Lines changed: 3 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | 471 | | |
479 | 472 | | |
480 | 473 | | |
| |||
496 | 489 | | |
497 | 490 | | |
498 | 491 | | |
499 | | - | |
| 492 | + | |
500 | 493 | | |
501 | 494 | | |
502 | 495 | | |
| |||
550 | 543 | | |
551 | 544 | | |
552 | 545 | | |
553 | | - | |
| 546 | + | |
554 | 547 | | |
555 | 548 | | |
556 | 549 | | |
| |||
606 | 599 | | |
607 | 600 | | |
608 | 601 | | |
609 | | - | |
| 602 | + | |
610 | 603 | | |
611 | 604 | | |
612 | 605 | | |
| |||
0 commit comments