Skip to content

Commit

Permalink
powerpc/eeh: Remove stale CAPI comment
Browse files Browse the repository at this point in the history
Support for switching CAPI cards into and out of CAPI mode was removed a
while ago. Drop the comment since it's no longer relevant.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190903101605.2890-7-oohall@gmail.com
  • Loading branch information
Oliver O'Halloran authored and Michael Ellerman committed Sep 5, 2019
1 parent 25baf3d commit 5055453
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/powerpc/platforms/powernv/eeh-powernv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1125,13 +1125,6 @@ static int pnv_eeh_reset(struct eeh_pe *pe, int option)
return -EIO;
}

/*
* If dealing with the root bus (or the bus underneath the
* root port), we reset the bus underneath the root port.
*
* The cxl driver depends on this behaviour for bi-modal card
* switching.
*/
if (pci_is_root_bus(bus) ||
pci_is_root_bus(bus->parent))
return pnv_eeh_root_reset(hose, option);
Expand Down

0 comments on commit 5055453

Please sign in to comment.