[Skiboot] [PATCH 2/5] npu2: Refactor BAR setting code

Michael Neuling mikey at neuling.org
Tue Nov 14 21:55:08 AEDT 2017


On Tue, 2017-11-14 at 11:23 +1100, Balbir Singh wrote:
> On Mon, Nov 13, 2017 at 10:06 PM, Michael Neuling <mikey at neuling.org> wrote:
> > This refactors the BAR setting code to make it clearer and handle a
> > larger range of BAR addresses.
> > 
> > No functional change.
> > 
> > Signed-off-by: Michael Neuling <mikey at neuling.org>
> > ---
> 
> We made this change for the reasons below and I think the changelog
> should also state that
> we now derive the chip and group information from the address as
> opposed to p->chip_id
> (which earlier had both) and we now have the flexibility of picking
> select mem from the address
> as well (which was assumed to be 0 earlier)

ok will do.


> Reviewed-by: Balbir Singh <bsingharora at gmail.com>

Thanks


More information about the Skiboot mailing list