[PATCH 4/4] powerpc/eeh: Clean up edev cleanup for VFs

Oliver O'Halloran oohall at gmail.com
Fri Apr 3 16:45:47 AEDT 2020


On Mon, 2020-03-30 at 15:56 +1100, Sam Bobroff wrote:
> Because the bus notifier calls eeh_rmv_from_parent_pe() (via
> eeh_remove_device()) when a VF is removed, the call in
> remove_sriov_vf_pdns() is redundant.

eeh_rmv_from_parent_pe() won't actually remove the device if the
recovering flag is set on the PE. Are you sure we're not introducing a
race here?



More information about the Linuxppc-dev mailing list