Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-75511

[GCP][CVM][RHEL-9] No TPM in SNP and TDX

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • rhel-virt-hwe
    • ssg_virtualization
    • None
    • False
    • Hide

      None

      Show
      None
    • None

      What were you trying to do that didn't work?

      In GCP, can not see TPM in SNP and TDX CVMs.

      [ 1.124489] tpm_tis MSFT0101:00: ioremap failed for resource [mem 0xfed40000-0xfed44fff]
      [ 1.142928] tpm_tis: probe of MSFT0101:00 failed with error -12
      • Can see TPM in SEV(n2d-standard-2 and c3d-standard-4)

      Please provide the package NVR for which bug is seen:

      5.14.0-552.el9.x86_64
      Not see this issue in 5.14.0-503.21.1.el9_5

       How reproducible:

      100%

      Steps to reproduce

      1. launch RHEL-9.6 c3-standard-4(TDX) or n2d-standard-2(SEV-SNP) instance on GCP.
      2. Verify the TPM is on in GCP portal.
      3. Connect the instance and check /dev/tpm*

      Expected results

      Can see TPM device:

      ls /dev/tpm*
      /dev/tpm0 /dev/tpmrm0

      Actual results

      No TPM device.
      Can see error logs in dmesg:

              virt-maint virt-maint
              yuxisun@redhat.com Yuxin Sun
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: