Skip to content

acpi: tpm: "Fix" TPM ACPI description

Igor Mammedov qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v11 patch 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pc: acpi: tpm: add missing MMIO resource to PCI0._CRShw/i386/acpi-build.c+5 -00 replies
2/2tpm: acpi: remove IRQ from TPM's CRS to make Windows not see conflicthw/i386/acpi-build.c+6 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH for-2.6 v2 0/2] acpi: tpm: "Fix" TPM ACPI description

TPM used to 'work', since in commit:
711b20b4 Add ACPI tables for TPM
as TPM device has been placed outside of PCI0 bus scope with IRQ commented out, but since commit
5cb18b3d TPM2 ACPI table support
with following fixup
9e472263 acpi: add missing ssdt
it has been moved to correct ISA bus scope, however no one added MMIO resource to parent bus and IRQ(5) became uncommented which regressed TPM as Windows fails to init it due to lack of resources
'device cannot find enough free resources'

Series is a partialy fix and a partially hack to temporary make TPM work on Windows.
1/2 - fixes IO resource lack on parent bus 2/2 - temporary comment out IRQ description
to make Windows beleve that there isn't any possible conflict to force successful driver initialization

Tested with Windows 8.1x64

Igor Mammedov (2):
pc: acpi: tpm: add missing MMIO resource to PCI0._CRS
tpm: acpi: remove IRQ from TPM's CRS to make Windows not see conflict

 hw/i386/acpi-build.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
Signature · 1 line
1.8.3.1