Re: [EXT] Jailhouse: unhandled APIC access when booting a Linux guest

2022-12-05 Thread Karim Manaouil
Hi Andrej and Ralf, Wow that's a very weirdly specific bug. But It's amazing! Thank you, guys! (Still intriguing why it happens only with Jailhouse, but not on baremetal). Cheers Karim From: Andrej Utz Sent: 05 December 2022 16:28 To: Ralf Ramsauer ; Karim

Re: RTOS inmate misses interrupts

2022-12-05 Thread Rasty Slutsker
Hi Ralf, Thank you for the answer. We have periodic interrupt each 30 u(!)Sec. Linux cannot deal with such rate, so we need hypervisor/RTOS. We managed to read a code of hypervisor. It appears that all interrupts to all cores are intercepted by hypervisor and then forwarded to guests (per

Re: [EXT] Jailhouse: unhandled APIC access when booting a Linux guest

2022-12-05 Thread Andrej Utz
Hi all, On 05.12.22 15:41, Ralf Ramsauer wrote: [Adding Andrej] Hi Karim, On 05/12/2022 13:30, Karim Manaouil wrote: Hi Ralf, I am trying to boot a Linux guest (based on configs/x86/linux-x86-demo.c). I tried to debug and solve this issue for a while but no success so far. The cell is

Re: RTOS inmate misses interrupts

2022-12-05 Thread Ralf Ramsauer
Hi Nir, On 29/11/2022 14:21, nirge...@gmail.com wrote: Hi there, Our target is Sitara AM5726 , CortexA15 dual core on which we are running Linux on A15 core0 and RTOS on core1. __ RTOS gets periodic interrupt from external hardware via nirq1 pin (dedicated input into ARM gic). Under

Re: [EXT] Jailhouse: unhandled APIC access when booting a Linux guest

2022-12-05 Thread Ralf Ramsauer
[Adding Andrej] Hi Karim, On 05/12/2022 13:30, Karim Manaouil wrote: Hi Ralf, I am trying to boot a Linux guest (based on configs/x86/linux-x86-demo.c). I tried to debug and solve this issue for a while but no success so far. The cell is created, and the guest starts booting, but then fails

Jailhouse: unhandled APIC access when booting a Linux guest

2022-12-05 Thread Karim Manaouil
Hi Ralf, I am trying to boot a Linux guest (based on configs/x86/linux-x86-demo.c). I tried to debug and solve this issue for a while but no success so far. The cell is created, and the guest starts booting, but then fails when initialising the APIC. A write to an APIC register is intercepted by