• Bibo Mao's avatar
    ACPI: processor: LoongArch: Get physical ID from MADT · f6fcf03c
    Bibo Mao authored
    With ACPI Spec 6.5 chapter 5.2.12.20, each processor in LoongArch
    systems has a Core Programmable Interrupt Controller in MADT. The
    value of its type is 0x11 in the spec and defined as enum variable
    ACPI_MADT_TYPE_CORE_PIC in the Linux kernel.
    
    Physical IDs can be retrieved from MADT for LoongArch systems during
    initialization and they can be retrieved from the _MAT output for
    hotplug CPUs.
    
    Add physical CPU ID enumeration for LoongArch systems.
    Signed-off-by: default avatarBibo Mao <maobibo@loongson.cn>
    [ rjw: Subject and changelog edits ]
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    f6fcf03c
processor_core.c 10.7 KB