diff options
| author | Maximilian Dittgen <mdittgen@amazon.de> | 2025-11-19 14:57:44 +0100 |
|---|---|---|
| committer | Oliver Upton <oupton@kernel.org> | 2025-11-19 12:38:59 -0800 |
| commit | 85f329df293119d6ba1a26453d109556631081a4 (patch) | |
| tree | add3b958c481b9cbdaa1ba925d57bbe216b7eaad /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | 31df012da496968d8d4368f693ad45dfcbfba40b (diff) | |
KVM: selftests: SYNC after guest ITS setup in vgic_lpi_stress
vgic_lpi_stress sends MAPTI and MAPC commands during guest GIC setup to
map interrupt events to ITT entries and collection IDs to
redistributors, respectively.
We have no guarantee that the ITS will finish handling these mapping
commands before the selftest calls KVM_SIGNAL_MSI to inject LPIs to the
guest. If LPIs are injected before ITS mapping completes, the ITS cannot
properly pass the interrupt on to the redistributor.
Fix by adding a SYNC command to the selftests ITS library, then calling
SYNC after ITS mapping to ensure mapping completes before signal_lpi()
writes to GITS_TRANSLATER.
Signed-off-by: Maximilian Dittgen <mdittgen@amazon.de>
Link: https://msgid.link/20251119135744.68552-2-mdittgen@amazon.de
Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions