Init timing changes for SRIOV VF

Pixel Ding Pixel.Ding at
Mon Oct 23 10:03:25 UTC 2017

This is the second patch series merged or reimplemented from SRIOV
branch. It changes the init time consuming.

Exclusive mode means that a VF occupies hardware and other VFs need
to wait until this VF releases exclusive mode. The timing of exclusive
mode is limited to avoid starvation causing unavailable service. If
driver don't finish exclusive mode init in time, the VF will be reset
and driver init fails.

The target of this series is to decrease the time consuming in
exclusive mode as much as possible, and retry init if it fails due
to timeout.

Please help reviewing.

[PATCH 1/7] drm/amdgpu: release VF exclusive accessing after hw_init
[PATCH 2/7] drm/amdgpu: add init_log param to control logs in
[PATCH 3/7] drm/amdgpu: avoid soft lockup when waiting for RLC serdes
[PATCH 4/7] drm/amdgpu/virt: add function to check MMIO accessing
[PATCH 5/7] drm/amdgpu: don't disable MSI for GPU virtual function
[PATCH 6/7] drm/amdgpu/virt: add wait_reset virt ops
[PATCH 7/7] drm/amdgpu: retry init if it fails due to exclusive mode

More information about the amd-gfx mailing list