]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv/sriov: Refactor M64 BAR setup
authorOliver O'Halloran <oohall@gmail.com>
Wed, 22 Jul 2020 06:57:13 +0000 (16:57 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:23 +0000 (23:34 +1000)
commit1a7542e46df7e3db51ee7f0c67ce98021bf34378
tree1ea1782e959064e06c80214257c3ad9d5c986637
parent030438835e4778cc54788ed2f7916eb07c4f0a6a
powerpc/powernv/sriov: Refactor M64 BAR setup

Split up the logic so that we have one branch that handles setting up a
segmented window and another that handles setting up single PE windows for
each VF.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200722065715.1432738-14-oohall@gmail.com
arch/powerpc/platforms/powernv/pci-sriov.c