Re: [PATCH] fbdev: suppress warning when assigning vga-save/restore base

From
H. Peter Anvin <hpa@zytor.com>
Date
2013-08-05 21:14:26
Also in
lkml
Reply to
H. Peter Anvin, 2013-08-05
On 08/05/2013 02:02 PM, H. Peter Anvin wrote:
On 08/05/2013 01:29 PM, Ondrej Zajicek wrote:
quoted
How this could even work? AFAIK these cards have to be explicitly programmed
to enable MMIO (which was not done in the patches). These patches claim that
it is for multi-domain PCI. I would guess that vgabase is NULL in common
configurations but if it is non-NULL, it probably wouldn't work, unless
there is some hardware magic that transparently converts MMIO (from CPU PoV)
to port IO (from card/PCI PoV).
They presumably use iowrite/ioread, which use either I/O instructions or
memory instructions depending on the address.
So the confusion really is in the iowrite interface, which can take
either a physical port address or a virtual memory address...

	-hpa

Thread (9 messages) 9 messages, 5 authors, last reply 2014-02-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help