|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] ioremap() returns NULL on PV pass-through
Hi all,
When loading the network driver on the exposed PCI slot from domU, the
ioremap of bar0 works. But for bar1 it always returns NULL and hence
exits from probe entry.
Lspci output from DomU is,
03:00.0 Ethernet controller: S2io Inc. Unknown device 5833 (rev 01)
Subsystem: S2io Inc. Unknown device 6030
Flags: fast devsel, IRQ 21
BIST result: 00
Memory at ca000000 (64-bit, prefetchable) [disabled] [size=8M]
Memory at c650f000 (64-bit, prefetchable) [disabled] [size=4K]
Memory at c650e000 (64-bit, prefetchable) [disabled] [size=256]
Capabilities: [40] Power Management version 3
Capabilities: [70] Express Endpoint IRQ 8
Capabilities: [a0] MSI-X: Enable- Mask- TabSize=8
Capabilities: [c0] Vital Product Data
Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+
Queue=0/5 Enable-
03:00.1 Ethernet controller: S2io Inc. Unknown device 5833 (rev 01)
Subsystem: S2io Inc. Unknown device 6030
Flags: fast devsel, IRQ 21
Memory at c9800000 (64-bit, prefetchable) [disabled] [size=8M]
Memory at c650d000 (64-bit, prefetchable) [disabled] [size=4K]
Memory at c650c000 (64-bit, prefetchable) [disabled] [size=256]
Capabilities: [40] Power Management version 3
Capabilities: [70] Express Endpoint IRQ 8
Capabilities: [a0] MSI-X: Enable- Mask- TabSize=8
Bar addresses have been page-aligned using the reassigndev parameter.
Xm dmesg shows the following error,
(XEN) mm.c:703:d2 Non-privileged (2) attempt to map I/O space 000c650d
(XEN) mm.c:703:d2 Non-privileged (2) attempt to map I/O space 000c650f
(XEN) mm.c:703:d2 Non-privileged (2) attempt to map I/O space 000c650d
(XEN) mm.c:703:d2 Non-privileged (2) attempt to map I/O space 000c650f
(XEN) mm.c:703:d2 Non-privileged (2) attempt to map I/O space 000c650d
(XEN) mm.c:703:d2 Non-privileged (2) attempt to map I/O space 000c650f
(XEN) mm.c:703:d2 Non-privileged (2) attempt to map I/O space 000c650d
Let me know if you need more information.
Thanks,
Masroor
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] ioremap() returns NULL on PV pass-through,
Masroor Vettuparambil <=
|
|
|
|
|