when SPI controller is DMA mode, TPM can not work
Sherry Zhang (BJ-RD)
HI All,
X86, kernel4.16:
SPI port0 flash is used to boot BIOS. SPI port1 flash is a device.
SPI port2 is connected with TPM.
I set the SPI controller is DMA mode, port0/1 flash can work well. devmem 0xfed40000
OS hang and reboot can not work .So I poweroff.
Does anyone know what is cause?
?????
?????????????????????????????????????????????????????
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.
Tricca
Hello Sherry,
This list is specific to discussion of the userspace libraries and infrastructure under development here: https://github.com/tpm2-software. Your question seems to be unrelated to this project unless I’m misunderstanding. You may have better luck on a list more focused on hardware (possibly the linux device driver?).
Regards,
Philip
From: tpm2 [mailto:tpm2-bounces(a)lists.01.org] On Behalf Of Sherry Zhang(BJ-RD)
Sent: 26 February, 2019 00:04
To: tpm2(a)lists.01.org
Subject: [tpm2] when SPI controller is DMA mode, TPM can not work
HI All,
X86, kernel4.16:
SPI port0 flash is used to boot BIOS.
SPI port1 flash is a device.
SPI port2 is connected with TPM.
I set the SPI controller is DMA mode, port0/1 flash can work well. devmem 0xfed40000
OS hang and reboot can not work .So I poweroff.
Does anyone know what is cause?
保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.
Lihui
Hi sherry,
It seems that your kernel does NOT know there is tpm device using space FED40000-FED44000.
Check your acpi table,see if there is a ”declaration” for tpm. Ask your bios team for help.
Refer to
TCG ACPIGeneralSpecification
TCG PC Client Platform TPM Profile PTP Specification Linux tpm driver
for more information.
Best Regards,
Hui
Quoted 24 lines · Sherry Zhang(BJ-RD)
HI All,
X86, kernel4.16:
SPI port0 flash is used to boot BIOS. SPI port1 flash is a device.
SPI port2 is connected with TPM.I set the SPI controller is DMA mode, port0/1 flash can work well. devmem
0xfed40000
OS hang and reboot can not work .So I poweroff.
Does anyone know what is cause?保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.
_______________________________________________
tpm2 mailing list
tpm2(a)lists.01.org
https://lists.01.org/mailman/listinfo/tpm2