Discussion:
[edk2] TPM device resource in ASL
Anbazhagan, Baraneedharan
2015-05-21 03:33:18 UTC
Permalink
SecurityPkg Maintainers,
Is there a specific reason to report TPM region 0xfed40000 as ReadOnly instead of ReadWrite in ASL code? Thanks.

SecurityPkg/Tcg/TcgSmm/Tpm.asl
SecurityPkg/Tcg/TrEESmm/Tpm.asl

-Baranee

CONFIDENTIALITY NOTICE: The information contained in this e-mail and any accompanying documents may contain information which is HP confidential or otherwise protected from disclosure. This transmission may also be protected by the attorney-client privilege, the attorney work-product privilege, or both. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
Zhang, Chao B
2015-05-21 05:12:08 UTC
Permalink
Baranee:
The sample in TCG PC Client Platform Firmware spec describes this memory range ReadWrite

Device (TPM) {

Name (_HID, EISAID("MSFT0101"))

Name (_CRS, ResourceTemplate() {

Memory32Fixed (ReadWrite, 0xFED40000, 0x5000,)

IRQ(Level, ActiveLow, Shared) {3,5,7,9,10,11,13,15}

})

}
I don't know the history why TPM.asl describes it ReadOnly. Do you meet any problem with this setting?





Thanks & Best regards
Chao Zhang

From: Anbazhagan, Baraneedharan [mailto:***@hp.com]
Sent: Thursday, May 21, 2015 11:33 AM
To: edk2-***@lists.sourceforge.net; Zhang, Chao B
Subject: TPM device resource in ASL

SecurityPkg Maintainers,
Is there a specific reason to report TPM region 0xfed40000 as ReadOnly instead of ReadWrite in ASL code? Thanks.

SecurityPkg/Tcg/TcgSmm/Tpm.asl
SecurityPkg/Tcg/TrEESmm/Tpm.asl

-Baranee

CONFIDENTIALITY NOTICE: The information contained in this e-mail and any accompanying documents may contain information which is HP confidential or otherwise protected from disclosure. This transmission may also be protected by the attorney-client privilege, the attorney work-product privilege, or both. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
Anbazhagan, Baraneedharan
2015-05-21 10:31:20 UTC
Permalink
In my testing, Win7 Bitlocker fails to initialize if TPM memory region is reported as ReadOnly.

From: Zhang, Chao B [mailto:***@intel.com]
Sent: Thursday, May 21, 2015 12:12 AM
To: Anbazhagan, Baraneedharan; edk2-***@lists.sourceforge.net
Subject: RE: TPM device resource in ASL

Baranee:
The sample in TCG PC Client Platform Firmware spec describes this memory range ReadWrite

Device (TPM) {

Name (_HID, EISAID("MSFT0101"))

Name (_CRS, ResourceTemplate() {

Memory32Fixed (ReadWrite, 0xFED40000, 0x5000,)

IRQ(Level, ActiveLow, Shared) {3,5,7,9,10,11,13,15}

})

}
I don't know the history why TPM.asl describes it ReadOnly. Do you meet any problem with this setting?





Thanks & Best regards
Chao Zhang

From: Anbazhagan, Baraneedharan [mailto:***@hp.com]
Sent: Thursday, May 21, 2015 11:33 AM
To: edk2-***@lists.sourceforge.net<mailto:edk2-***@lists.sourceforge.net>; Zhang, Chao B
Subject: TPM device resource in ASL

SecurityPkg Maintainers,
Is there a specific reason to report TPM region 0xfed40000 as ReadOnly instead of ReadWrite in ASL code? Thanks.

SecurityPkg/Tcg/TcgSmm/Tpm.asl
SecurityPkg/Tcg/TrEESmm/Tpm.asl

-Baranee

CONFIDENTIALITY NOTICE: The information contained in this e-mail and any accompanying documents may contain information which is HP confidential or otherwise protected from disclosure. This transmission may also be protected by the attorney-client privilege, the attorney work-product privilege, or both. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
Anbazhagan, Baraneedharan
2015-05-29 22:07:45 UTC
Permalink
Do you have any feedback on this?

CONFIDENTIALITY NOTICE: The information contained in this e-mail and any accompanying documents may contain information which is HP confidential or otherwise protected from disclosure. This transmission may also be protected by the attorney-client privilege, the attorney work-product privilege, or both. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.

From: Anbazhagan, Baraneedharan
Sent: Thursday, May 21, 2015 5:31 AM
To: Zhang, Chao B; edk2-***@lists.sourceforge.net
Subject: Re: [edk2] TPM device resource in ASL

In my testing, Win7 Bitlocker fails to initialize if TPM memory region is reported as ReadOnly.

From: Zhang, Chao B [mailto:***@intel.com]
Sent: Thursday, May 21, 2015 12:12 AM
To: Anbazhagan, Baraneedharan; edk2-***@lists.sourceforge.net<mailto:edk2-***@lists.sourceforge.net>
Subject: RE: TPM device resource in ASL

Baranee:
The sample in TCG PC Client Platform Firmware spec describes this memory range ReadWrite

Device (TPM) {

Name (_HID, EISAID("MSFT0101"))

Name (_CRS, ResourceTemplate() {

Memory32Fixed (ReadWrite, 0xFED40000, 0x5000,)

IRQ(Level, ActiveLow, Shared) {3,5,7,9,10,11,13,15}

})

}
I don't know the history why TPM.asl describes it ReadOnly. Do you meet any problem with this setting?





Thanks & Best regards
Chao Zhang

From: Anbazhagan, Baraneedharan [mailto:***@hp.com]
Sent: Thursday, May 21, 2015 11:33 AM
To: edk2-***@lists.sourceforge.net<mailto:edk2-***@lists.sourceforge.net>; Zhang, Chao B
Subject: TPM device resource in ASL

SecurityPkg Maintainers,
Is there a specific reason to report TPM region 0xfed40000 as ReadOnly instead of ReadWrite in ASL code? Thanks.

SecurityPkg/Tcg/TcgSmm/Tpm.asl
SecurityPkg/Tcg/TrEESmm/Tpm.asl

-Baranee

CONFIDENTIALITY NOTICE: The information contained in this e-mail and any accompanying documents may contain information which is HP confidential or otherwise protected from disclosure. This transmission may also be protected by the attorney-client privilege, the attorney work-product privilege, or both. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
Loading...