diff options
author | 2025-05-30 21:45:43 +0800 | |
---|---|---|
committer | 2025-05-30 21:45:43 +0800 | |
commit | 9559d5806319a9254d9053b22a31324e1929aac6 (patch) | |
tree | eba7489117bc2127ddb6c93fd2460ab3400fa960 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | LoongArch: Enable HAVE_ARCH_STACKLEAK (diff) | |
download | wireguard-linux-9559d5806319a9254d9053b22a31324e1929aac6.tar.xz wireguard-linux-9559d5806319a9254d9053b22a31324e1929aac6.zip |
LoongArch: Increase max supported CPUs up to 2048
Increase max supported CPUs up to 2048, including:
1. Increase CSR.CPUID register's effective width;
2. Define MAX_CORE_PIC (a.k.a. max physical ID) to 2048;
3. Allow NR_CPUS (a.k.a. max logical ID) to be as large as 2048;
4. Introduce acpi_numa_x2apic_affinity_init() to handle ACPI SRAT
for CPUID >= 256.
Note: The reason of increasing to 2048 rather than 4096/8192 is because
the IPI hardware can only support 2048 as a maximum.
Reviewed-by: Yanteng Si <si.yanteng@linux.dev>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions