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

Benjamin Herrenschmidt benh at au1.ibm.com
Fri Sep 18 08:25:57 AEST 2015


On Thu, 2015-09-17 at 17:19 -0500, Segher Boessenkool wrote:

> 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?

A lot of our built-in drivers do that. They collect their base address etc...
before open.

In this case, it's the framebuffer stuff, it's due to how our console hacks
work.

We should clean that up for sure and have the fb instance be properly opened,
I'll look into cleaning that up separately when I get a chance.

For now this works.

Cheers,
Ben.



More information about the SLOF mailing list