This series of patches attempts to fix the probing of the CRB interface
for real hardware.
Stephen Douthit should test this on real hardware.
Stefan Berger (3):
tpm: Wait for tpmRegValidSts flags on CRQ interface before probing
tpm: revert return values for successful/failed CRB probing
tpm: when CRB is active, select, lock it, and check addresses
src/hw/tpm_drivers.c | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
Changes from v0 -> v1
*Rename sts to value
*No longer sending command to the TPM. Instead check the
InterfaceVersion field in the TPM_INTF_CAPABILITY register if necessary.
*Removed "Tested-by:" since I wasn't able to find 1.2 hardware for
Stephen Douthit (3):
tpm: Refactor duplicated wait code in tis_wait_sts() & crb_wait_reg()
tpm: Wait for interface startup when probing
tpm: Handle unimplemented TIS_REG_IFACE_ID in tis_get_tpm_version()
src/hw/tpm_drivers.c | 113 +++++++++++++++++++++++++++------------------------
1 file changed, 60 insertions(+), 53 deletions(-)
Dear SeaBIOS folks,
Is it possible to build SeaBIOS with AddressSanitizer support?
Adding `-fsanitize=address` to the CFLAGS, the build with gcc (Debian
7.3.0-5) 7.3.0 fails with the error `ld:out/romlayout16.lds:11: syntax
Please find the configuration and the file attached.