diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2025-11-20 09:42:05 +0300 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-11-20 09:42:05 +0300 |
| commit | acf5de1b23b0275eb69f235c8e9f2cef19fa39a1 (patch) | |
| tree | d9b169f130f880265eed93849edf7914de282c55 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
| parent | 1c004609fdefb48888ef98bc6e3b8fe78ae4e088 (diff) | |
| download | linux-acf5de1b23b0275eb69f235c8e9f2cef19fa39a1.tar.xz | |
LoongArch: Fix NUMA node parsing with numa_memblks
On physical machine, NUMA node id comes from high bit 44:48 of physical
address. However it is not true on virt machine. With general method, it
comes from ACPI SRAT table.
Here the common function numa_memblks_init() is used to parse NUMA node
information with numa_memblks.
Cc: <stable@vger.kernel.org>
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions
