On 2017-10-23 13:17, Quantum wrote:
> Hello, I am having an issue whilst trying to enable Jailhouse on an Apollo 
> Lake SoC. I was unsure whether to post on here or on IRC but I figured this 
> would be better since then any solution can be archived. 
> 
> The problem I am getting is relating to an invalid PIO read:
>     FATAL: Invalid PIO read, port: 400 size: 2
>     RIP: 0xffffffff8128b2ce RSP: 0xffffc90000073d28 FLAGS: 46
>     RAX: 0x0000000000000000 RBX: 0x0000000000000400 RCX: 0x00000000000004d1
>     RDX: 0x0000000000000400 RSI: 0xffffc90000073d9c RDI: 0x0000000000000400
>     CS: 10 BASE: 0x0000000000000000 AR-BYTES: a09b EFER.LMA 1
>     CR0: 0x0000000080050033 CR3: 0x0000000001a09000 CR4: 0x00000000003426e0
>     EFER: 0x0000000000000d01
>     Parking CPU 2 (Cell: "RootCell")
> 
> I have been looking around in this Google group and have tried editing 
> pio_bitmap as suggested (.pio_bitmap = {0}) and still have the same issue. 
> The port it seems to be complaining about is the ACPI PM1a_EVT_BLK. From 
> /proc/ioports:
>   0400-047f : INT34D2:00
>     0400-047f : pnp 00:00
>       0400-0403 : ACPI PM1a_EVT_BLK
>       0404-0405 : ACPI PM1a_CNT_BLK
>       0408-040b : ACPI PM_TMR
>       0420-043f : ACPI GPE0_BLK
>       0450-0450 : ACPI PM2_CNT_BLK
> 
> I am currently stuck on this issue having searched around this group for 
> solutions and having tried as many as I have found. 

You have to make sure that the bits that relate to the accessed ports
are cleared in the bitmap. The config you attached didn't try this yet.

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.

Reply via email to