Project

General

Profile

Actions

Bug #6679

closed

Useless assert in acpidev_cpu_query_MAT()

Added by Dale Ghent about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
kernel
Start date:
2016-02-26
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Broadwell-DE (Xeon D-1520) Supermicro box panics in acpidev with an assert when the "X2APIC" option is enabled in the BIOS. Turning the X2APIC to off allows a uneventful and otherwise normal boot.

NOTICE: acpica: attaching SCI 9
NOTICE: acpica: ECDT not found
WARNING: acpica:ec_probe_ns: PNP0C09 not found
Completing Region/Field/Buffer/Package initialization:..........................
...............................................................................
................................................................................
...............................................................................
................................................................................
...............................................................................
................................................................................
...............................................................................
................................................................................
...............................................................................
..............................
Initialized 81/83 Regions 20/20 Fields 46/46 Buffers 624/624 Packages (5509 nodes)
Initializing Device/Processor/Thermal objects by executing _INI methods:.................
Executed 17 _INI methods requiring 2 _STA executions (examined 381 objects)
evgpeblk-0541 [4294967292] EvInitializeGpeBlock  : Enabled 3 GPEs in this block

panic[cpu0]/thread=fffffffffbc3f320: 
assertion failed: mpa->Id != 255, file: ../../i86pc/io/acpi/acpidev/acpidev_cpu.c, line: 255

Warning - stack not written to the dump buffer
fffffffffbc812a0 genunix:process_type+17e160 ()
fffffffffbc812d0 acpidev:acpidev_cpu_query_MAT+128 ()
fffffffffbc81360 acpidev:acpidev_walk_apic+ce ()

mpa-Id info at time of panic:

[0]> 0xffffff11e49b0260::print -d ACPI_MADT_LOCAL_APIC
{
    Header = {
        Type = 0
        Length = 8
    }
    ProcessorId = 0t255
    Id = 0t255
    LapicFlags = 0
}

and the _MAT table:

[0]>  0xffffff11e49b3e88::print -t ACPI_DEVICE_INFO
ACPI_DEVICE_INFO {
    UINT32 InfoSize = 0x73
    UINT32 Name = 0x30315043
    ACPI_OBJECT_TYPE Type = 0xc
    UINT8 ParamCount = 0
    UINT8 Valid = 0xd
    UINT8 Flags = 0
    UINT8 [4] HighestDstates = [ 0xff, 0xff, 0xff, 0xff ]
    UINT8 [5] LowestDstates = [ 0xff, 0xff, 0xff, 0xff, 0xff ]
    UINT32 CurrentStatus = 0
    UINT64 Address = 0
    ACPI_DEVICE_ID HardwareId = {
        UINT32 Length = 0x9
        char *String = 0xffffff11e49b3ed8 "ACPI0007" 
    }
    ACPI_DEVICE_ID UniqueId = {
        UINT32 Length = 0xa
        char *String = 0xffffff11e49b3ee1 "SCK0-CP10" 
    }
    ACPI_DEVICE_ID_LIST CompatibleIdList = {
        UINT32 Count = 0
        UINT32 ListSize = 0
        ACPI_DEVICE_ID [1] Ids = [
            ACPI_DEVICE_ID {          
                UINT32 Length = 0x49504341
                char *String = 0x50432d304b435300
            },                        
        ]                             
    }                                 
}
Actions

Also available in: Atom PDF