diff options
author | Binbin Zhou <zhoubinbin@loongson.cn> | 2024-01-17 05:43:08 +0100 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2024-01-17 05:43:08 +0100 |
commit | 44a01f1f726ab1d2050fb741eca4fabfa3cab799 (patch) | |
tree | cae73b14c963a5c7fd77bbb76580ee243bc571df /arch/loongarch/kernel/efi.c | |
parent | LoongArch: dts: DeviceTree for Loongson-2K2000 (diff) | |
download | linux-44a01f1f726ab1d2050fb741eca4fabfa3cab799.tar.xz linux-44a01f1f726ab1d2050fb741eca4fabfa3cab799.zip |
LoongArch: Parsing CPU-related information from DTS
Generally, we can get cpu-related information, such as model name, from
/proc/cpuinfo. For FDT-based systems, we need to parse the relevant
information from DTS.
BTW, set loongson_sysconf.cores_per_package to num_processors if SMBIOS
doesn't provide a valid number (usually FDT-based systems).
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Signed-off-by: Hongliang Wang <wanghongliang@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/kernel/efi.c')
0 files changed, 0 insertions, 0 deletions