[SLOF] [PATCH 1/2] qemu-vga: Use MMIO BAR instead of legacy IO ports

Segher Boessenkool segher at kernel.crashing.org
Fri Sep 18 08:19:19 AEST 2015


On Fri, Sep 18, 2015 at 07:42:52AM +1000, Benjamin Herrenschmidt wrote:
> On Thu, 2015-09-17 at 16:12 -0500, Segher Boessenkool wrote:
> > On Tue, Sep 15, 2015 at 03:45:22PM +1000, Benjamin Herrenschmidt
> > wrote:
> > > +: map-in  " map-in" my-phandle parent $call-static ;
> > > +: map-out  " map-out" my-phandle parent $call-static ;
> > 
> > $call-parent?  Or why won't that work?
> 
> No instance. I didn't dig, but I think at this point we don't have an
> open instance.
> 
> It's weird tho, various examples of PCI OF drivers I google out there
> do $call-parent in the init code like that....

Yeah strange, you really shouldn't call map-in etc. if you haven't opened
the node, and then you do have a current instance.  So what is calling
map-in, and why doesn't it behave?


Segher


More information about the SLOF mailing list