On 7/20/23 13:57, Stefan Berger wrote:
On 7/14/23 03:09, Joelle van Dyne wrote:
TPM needs to know its own base address in order to generate its DSDT
device entry.
Signed-off-by: Joelle van Dyne <j...@getutm.app>
It would be great to also cover the crb-device with tests:
from tests/qtest/meson.build:
(config_all.has_key('CONFIG_TCG') and
config_all_devices.has_key('CONFIG_TPM_TIS_SYSBUS') ? \
['tpm-tis-device-test', 'tpm-tis-device-swtpm-test'] : []) +
\
It should be easy to make a copy of these two tis-device tests and rename them
to crb-device tests, adapt them, and run them at least on aarch64.
... actually make a copy of the files tests/qtest/tpm-crb-swtpm-test.c &
tests/qtest/tpm-crb-test.c.
Regards,
Stefan