diff options
| author | Stanley.Yang <Stanley.Yang@amd.com> | 2026-05-12 15:44:28 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-06-03 13:50:34 -0400 |
| commit | f9db1378f11092c4f22737331c4f2adad1bc0045 (patch) | |
| tree | 224736c91bfa6bcf883fa4032323a629ab20f8fd /include/linux | |
| parent | 01f38e607a2262450d54736ad2b69497c72f36dd (diff) | |
drm/amd/ras: snapshot remote cmd header to fix double-fetch
The response header lives in PF-controlled shared memory. Copy it
into a local struct once, then read cmd_res and output_size from the
snapshot so the PF cannot flip cmd_res or grow output_size between
checks.
Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
