On 2017-01-13 18:47, Vaidyanath, Rajiv wrote: > > > Hi Everyone, > > I've added a Broadcom NIC BCM5722 card to the system to be used by the > non-root cell and also updated mem_regions, pci_devices and pci_caps ( > attached snippet.txt and lspci-v-vv.txt ). I checked the values in the > 'lspci -v -vv' output and matched it to the entries in the non-root > config for the Broadcom NIC. > > When I boot the non-root cell, I get this message: > > FATAL: Invalid PCI config write, port: cfe, size 2, address port: 800100e8
I think I covered parsing this in my Jailhouse tutorial slides as well: This is a write access to PCI device 01:00.0 (BDF in bits 8..23) at config space offset 0xe8 (bits 0..7). Usually, this is about unknown or potentially dangerous capabilities - but here it is the MSI cap. > RIP: 0xffffffff816ffec8 RSP: 0xffff88000b963c70 FLAGS: 2 > RAX: 0x0000000000000080 RBX: 0x0000000000000002 RCX: 0x00000000000000ea > RDX: 0x0000000000000cfe RSI: 0x0000000000000097 RDI: 0x00000000800100e8 > CS: 10 BASE: 0x0000000000000000 AR-BYTES: a09b EFER.LMA 1 > CR0: 0x0000000080050033 CR3: 0x0000000001e12000 CR4: 0x00000000000426e0 > EFER: 0x0000000000000d01 > Parking CPU 3 (Cell: "linux2") > > I followed the e1000-demo to get started with this. Do I need to adjust > anything else in the configs ? I did some last minute fixes on PCI device assignment before v0.6 (proper reset of MSI and MSI-X states on handover). Are you running that version? If not, please update and retry. Jan -- Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center Embedded Linux -- 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]. For more options, visit https://groups.google.com/d/optout.
