On 10/16/2023 11:01 AM, Jeffrey Hugo wrote:
AIC100 supports a timesync mechanism that allows AIC100 to timestamp device logs with a host based time. This becomes useful for putting host logs in a unified timeline with device logs for debugging and performance profiling. The mechanism consists of a boot-time initialization and a runtime perodic resync to counteract the effects of time source drift over time between the host and device. v2: - Fix readq usage on 32-bit powerpc - Fix doc warning due to trailing "_" Ajit Pal Singh (1): accel/qaic: Add support for periodic timesync Pranjal Ramajor Asha Kanojiya (1): accel/qaic: Support MHI QAIC_TIMESYNC channel Documentation/accel/qaic/aic100.rst | 6 +- Documentation/accel/qaic/qaic.rst | 5 + drivers/accel/qaic/Makefile | 3 +- drivers/accel/qaic/mhi_controller.c | 36 ++- drivers/accel/qaic/qaic.h | 4 + drivers/accel/qaic/qaic_drv.c | 17 ++ drivers/accel/qaic/qaic_timesync.c | 395 ++++++++++++++++++++++++++++ drivers/accel/qaic/qaic_timesync.h | 11 + 8 files changed, 473 insertions(+), 4 deletions(-) create mode 100644 drivers/accel/qaic/qaic_timesync.c create mode 100644 drivers/accel/qaic/qaic_timesync.h
Pushed to drm-misc-next