• Jiang Liu's avatar
    ACPI / scan: reduce log level of "ACPI: \_PR_.CPU4: failed to get CPU APIC ID" · f778d121
    Jiang Liu authored
    Commit b981513f (ACPI / scan: bail out early if failed to parse
    APIC ID for CPU) emits an error message if ACPI processor driver fails
    to query APIC ID for the CPU.
    
    Originally it's designed to catch BIOS bugs for CPU hot-addition. But
    it accidently reveals another type of BIOS bug that:
     1) BIOS implements ACPI objects for all possible instead of present
        CPUs. (It's valid to do that per ACPI specification.)
     2) BIOS doesn't implement the _STA method for CPU objects. OSPM assumes
        that all CPU objects are present and functioning and attempts to
        use those CPU objects for CPU enumeration, which then triggers the
        error message. According to ACPI spec, BIOS should implement _STA
        for those absent CPUs at least.
    
    Though it's a BIOS bug in essential, there are some BIOSes in the fields
    which are implmented in this way. So reduce the log level from ERR to
    DEBUG to accommodate these existing BIOSes.
    
    Fixes: b981513f (ACPI / scan: bail out early if failed to parse APIC ID for CPU)
    Reported-and-tested-by: default avatarJörg Otte <jrg.otte@gmail.com>
    Signed-off-by: default avatarJiang Liu <jiang.liu@linux.intel.com>
    [rjw: Changelog]
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    f778d121
acpi_processor.c 13.1 KB