Re: Share memory among cells on arm64

2018-04-09 Thread Giovani Gracioli
Thanks for the answers. So, I have changed the config. In the root cell I have the following now: /* IVSHMEM shared memory region for 00:00.0 */ { .phys_start = 0x80040, .virt_start = 0x80040, .size = 0x10,

Re: How to send an IPI on arm64 from the root-cell to an inmate cell

2018-04-09 Thread Jan Kiszka
On 2018-04-09 18:51, Giovani Gracioli wrote: > Hello, > > I would like to send an IPI from the root cell (Linux) to an inmate cell on > arm64. I know Jailhouse isolates the physical cores and would not allow to > send an IPI to a CPU that does not belong to the cell. However, I would like > to

Re: [PATCH 1/4] Jetson TX2: root cell config

2018-04-09 Thread Jan Kiszka
On 2018-04-09 16:35, Claudio Scordino wrote: > > > 2018-04-09 16:28 GMT+02:00 Lokesh Vutla >: > > > > On Monday 09 April 2018 07:53 PM, Claudio Scordino wrote: > > Signed-off-by: Claudio Scordino

Re: [PATCH] driver, tools: ensure jailhouse is not enabled when VT-X is disabled by firmware

2018-04-09 Thread Jan Kiszka
On 2018-04-09 18:24, f...@ozog.com wrote: > Whithout the check, jailhouse enable configs/x86/sysconfig.cell results > in a GP and a reboot > make sure proper reporting of mandatory firmware enable and optional VMX > on SMX. > do not allow enable if firmware has disabled VT-X > > Signed-off-by:

How to send an IPI on arm64 from the root-cell to an inmate cell

2018-04-09 Thread Giovani Gracioli
Hello, I would like to send an IPI from the root cell (Linux) to an inmate cell on arm64. I know Jailhouse isolates the physical cores and would not allow to send an IPI to a CPU that does not belong to the cell. However, I would like to test that anyway. I have a kernel module (Linux

Re: [PATCH 1/4] Jetson TX2: root cell config

2018-04-09 Thread Claudio Scordino
2018-04-09 16:28 GMT+02:00 Lokesh Vutla : > > > On Monday 09 April 2018 07:53 PM, Claudio Scordino wrote: > > Signed-off-by: Claudio Scordino > > --- > > configs/arm64/jetson-tx2.c | 492 ++ > +++ > > 1 file

[PATCH 0/4] Support for Nvidia Jetson TX2

2018-04-09 Thread Claudio Scordino
Tested on the "next" branch against Nvidia's kernel 4.4 by restoring the ABI for kernels < 4.7 in hypervisor/arch/arm64/entry.S: /* install bootstrap_vectors */ ldr x0, =bootstrap_vectors virt2phys x0 Claudio Scordino (4): Jetson TX2: root cell config Jetson TX2:

[PATCH 2/4] Jetson TX2: add inmate support

2018-04-09 Thread Claudio Scordino
Signed-off-by: Claudio Scordino --- inmates/lib/arm64/include/mach.h | 8 1 file changed, 8 insertions(+) diff --git a/inmates/lib/arm64/include/mach.h b/inmates/lib/arm64/include/mach.h index 4d18929..02fdcc6 100644 --- a/inmates/lib/arm64/include/mach.h +++

[PATCH 3/4] Jetson TX2: add demo cell config

2018-04-09 Thread Claudio Scordino
Signed-off-by: Claudio Scordino --- configs/arm64/jetson-tx2-demo.c | 51 + 1 file changed, 51 insertions(+) create mode 100644 configs/arm64/jetson-tx2-demo.c diff --git a/configs/arm64/jetson-tx2-demo.c

[PATCH 1/4] Jetson TX2: root cell config

2018-04-09 Thread Claudio Scordino
Signed-off-by: Claudio Scordino --- configs/arm64/jetson-tx2.c | 492 + 1 file changed, 492 insertions(+) create mode 100644 configs/arm64/jetson-tx2.c diff --git a/configs/arm64/jetson-tx2.c b/configs/arm64/jetson-tx2.c new

Re: [EXTERNAL] Re: Try jailhouse on Orange Pi Zero

2018-04-09 Thread Qiu Shui
On Monday, April 9, 2018 at 5:40:48 PM UTC+8, Qiu Shui wrote: > On Monday, April 9, 2018 at 2:19:13 PM UTC+8, J. Kiszka wrote: > > On 2018-04-09 02:42, Qiu Shui wrote: > > > On Sunday, April 8, 2018 at 2:18:28 PM UTC+8, Qiu Shui wrote: > > >> On Sunday, April 8, 2018 at 11:29:01 AM UTC+8, Qiu Shui

Re: Jailhouse zynqMP

2018-04-09 Thread iallende
El jueves, 22 de marzo de 2018, 16:33:02 (UTC+1), Ralf Ramsauer escribió: > On 03/22/2018 04:23 PM, iallende wrote: > > El miércoles, 21 de marzo de 2018, 15:25:02 (UTC+1), Ralf Ramsauer > > escribió: > >> Hi, > >> > >> On 03/21/2018 02:54 PM, iallende wrote: > >>> Hi everyone, > >>> > >>> I am

Re: virtual network interface on x86

2018-04-09 Thread anilappana
On Monday, April 9, 2018 at 11:55:26 AM UTC+5:30, J. Kiszka wrote: > On 2018-04-08 11:59, anilapp...@gmail.com wrote: > > On Saturday, April 7, 2018 at 3:24:13 PM UTC+5:30, Jan Kiszka wrote: > >> On 2018-04-07 06:01, anilapp...@gmail.com wrote: > >>> Hi Henning, > >>> Thanks for understanding our

Re: Jailhouse zynqMP

2018-04-09 Thread iallende
El jueves, 22 de marzo de 2018, 16:33:02 (UTC+1), Ralf Ramsauer escribió: > On 03/22/2018 04:23 PM, iallende wrote: > > El miércoles, 21 de marzo de 2018, 15:25:02 (UTC+1), Ralf Ramsauer > > escribió: > >> Hi, > >> > >> On 03/21/2018 02:54 PM, iallende wrote: > >>> Hi everyone, > >>> > >>> I am

Re: [EXTERNAL] Re: Try jailhouse on Orange Pi Zero

2018-04-09 Thread Qiu Shui
On Monday, April 9, 2018 at 2:19:13 PM UTC+8, J. Kiszka wrote: > On 2018-04-09 02:42, Qiu Shui wrote: > > On Sunday, April 8, 2018 at 2:18:28 PM UTC+8, Qiu Shui wrote: > >> On Sunday, April 8, 2018 at 11:29:01 AM UTC+8, Qiu Shui wrote: > >>> On Monday, April 2, 2018 at 4:33:40 PM UTC+8, Qiu Shui

Re: [EXTERNAL] Re: Try jailhouse on Orange Pi Zero

2018-04-09 Thread Jan Kiszka
On 2018-04-09 02:42, Qiu Shui wrote: > On Sunday, April 8, 2018 at 2:18:28 PM UTC+8, Qiu Shui wrote: >> On Sunday, April 8, 2018 at 11:29:01 AM UTC+8, Qiu Shui wrote: >>> On Monday, April 2, 2018 at 4:33:40 PM UTC+8, Qiu Shui wrote: On Monday, April 2, 2018 at 3:05:08 PM UTC+8, Nikhil