Skip to contentSkip to conversation

Windows on ARM64 not able to use attached TPM 2

DISCUSSION Stefan Berger 4 participants 6 messages Aug 1, 2021 – Aug 2, 2021

lore
Share & tools
lore
#0 lore raw

Hello!

 I maintain the TPM support in QEMU and the TPM emulator (swtpm). I have a report from a user who would like to use QEMU on ARM64 (aarch64) with EDK2 and use an attached TPM 2 but it doesn't seem to work for him. We know that Windows on x86_64 works with EDK2 and can use an attached TPM 2 (using swtpm). I don't have an aarch64 host myself nor a Microsoft account to be able to access the Windows ARM64 version, so maybe someone here has the necessary background, credentials, and hardware to run QEMU on using kvm to investigate what the problems may be due to on that platform.

https://github.com/stefanberger/swtpm/issues/493

On Linux it seems to access the TPM emulator with the normal tpm_tis driver.

Regards,

   Stefan

#1 lore raw

Cc'ing Marc-André who is your EDK2 co-maintainer.

Quoted 23 lines · Stefan Berger

Hello!

 I maintain the TPM support in QEMU and the TPM emulator (swtpm). I have a report from a user who would like to use QEMU on ARM64 (aarch64) with EDK2 and use an attached TPM 2 but it doesn't seem to work for him. We know that Windows on x86_64 works with EDK2 and can use an attached TPM 2 (using swtpm). I don't have an aarch64 host myself nor a Microsoft account to be able to access the Windows ARM64 version, so maybe someone here has the necessary background, credentials, and hardware to run QEMU on using kvm to investigate what the problems may be due to on that platform.

https://github.com/stefanberger/swtpm/issues/493

On Linux it seems to access the TPM emulator with the normal tpm_tis driver.

Regards,

   Stefan

#2 lore raw

and also adding Ard if he is aware of any limitation the TPM2 integration may suffer for Windows support. On my end I am only able to test on Linux atm.

Thanks

Eric

Quoted 26 lines · Philippe Mathieu-Daudé

Cc'ing Marc-André who is your EDK2 co-maintainer.

Quoted 23 lines · Stefan Berger

Hello!

 I maintain the TPM support in QEMU and the TPM emulator (swtpm). I have a report from a user who would like to use QEMU on ARM64 (aarch64) with EDK2 and use an attached TPM 2 but it doesn't seem to work for him. We know that Windows on x86_64 works with EDK2 and can use an attached TPM 2 (using swtpm). I don't have an aarch64 host myself nor a Microsoft account to be able to access the Windows ARM64 version, so maybe someone here has the necessary background, credentials, and hardware to run QEMU on using kvm to investigate what the problems may be due to on that platform.

https://github.com/stefanberger/swtpm/issues/493

On Linux it seems to access the TPM emulator with the normal tpm_tis driver.

Regards,

   Stefan

#3 lore raw
Quoted 5 lines · Eric Auger

and also adding Ard if he is aware of any limitation the TPM2 integration may suffer for Windows support. On my end I am only able to test on Linux atm.

I never tested Windows with the TPM2 support, so I cannot answer this, unfortunately.

Quoted 29 lines · Philippe Mathieu-Daudé
Quoted 26 lines

Cc'ing Marc-André who is your EDK2 co-maintainer.

Quoted 23 lines · Stefan Berger

Hello!

I maintain the TPM support in QEMU and the TPM emulator (swtpm). I have
a report from a user who would like to use QEMU on ARM64 (aarch64) with EDK2 and use an attached TPM 2 but it doesn't seem to work for him. We know that Windows on x86_64 works with EDK2 and can use an attached TPM 2 (using swtpm). I don't have an aarch64 host myself nor a Microsoft account to be able to access the Windows ARM64 version, so maybe someone here has the necessary background, credentials, and hardware to run QEMU on using kvm to investigate what the problems may be due to on that platform.

https://github.com/stefanberger/swtpm/issues/493

On Linux it seems to access the TPM emulator with the normal tpm_tis driver.

Regards,

Stefan

#4 lore raw

Adding Leif who might add someone who knows ;)

Quoted 40 lines · Ard Biesheuvel
Quoted 5 lines · Eric Auger

and also adding Ard if he is aware of any limitation the TPM2 integration may suffer for Windows support. On my end I am only able to test on Linux atm.

I never tested Windows with the TPM2 support, so I cannot answer this, unfortunately.

Quoted 29 lines · Philippe Mathieu-Daudé
Quoted 26 lines

Cc'ing Marc-André who is your EDK2 co-maintainer.

Quoted 23 lines · Stefan Berger

Hello!

I maintain the TPM support in QEMU and the TPM emulator (swtpm). I have
a report from a user who would like to use QEMU on ARM64 (aarch64) with EDK2 and use an attached TPM 2 but it doesn't seem to work for him. We know that Windows on x86_64 works with EDK2 and can use an attached TPM 2 (using swtpm). I don't have an aarch64 host myself nor a Microsoft account to be able to access the Windows ARM64 version, so maybe someone here has the necessary background, credentials, and hardware to run QEMU on using kvm to investigate what the problems may be due to on that platform.

https://github.com/stefanberger/swtpm/issues/493

On Linux it seems to access the TPM emulator with the normal tpm_tis driver.

Regards,

Stefan

#5 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 1 line · Philippe Mathieu-Daudé

Cc'ing Marc-André who is your EDK2 co-maintainer.

Oops sorry, I meant your EDK2 "co-designated Package Reviewer"

R: Package Reviewer: Cc address for patches and questions.
Reviewers help maintainers review code, but don't have push access. A designated Package Reviewer is reasonably familiar with the Package (or some modules thereof), and/or provides testing or regression testing for the Package (or some modules thereof), in certain platforms and environments.

OvmfPkg: TCG- and TPM2-related modules
R: Marc-André Lureau <[email protected]>
R: Stefan Berger <[email protected]>

Quoted 25 lines · Stefan Berger
Quoted 23 lines

Hello!

 I maintain the TPM support in QEMU and the TPM emulator (swtpm). I have a report from a user who would like to use QEMU on ARM64 (aarch64) with EDK2 and use an attached TPM 2 but it doesn't seem to work for him. We know that Windows on x86_64 works with EDK2 and can use an attached TPM 2 (using swtpm). I don't have an aarch64 host myself nor a Microsoft account to be able to access the Windows ARM64 version, so maybe someone here has the necessary background, credentials, and hardware to run QEMU on using kvm to investigate what the problems may be due to on that platform.

https://github.com/stefanberger/swtpm/issues/493

On Linux it seems to access the TPM emulator with the normal tpm_tis driver.

Regards,

   Stefan