[PATCH 2/2] drm/xe/pf: Reset GuC VF config when unprovisioning critical resource
Michał Winiarski
michal.winiarski at intel.com
Thu Jan 30 13:20:03 UTC 2025
On Wed, Jan 29, 2025 at 08:59:47PM +0100, Michal Wajdeczko wrote:
> GuC firmware counts received VF configuration KLVs and may start
> validation of the complete VF config even if some resources where
> unprovisioned in the meantime, leading to unexpected errors like:
>
> $ echo 1 | sudo tee /sys/kernel/debug/dri/0000:00:02.0/gt0/vf1/contexts_quota
> $ echo 0 | sudo tee /sys/kernel/debug/dri/0000:00:02.0/gt0/vf1/contexts_quota
> $ echo 1 | sudo tee /sys/kernel/debug/dri/0000:00:02.0/gt0/vf1/doorbells_quota
> $ echo 0 | sudo tee /sys/kernel/debug/dri/0000:00:02.0/gt0/vf1/doorbells_quota
> $ echo 1 | sudo tee /sys/kernel/debug/dri/0000:00:02.0/gt0/vf1/ggtt_quota
> tee: '/sys/kernel/debug/dri/0000:00:02.0/gt0/vf1/ggtt_quota': Input/output error
>
> To mitigate this problem trigger explicit VF config reset after
> unprovisioning any of the critical resources (GGTT, context or
> doorbell IDs) that GuC is monitoring.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>
-Michał
More information about the Intel-xe
mailing list