Skip to content

[qemu] QEMU OTP timing modelling fixes #28889

@AlexJones0

Description

@AlexJones0

Description

A dependency of #27932.

When running provisioning OpenTitan flows in parallel / on slower devices we run into infrequent OTP timing issues that I have diagnosed to two types:

  1. Some OTP checks have quite tight timing checks set and would benefit from shorter OTP delays when running in parallel to pass consistently. In QEMU we should add properties to allow overriding the OTP delays and arbitrarily changing them for given QEMU runs.
  2. Under heavy loads, flows that use the OTP (e.g. ROM / ROM-EXT, provisioning) a lot occassionally take significantly longer. This is primarily due to the QEMU Bottom Half being used for digest writes which can be deferred for a longer time than expected under high loads. This should be switched to use a short timer to be able to meet the timing expectations of software.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions