Re: [PATCH kernel] powerpc/powernv/ioda: Reduce a number of hooks in pnv_phb

2018-11-15 Thread Michael Ellerman
Sam Bobroff writes: > On Tue, Oct 16, 2018 at 01:34:09PM +1100, Alexey Kardashevskiy wrote: >> fixup_phb() is never used, this removes it. >> >> pick_m64_pe() and reserve_m64_pe() are always defined for all powernv >> PHBs: they are initialized by pnv_ioda_parse_m64_window() which is >> called u

Re: [PATCH kernel] powerpc/powernv/ioda: Reduce a number of hooks in pnv_phb

2018-11-14 Thread Sam Bobroff
On Tue, Oct 16, 2018 at 01:34:09PM +1100, Alexey Kardashevskiy wrote: > fixup_phb() is never used, this removes it. > > pick_m64_pe() and reserve_m64_pe() are always defined for all powernv > PHBs: they are initialized by pnv_ioda_parse_m64_window() which is > called unconditionally from pnv_pci_i

[PATCH kernel] powerpc/powernv/ioda: Reduce a number of hooks in pnv_phb

2018-10-15 Thread Alexey Kardashevskiy
fixup_phb() is never used, this removes it. pick_m64_pe() and reserve_m64_pe() are always defined for all powernv PHBs: they are initialized by pnv_ioda_parse_m64_window() which is called unconditionally from pnv_pci_init_ioda_phb() which initializes all known PHB types on powernv so we can open c