Hi,

I use MSIX, not INTX in root cell file, but always met the following error.
uio_ivshmem: probe of 0001:00:00.0 failed with error -28


I am trying virtio ivshmem on my board, but seems virtio ivshmem
vi_find_vqs not work with INTX, so I change to MSIX to see how.
But met upper error, any suggestions?

Log as below:
./jailhouse enable imx8mp.cell

Initializing Jailhouse hypervisor v0.12 (70-ga85860da-dirty) on CPU 2
Code location: 0x0000ffffc0200800
Page pool usage after early setup: mem 39/992, remap 0/131072
Initializing processors:
 CPU 2... OK
 CPU 0... OK
 CPU 1... OK
 CPU 3... OK
Initializing unit: irqchip
Initializing unit: ARM SMMU v3
Initializing unit: ARM SMMU
No SMMU
Initializing unit: PVU IOMMU
Initializing unit: PCI
Adding virtual PCI device 00:0c.0 to cell "imx8mp"
Adding virtual PCI device 00:0d.0 to cell "imx8mp"
Adding virtual PCI device 00:00.0 to cell "imx8mp"
Adding virtual PCI device 00:01.0 to cell "imx8mp"
Page pool usage after late setup: mem 67/992, remap 144/131072
Activating hypervisor
[  233.439774] pci-host-generic fd700000.pci: host bridge /pci@0 ranges:
[  233.446287] pci-host-generic fd700000.pci:   MEM 0xfd800000..0xfd807fff -> 
0xfd800000
[  233.454232] pci-host-generic fd700000.pci: ECAM at [mem 
0xfd700000-0xfd7fffff] for [bus 00]
[  233.468784] pci-host-generic fd700000.pci: PCI host bridge to bus 0001:00
[  233.475634] pci_bus 0001:00: root bus resource [bus 00]
[  233.480893] pci_bus 0001:00: root bus resource [mem 0xfd800000-0xfd807fff]
[  233.487822] pci 0001:00:00.0: [110a:4106] type 00 class 0xff0000
[  233.493874] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x00000fff]
[  233.500177] pci 0001:00:00.0: reg 0x14: [mem 0x00000000-0x000001ff]
[  233.506867] pci 0001:00:01.0: [110a:4106] type 00 class 0xff0001
[  233.512941] pci 0001:00:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
[  233.519246] pci 0001:00:01.0: reg 0x14: [mem 0x00000000-0x000001ff]
[  233.526524] pci 0001:00:0c.0: [110a:4106] type 00 class 0xffc002
[  233.532596] pci 0001:00:0c.0: reg 0x10: [mem 0x00000000-0x00000fff]
[  233.538916] pci 0001:00:0c.0: reg 0x14: [mem 0x00000000-0x000001ff]
[  233.545591] pci 0001:00:0d.0: [110a:4106] type 00 class 0xffc003
[  233.551680] pci 0001:00:0d.0: reg 0x10: [mem 0x00000000-0x00000fff]
[  233.557990] pci 0001:00:0d.0: reg 0x14: [mem 0x00000000-0x000001ff]
[  233.565712] pci 0001:00:00.0: BAR 0: assigned [mem 0xfd800000-0xfd800fff]
[  233.572540] pci 0001:00:01.0: BAR 0: assigned [mem 0xfd801000-0xfd801fff]
[  233.579371] pci 0001:00:0c.0: BAR 0: assigned [mem 0xfd802000-0xfd802fff]
[  233.586199] pci 0001:00:0d.0: BAR 0: assigned [mem 0xfd803000-0xfd803fff]
[  233.593027] pci 0001:00:00.0: BAR 1: assigned [mem 0xfd804000-0xfd8041ff]
[  233.599851] pci 0001:00:01.0: BAR 1: assigned [mem 0xfd804200-0xfd8043ff]
[  233.606669] pci 0001:00:0c.0: BAR 1: assigned [mem 0xfd804400-0xfd8045ff]
[  233.613485] pci 0001:00:0d.0: BAR 1: assigned [mem 0xfd804600-0xfd8047ff]
[  233.620479] uio_ivshmem 0001:00:00.0: enabling device (0000 -> 0002)
[  233.626917] uio_ivshmem 0001:00:00.0: state_table at 0x00000000fd9f0000, 
size 0x0000000000001000
[  233.635758] uio_ivshmem 0001:00:00.0: rw_section at 0x00000000fd9f1000, size 
0x0000000000009000
[  233.644495] uio_ivshmem 0001:00:00.0: input_sections at 0x00000000fd9fa000, 
size 0x0000000000006000
[  233.653564] uio_ivshmem 0001:00:00.0: output_section at 0x00000000fd9fa000, 
size 0x0000000000002000
[  233.662693] uio_ivshmem: probe of 0001:00:00.0 failed with error -28
[  233.669234] ivshmem-net 0001:00:01.0: enabling device (0000 -> 0002)
[  233.675674] ivshmem-net 0001:00:01.0: TX memory at 0x00000000fda01000, size 
0x000000000007f000
[  233.684333] ivshmem-net 0001:00:01.0: RX memory at 0x00000000fda80000, size 
0x000000000007f000
[  233.756986] ivshmem-net: probe of 0001:00:01.0 failed with error -28

Thanks,
Peng.

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/DB6PR0402MB2760E09A5E40B4818663E07D88CE0%40DB6PR0402MB2760.eurprd04.prod.outlook.com.

Reply via email to