supermicro/h8qgi/dsdt: Use PIC as default interrupt model
commit8395e90bc0a737f09ef5b5e2c94e37c66748b505
authorKonstantin Aladyshev <aladyshev@nicevt.ru>
Fri, 11 Jul 2014 22:36:32 +0000 (12 02:36 +0400)
committerPatrick Georgi <patrick@georgi-clan.de>
Wed, 9 Apr 2014 18:52:12 +0000 (9 20:52 +0200)
treed610202815a35c3d7e9642eb9b456b498723116e
parentfe365ac7e8c01cff46c593e80ca20ae3cb3362e7
supermicro/h8qgi/dsdt: Use PIC as default interrupt model

According ACPI specification:

"""
The \_PIC optional method is used to report to the BIOS the current
interrupt model used by the OS. The argument passed into the method
signifies the interrupt model OSPM has chosen, PIC mode, APIC mode,
or SAPIC mode. Notice that calling this method is optional for OSPM.
If the method is never called, the BIOS must assume PIC mode.

Arguments: (1)
Arg0 – An Integer containing a code for the current interrupt model:
0 –PIC mode
1 –APIC mode
2 –SAPIC mode
"""

In current configuration with default value of interrupt model
PMOD equal 1 (APIC mode), Linux can't boot with "noapic" option.
Kernel never call _PIC method and PMOD stays equal 1, indicatind
that APIC routing objects should be evaluated. This mix of PIC
and APIC leads to boot fail.

Change default value of interrupt model PMOD to 0, for correct
"noapic" boot.

Change-Id: I7fa6f0c24802751202ed2e7f13411001a600e772
Signed-off-by: Konstantin Aladyshev <aladyshev@nicevt.ru>
Reviewed-on: http://review.coreboot.org/5473
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
src/mainboard/supermicro/h8qgi/dsdt.asl