Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/powernv: Unfreeze VF PE on releasing it

When releasing PE for SRIOV VF, the PE is forced to be frozen
wrongly. When the same PE is picked for another VF, it won't
work anyhow. The patch fixes the issue by unfreezing, not
freezing the VF PE when releasing it.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Gavin Shan and committed by
Michael Ellerman
f951e510 283e2d8a

+1 -1
+1 -1
arch/powerpc/platforms/powernv/pci-ioda.c
··· 701 701 parent = parent->bus->self; 702 702 } 703 703 704 - opal_pci_eeh_freeze_set(phb->opal_id, pe->pe_number, 704 + opal_pci_eeh_freeze_clear(phb->opal_id, pe->pe_number, 705 705 OPAL_EEH_ACTION_CLEAR_FREEZE_ALL); 706 706 707 707 /* Disassociate PE in PELT */