summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorXiang Liu <xiang.liu@amd.com>2026-05-29 22:10:09 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-06-03 13:50:39 -0400
commit7822e87bb77e906465c5d1e43818e1b34b59ee04 (patch)
tree939ea322f42f9c63388a3121716e2c6dfadc99e2 /include/linux/timerqueue.h
parent0b57f1380c8d57c0a36effc17b236a653091a351 (diff)
drm/amd/ras: make UNIRAS CPER debugfs header legacy-compatible
The UNIRAS CPER debugfs path returned a zeroed 12-byte prefix and used file offset directly as the CPER record index. Legacy CPER ring readers expect the prefix to contain three 32-bit ring pointers followed immediately by CPER payload data. Build the same header shape for UNIRAS reads by reporting a zero read pointer and matching write pointers for the returned payload size. Keep an internal record cursor behind the debugfs offset so follow-up reads continue from the correct CPER record while first reads still expose the legacy prefix. Signed-off-by: Xiang Liu <xiang.liu@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions