]> git.ipfire.org Git - thirdparty/linux.git/commit
vfio/xe: Notify PF about VF FLR in reset_prepare
authorPiotr Piórkowski <piotr.piorkowski@intel.com>
Mon, 9 Mar 2026 15:24:49 +0000 (16:24 +0100)
committerMichał Winiarski <michal.winiarski@intel.com>
Tue, 24 Mar 2026 09:47:52 +0000 (10:47 +0100)
commit9e60ee0e6dc2c81e0e5b285d09807a361f6745ce
tree4c80ce566199696951c0e32edfee4ac50e469472
parent2de36e3f72dae2035b2742ffe3355e43067a81ad
vfio/xe: Notify PF about VF FLR in reset_prepare

Hook into the PCI error handler reset_prepare() callback to notify
the PF about an upcoming VF FLR before reset_done() is executed.
This enables early FLR_PREPARE signaling and ensures that the PF is
aware of the reset before the completion wait begins.

Signed-off-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Alex Williamson <alex@shazbot.org>
Link: https://patch.msgid.link/20260309152449.910636-3-piotr.piorkowski@intel.com
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
drivers/vfio/pci/xe/main.c