[PATCH 12/15] powerpc/powernv/sriov: De-indent setup and teardown
Oliver O'Halloran
oohall at gmail.com
Wed Jul 15 14:21:47 AEST 2020
On Wed, Jul 15, 2020 at 2:00 PM Alexey Kardashevskiy <aik at ozlabs.ru> wrote:
>
>
> or we could just skip setting
>
> ppc_md.pcibios_sriov_enable = pnv_pcibios_sriov_enable;
>
> for uninteresting platforms in pnv_pci_init_ioda_phb().
I don't think so. ppc_md is per-platform, not per-PHB andw e still
have to deal with a mixture of IODA/NVLink/OpenCAPI PHBs on a single
system. We could make it a callback in pnv_phb, but it seemed like
more indirection than it's worth.
More information about the Linuxppc-dev
mailing list