[PATCH 2/4] imx8mq: ignore SIP for low-power modes

2018-03-07 Thread Claudio Scordino
From: Peng Fang On i.MX8MQ, SIP is mainly used for low-power mode, so it can be ignored. See the following reference: https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/arm-sip-service.rst Signed-off-by: Peng Fang Signed-off-by: Claudio Scordino --- hypervisor/arch/arm-comm

[PATCH 3/4] Cell configs for imx8mq EVK board.

2018-03-07 Thread Claudio Scordino
From: Peng Fang Signed-off-by: Peng Fang Signed-off-by: Claudio Scordino --- configs/arm64/imx8mq-gic-demo.c | 56 configs/arm64/imx8mq.c | 108 +++ inmates/lib/arm64/include/mach.h | 12 + 3 files changed, 176 insertion

[PATCH 4/4] README: support for NXP IMX8

2018-03-07 Thread Claudio Scordino
From: Peng Fang Signed-off-by: Peng Fang Signed-off-by: Claudio Scordino --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9dc9841..87be3a3 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,8 @@ Hardware requirements (preliminary) - Xili

[PATCH 0/4] Support for NXP IMX8

2018-03-07 Thread Claudio Scordino
Initial support for the NXP IMX8 evaluation board. Peng Fang (4): imx8mq: add UART support imx8mq: ignore SIP for low-power modes Cell configs for imx8mq EVK board. README: support for NXP IMX8 README.md | 2 + configs/arm64/imx8mq-gic-demo.c

[PATCH 1/4] imx8mq: add UART support

2018-03-07 Thread Claudio Scordino
From: Peng Fang Signed-off-by: Peng Fang Signed-off-by: Claudio Scordino --- hypervisor/arch/arm-common/Kbuild | 2 +- hypervisor/arch/arm-common/dbg-write.c| 2 + hypervisor/arch/arm-common/include/asm/uart.h | 2 +- hypervisor/arch/arm-common/uart-imx.c | 39 ++

Re: shared memory application to run on non rootcell

2018-03-07 Thread a . kumar
On Wednesday, March 7, 2018 at 2:07:25 AM UTC-5, J. Kiszka wrote: > On 2018-03-06 19:19, anilapp...@gmail.com wrote: > > Jan, > > we are tying to access( read & write) from shared memory region between > > root cell and non rootcell. I cant use ivshm-shared.bin file because I > > want to load an

Doorbell interrupt from bare-metal inmate to Linux via uoi_ivshmem (ARM64 / ZCU102)

2018-03-07 Thread jasperkuijsten
Hi, I'm trying to set up a system with a bare-metal guest/inmate, with shared memory between Linux root cell and inmate, and an (IPI) doorbell interrupt from inmate to Linux. My configs are based on zynqmp-zcu102 (root), gic-demo (inmate). Modified to only have only one IVSHMEM device instead

Re: Doorbell interrupt from bare-metal inmate to Linux via uoi_ivshmem (ARM64 / ZCU102)

2018-03-07 Thread jasperkuijsten
On Wednesday, March 7, 2018 at 2:41:29 PM UTC+1, jasperk...@gmail.com wrote: > Hi, > > I'm trying to set up a system with a bare-metal guest/inmate, with shared > memory between Linux root cell and inmate, and an (IPI) doorbell interrupt > from inmate to Linux. > > My configs are based on zynqm

Re: Doorbell interrupt from bare-metal inmate to Linux via uoi_ivshmem (ARM64 / ZCU102)

2018-03-07 Thread jasperkuijsten
On Wednesday, March 7, 2018 at 3:52:07 PM UTC+1, jasperk...@gmail.com wrote: > On Wednesday, March 7, 2018 at 2:41:29 PM UTC+1, jasperk...@gmail.com wrote: > > Hi, > > > > I'm trying to set up a system with a bare-metal guest/inmate, with shared > > memory between Linux root cell and inmate, and

Re: Doorbell interrupt from bare-metal inmate to Linux via uoi_ivshmem (ARM64 / ZCU102)

2018-03-07 Thread Jan Kiszka
On 2018-03-07 15:52, jasperkuijs...@gmail.com wrote: > On Wednesday, March 7, 2018 at 2:41:29 PM UTC+1, jasperk...@gmail.com wrote: >> Hi, >> >> I'm trying to set up a system with a bare-metal guest/inmate, with shared >> memory between Linux root cell and inmate, and an (IPI) doorbell interrupt

Re: [PATCH 2/4] imx8mq: ignore SIP for low-power modes

2018-03-07 Thread Jan Kiszka
On 2018-03-07 10:13, Claudio Scordino wrote: > From: Peng Fang > > On i.MX8MQ, SIP is mainly used for low-power mode, so it can be ignored. > See the following reference: > https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/arm-sip-service.rst > > Signed-off-by: Peng Fang > S

Re: [PATCH 0/4] Support for NXP IMX8

2018-03-07 Thread Jan Kiszka
On 2018-03-07 10:13, Claudio Scordino wrote: > Initial support for the NXP IMX8 evaluation board. > > Peng Fang (4): > imx8mq: add UART support > imx8mq: ignore SIP for low-power modes > Cell configs for imx8mq EVK board. > README: support for NXP IMX8 > > README.md

Re: [PATCH] arm/arm64: Simplify bit field extractions using GET_FIELD macro

2018-03-07 Thread Adeel Ahmad
> Did you look around in other hypervisor files where shifting/masking > happens if this pattern applies there as well? > I just submitted a patch simplifying some operations in jailhouse/hypervisor/arch/arm-common/paging.c file. I sent the patch from my Gmail account this time, but it hasn't s

[PATCH] arch/arm-common: Simplify bit field extractions using GET_FIELD macro

2018-03-07 Thread Adeel Ahmad
In file jailhouse/hypervisor/arch/arm-common/paging.c the GET_FIELD macro is utilized for the sake of code simplification. Signed-off-by: Adeel Ahmad --- hypervisor/arch/arm-common/paging.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hypervisor/arch/arm-commo

Re: [PATCH] arch/arm-common: Simplify bit field extractions using GET_FIELD macro

2018-03-07 Thread Jan Kiszka
On 2018-03-07 19:20, Adeel Ahmad wrote: > In file jailhouse/hypervisor/arch/arm-common/paging.c > the GET_FIELD macro is utilized for the sake of > code simplification. > > Signed-off-by: Adeel Ahmad > --- > hypervisor/arch/arm-common/paging.c | 12 ++-- > 1 file changed, 6 insertions(+)

Re: [PATCH] arm/arm64: Simplify bit field extractions using GET_FIELD macro

2018-03-07 Thread Jan Kiszka
On 2018-03-07 19:24, Adeel Ahmad wrote: >> Did you look around in other hypervisor files where shifting/masking >> happens if this pattern applies there as well? >> > > I just submitted a patch simplifying some operations in > jailhouse/hypervisor/arch/arm-common/paging.c file. I sent the patch f

Re: [PATCH 0/4] Support for NXP IMX8

2018-03-07 Thread Claudio Scordino
Hi Jan, 2018-03-07 18:27 GMT+01:00 Jan Kiszka : > On 2018-03-07 10:13, Claudio Scordino wrote: > > Initial support for the NXP IMX8 evaluation board. > > > > Peng Fang (4): > > imx8mq: add UART support > > imx8mq: ignore SIP for low-power modes > > Cell configs for imx8mq EVK board. > > R