summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2026-08-17 22:07:05 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-08-17 22:07:05 +0800
commit2a2367d46d7a4ee4122b7a86e57125542dbbe963 (patch)
tree2642a1eed779745bcce9e843fde42b0e07b58126 /scripts/objdiff
parent8d3ae59288f1e7d58d76558a6ee96d533bc5019f (diff)
downloadlinux-2a2367d46d7a4ee4122b7a86e57125542dbbe963.tar.gz
linux-2a2367d46d7a4ee4122b7a86e57125542dbbe963.zip
LoongArch: Fix acpi_package_ids[] array overflow
With LoongArch virt machine, a typical setting is one core per socket, there will max 256 sockets (packages) on one VM. With PPTT acpi table, array acpi_package_ids[] will be overflowed. Here change the array size of acpi_package_ids[] with the max value of MAX_PACKAGES and KVM_MAX_VCPUS. Cc: stable@vger.kernel.org # 6.7+ Fixes: 4e8f58620f67 ("LoongArch: Retrieve CPU package ID from PPTT when available") Reviewed-by: Tao Cui <cuitao@kylinos.cn> Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions