coreboot/src/soc/intel
Johnny Lin a3e68c9f95 soc/intel/cmn: Clear interrupt status after HECI-1 has been received
According to Intel doc#630774, BIOS should clear Host Interrupt Status
if it has read all the slots of the message from the ME circular buffer.
Since this is not found in client ME document, add a Kconfig
SOC_INTEL_CSE_SERVER_SKU that only clears interrupt status for Server
ME SKU.

On SPR-SP, if mainboard calls get_me_fw_version via HECI-1, with the
change can avoid seeing below Linux warning during boot with Linux
v5.12:
[   17.868929] irq 16: nobody cared (try booting with the "irqpoll" option)
[   17.883819] CPU: 10 PID: 0 Comm: swapper/10 Not tainted 5.12.0
[   17.902412] Hardware name: Wiwynn Crater Lake EVT2/Crater Lake-Class1
[   17.922327] Call Trace:
[   17.927780]  <IRQ>
[   17.932253]  dump_stack+0x64/0x7c
[   17.939640]  __report_bad_irq+0x37/0xb1
[   17.948206]  note_interrupt.cold.11+0xa/0x63
[   17.957713]  handle_irq_event_percpu+0x6a/0x80
[   17.967626]  handle_irq_event+0x2a/0x50
[   17.976163]  handle_fasteoi_irq+0x9e/0x140
[   17.985305]  __common_interrupt+0x38/0x90
[   17.994255]  common_interrupt+0x7a/0xa0
[   18.002821]  </IRQ>
[   18.007514]  asm_common_interrupt+0x1e/0x40

Change-Id: I1cf21112870e53a11134d43e461b735ead239717
Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66579
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <inforichland@gmail.com>
2022-12-17 20:44:10 +00:00
..
alderlake soc/intel/alderlake: Select SOC_INTEL_CSE_SEND_EOP_LATE for ADL-N 2022-12-17 20:33:52 +00:00
apollolake soc/intel/apollolake/acpi/northbridge.asl: Fix comment 2022-12-16 06:15:27 +00:00
baytrail soc/intel/baytrail/acpi: Replace Store(a,b) with ASL 2.0 syntax 2022-12-14 00:52:05 +00:00
braswell soc/intel/braswell/acpi: Replace Store(a,b) with ASL 2.0 syntax 2022-12-14 00:53:09 +00:00
broadwell soc/intel/broadwell/early_init.c: Use {read,write}32p() 2022-12-13 14:31:11 +00:00
cannonlake treewide: Remove unused 'include <arch/io.h>' 2022-12-15 13:37:41 +00:00
common soc/intel/cmn: Clear interrupt status after HECI-1 has been received 2022-12-17 20:44:10 +00:00
denverton_ns soc/intel: Set IO APIC DMAR entry based on hw 2022-12-07 23:03:04 +00:00
elkhartlake treewide: Remove unused 'include <arch/io.h>' 2022-12-15 13:37:41 +00:00
icelake treewide: Remove unused 'include <arch/io.h>' 2022-12-15 13:37:41 +00:00
jasperlake treewide: Remove unused 'include <arch/io.h>' 2022-12-15 13:37:41 +00:00
meteorlake treewide: Remove unused 'include <arch/io.h>' 2022-12-15 13:37:41 +00:00
quark soc/intel/quark/Makefile.inc: Remove path to non-existent folder 2022-12-09 01:56:17 +00:00
skylake soc/intel/skylake/irq.c: Fix undefined memcpy() 2022-12-17 12:36:33 +00:00
tigerlake treewide: Remove unused 'include <arch/io.h>' 2022-12-15 13:37:41 +00:00
xeon_sp soc/intel/xeon_sp/nb_acpi.c: Use read{16,32,64}p() 2022-12-13 14:31:41 +00:00
Makefile.inc soc: Add SPDX license headers to Makefiles 2022-10-31 03:27:13 +00:00