diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2026-08-17 22:07:05 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-08-17 22:07:05 +0800 |
| commit | 2a2367d46d7a4ee4122b7a86e57125542dbbe963 (patch) | |
| tree | 2642a1eed779745bcce9e843fde42b0e07b58126 /scripts/objdiff | |
| parent | 8d3ae59288f1e7d58d76558a6ee96d533bc5019f (diff) | |
| download | linux-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
