Bug #102

Enabling TPM under coreboot causes ACPI error and Linux kernel panic

Added by Timothy Pearson about 2 years ago. Updated almost 2 years ago.

Status:ResolvedStart date:03/29/2017
Priority:NormalDue date:
Assignee:Timothy Pearson% Done:

0%

Category:os_handoff
Target version:-

Description

Enabling the LPC TPM device on the KGPE-D16 (CONFIG_LPC_TPM) corrupts the ACPI tables, leading to IRQ errors and a Linux kernel panic:

[    0.025408] ACPI Error: [\_SB_.PCI0.LPCB] Namespace lookup failure, AE_NOT_FOUND (20160422/dswload-210)
[    0.035152] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20160422/psobject-227)
[    0.043887] ACPI Exception: AE_NOT_FOUND, (SSDT:COREBOOT) while loading table (20160422/tbxfload-227)
[    0.053399] ACPI Error: 1 table load failures, 1 successful (20160422/tbxfload-247)
[    1.069207] ACPI Error: [SBLK] Namespace lookup failure, AE_NOT_FOUND (20160422/psargs-359)
[    1.077904] ACPI Error: Method parse/execution failed [\_SB.PCI0._CRS] (Node ffff8800768a5910), AE_NOT_FOUND (20160422/psparse-542)
[    1.090154] acpi PNP0A08:00: [Firmware Bug]: no secondary bus range in _CRS
[    1.097228] ACPI Error: [^PCI0.HCLK] Namespace lookup failure, AE_NOT_FOUND (20160422/psargs-359)
[    1.106444] ACPI Error: Method parse/execution failed [\_SB.GHCN] (Node ffff88007689d028), AE_NOT_FOUND (20160422/psparse-542)
[    1.118257] ACPI Error: Method parse/execution failed [\_SB.PCI0._BBN] (Node ffff8800768a3c30), AE_NOT_FOUND (20160422/psparse-542)
[    1.130497] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    1.136780] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    1.145119] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability]
[    1.153267] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-1f] only partially covers this bridge
[    1.163948] ACPI Error: [SBLK] Namespace lookup failure, AE_NOT_FOUND (20160422/psargs-359)
[    1.172643] ACPI Error: Method parse/execution failed [\_SB.PCI0._CRS] (Node ffff8800768a5910), AE_NOT_FOUND (20160422/psparse-542)
[    1.184876] acpi PNP0A08:00: failed to parse _CRS method, error code -5
[    1.191595] acpi PNP0A08:00: Bus 0000:00 not present in PCI namespace
[    1.198203] ACPI: Enabled 4 GPEs in block 00 to 1F
[    1.224420] ACPI: \: failed to evaluate _DSM (0x1001)

This was likely introduced by Naresh Solanki in GIT hash 80ff038.


Subtasks

Bug #104: Introduce architecture specific TPM acpi path (LPCB/LIBR)New

History

#1 Updated by Timothy Pearson almost 2 years ago

  • Assignee set to Philipp Deppenwiese

#2 Updated by Naresh Solanki almost 2 years ago

Can you provide me Complete ACPI dump & Coreboot config ?

Was there a try to revert the same & test it ?

Awaiting for your response.

#3 Updated by Timothy Pearson almost 2 years ago

  • Assignee changed from Philipp Deppenwiese to Timothy Pearson
  • Status changed from New to Response Needed

Dumping ACPI was not possible due to the resultant kernel panic, however I was able to determine the fault via other means. It has been fixed in this patch series on Gerrit:

https://review.coreboot.org/19281
https://review.coreboot.org/19282
https://review.coreboot.org/19283

#4 Updated by Timothy Pearson almost 2 years ago

  • Status changed from Response Needed to Resolved

Also available in: Atom PDF