On 11/2/24 10:01 AM, Stefan Berger wrote:
On 11/1/24 4:27 PM, dan tan wrote:
Add qtest cases to exercise main TPM locality functionality
When running `ninja -C build test` I get this output that should have
its lines prefixed with '#' 'somehow':
'somehow' = add '-serial null' to the QEMU command line parameters
42/424 qemu:qtest+qtest-ppc64 / qtest-ppc64/tpm-tis-spi-pnv-test
OK 0.31s 5 subtests passed
stdout: 34: UNKNOWN: [ 0.024173382,5] OPAL v7.1 starting...
stdout: 35: UNKNOWN: [ 0.024724739,7] initial console log level:
memory 7, driver 5
stdout: 36: UNKNOWN: [ 0.024778210,6] CPU: P10 generation processor
(max 4 threads/core)
stdout: 37: UNKNOWN: [ 0.024795001,7] CPU: Boot CPU PIR is 0x0000 PVR
is 0x00801200
stdout: 38: UNKNOWN: [ 0.024925108,7] OPAL table: 0x3018a960 ..
0x3018af00, branch table: 0x30120000
stdout: 39: UNKNOWN: [ 0.025103930,7] Assigning physical memory map
table for p10
stdout: 40: UNKNOWN: [ 0.025411575,7] FDT: Parsing fdt @0x1000000
stdout: 41: UNKNOWN: [ 0.028505988,5] CHIP: Detected QEMU simulator
stdout: 42: UNKNOWN: [ 0.028683295,6] CHIP: Initialised chip 0 from
xscom@603fc00000000
stdout: 43: UNKNOWN: [ 0.029247139,6] P10 DD2.00 detected
stdout: 44: UNKNOWN: [ 0.029267261,5] CHIP: Chip ID 0000 type: P10
DD2.00
stdout: 45: UNKNOWN: [ 0.029276249,7] XSCOM: Base address:
0x603fc00000000
stdout: 46: UNKNOWN: [ 0.029339220,7] XSTOP: ibm,sw-checkstop-fir
prop not found
stdout: 47: UNKNOWN: [ 0.029409300,6] MFSI 0:0: Initialized
stdout: 48: UNKNOWN: [ 0.029419734,6] MFSI 0:2: Initialized
stdout: 49: UNKNOWN: [ 0.029429173,6] MFSI 0:1: Initialized
stdout: 50: UNKNOWN: [ 0.030012352,6] LPC: LPC[000]: Initialized
stdout: 51: UNKNOWN: [ 0.030020186,7] LPC: access via MMIO
@0x6030000000000
stdout: 52: UNKNOWN: [ 0.030108378,7] LPC: Default bus on chip 0x0
stdout: 53: UNKNOWN: [ 0.030193313,7] CPU: New max PIR set to 0x7
stdout: 54: UNKNOWN: [ 0.030743076,7] MEM: parsing reserved memory
from reserved-names/-ranges properties
stdout: 55: UNKNOWN: [ 0.030828672,7] HOMER: Init chip 0
stdout: 56: UNKNOWN: [ 0.030862569,7] PBA BAR0 : 0x0000300ffd800000
stdout: 57: UNKNOWN: [ 0.030870164,7] PBA MASK0: 0x0000000000300000
stdout: 58: UNKNOWN: [ 0.030899260,7] HOMER Image at 0x300ffd800000
size 4MB
stdout: 59: UNKNOWN: [ 0.030943460,4] HOMER image is not reserved!
Reserving
stdout: 60: UNKNOWN: [ 0.031114747,7] PBA BAR2 : 0x0000300fff800000
stdout: 61: UNKNOWN: [ 0.031121980,7] PBA MASK2: 0x0000000000700000
stdout: 62: UNKNOWN: [ 0.031136886,7] OCC Common Area at
0x300fff800000 size 8MB
stdout: 63: UNKNOWN: [ 0.031171139,4] OCC common area is not
reserved! Reserving
stdout: 64: UNKNOWN: [ 0.031231035,7] CPU: decrementer bits 56
stdout: 65: UNKNOWN: [ 0.031321664,6] CPU: CPU from DT PIR=0x0000
Server#=0x0 State=4
stdout: 66: UNKNOWN: [ 0.031427205,6] CPU: 1 secondary threads
stdout: 67: UNKNOWN: [ 0.031441159,6] CPU: CPU from DT PIR=0x0004
Server#=0x4 State=4
stdout: 68: UNKNOWN: [ 0.031459259,6] CPU: 1 secondary threads
stdout: 69: UNKNOWN: [ 0.033492258,5] PLAT: Using SuperIO UART
stdout: 70: UNKNOWN: [ 0.033826231,7] UART: Using LPC IRQ 4
stdout: 71: UNKNOWN: [ 0.036351187,5] PLAT: Detected QEMU POWER10
platform
stdout: 72: UNKNOWN: [ 0.036415869,5] PLAT: Detected BMC platform
ast2500:openbmc
stdout: 73: UNKNOWN: [ 0.037499517,5] XIVE: [ IC 00 ] Initializing
XIVE block ID 0...
ERROR: Unknown TAP output lines for a supported TAP version.
This is probably a bug in the test; if they are not TAP syntax, prefix
them with a #