Branch: refs/heads/master
  Home:   https://github.com/siemens/jailhouse
  Commit: 2533ca36e8ca8464687d8ea062986994de0cf043
      
https://github.com/siemens/jailhouse/commit/2533ca36e8ca8464687d8ea062986994de0cf043
  Author: Jiafei Pan <[email protected]>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    A configs/arm64/ls1046a-rdb-inmate-demo.c
    A configs/arm64/ls1046a-rdb-linux-demo.c
    A configs/arm64/ls1046a-rdb.c

  Log Message:
  -----------
  configs: ls1046a-rdb: add cell configure files

Add root cell, inmate cell, and Linux demo cell configure files
for NXP ls1046a RDB platform.

Signed-off-by: Jiafei Pan <[email protected]>
[Jan: fix up CPU overlap between inmate-demo and linux-demo]
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: af8a664fbfa5972c8f11100774c98d3e55a22740
      
https://github.com/siemens/jailhouse/commit/af8a664fbfa5972c8f11100774c98d3e55a22740
  Author: Jiafei Pan <[email protected]>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    A configs/arm64/dts/inmate-ls1046a-rdb.dts

  Log Message:
  -----------
  configs: ls1046a-rdb: Add linux inmate dts demo

Add device tree demo for running Linux as an inmate on
NXP ls1046a RDB board.

Signed-off-by: Jiafei Pan <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 1dc6b9c0aa354fb0c26680708fc6802112d88ca0
      
https://github.com/siemens/jailhouse/commit/1dc6b9c0aa354fb0c26680708fc6802112d88ca0
  Author: Andrea Bastoni <[email protected]>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    M configs/arm64/imx8qm-linux-demo.c
    M configs/arm64/imx8qm.c
    M configs/arm64/k3-j7200-evm-linux-demo.c
    M configs/arm64/k3-j7200-evm.c
    M configs/arm64/k3-j721e-evm-linux-demo.c
    M configs/arm64/k3-j721e-evm.c
    M configs/arm64/ultra96.c
    M configs/arm64/zynqmp-zcu102.c
    M hypervisor/arch/arm64/smmu-v3.c
    M hypervisor/arch/arm64/smmu.c
    M hypervisor/arch/arm64/ti-pvu.c
    M include/jailhouse/cell-config.h

  Log Message:
  -----------
  arm64, configs: SMMUv2: Separate stream ID's mask and id

The SMMUv2 allows filtering bits when matching stream IDs before they're
passed to the TCU. In this way multiple streams legally get the same
translation.

On boards such as the ZCU Ultrascale+, the master ID needed to identify
the corresponding SMMU stream ID may be dependent on a specific AXI ID
that is set by the PL (and could be IP specific).

One single fixed mask to pass to the SMR to compact multiple stream IDs
before they "hit" the TCU is not flexible enough. The use-case is to
compact similar PL-originating masters and have the SMMU behaving the
same for them (e.g., they're assigned to the same inmate). At the
same time, one needs a full stream_id to assign e.g., different GEM
ethernets to different inmates.

Update a stream_id to support two different interpretations:
- for the SMMUv2, provide an explicit mask_out + ID.
- for the SMMUv3, keep the current single ID.

This commit updates the SMMUv2 / v3 --including configuration--
accordingly.

Signed-off-by: Andrea Bastoni <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 297ac264c0f4a4e163b77ab8942780cc1f5f6c61
      
https://github.com/siemens/jailhouse/commit/297ac264c0f4a4e163b77ab8942780cc1f5f6c61
  Author: Andrea Bastoni <[email protected]>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    M configs/Makefile
    M configs/arm64/k3-j7200-evm-linux-demo.c
    M configs/arm64/k3-j7200-evm.c
    M configs/arm64/k3-j721e-evm-linux-demo.c
    M configs/arm64/k3-j721e-evm.c

  Log Message:
  -----------
  configs: add Wall and fix bracketing

In combination with Wextra, Wall enables additional checks such as
Wmissing-braces.

Signed-off-by: Andrea Bastoni <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 3ad66a08f2e14443581acd77740d3b41d3a21e37
      
https://github.com/siemens/jailhouse/commit/3ad66a08f2e14443581acd77740d3b41d3a21e37
  Author: Andrea Bastoni <[email protected]>
  Date:   2020-12-17 (Thu, 17 Dec 2020)

  Changed paths:
    M configs/Makefile
    M inmates/Makefile

  Log Message:
  -----------
  configs, inmates: Makefile: remove .note.gnu.property section during objcopy

It seems that the .note.gnu.property section is interfering with objcpy and
causes the "JHSYST" identification to be removed from the .cell.

Removing the section while copying the .o fixes the issue:

objcopy --version
GNU objcopy (GNU Binutils for Ubuntu) 2.34

readelf -a jailhouse/configs/x86/qemu-x86.o
...
Displaying notes found in: .note.gnu.property
  Owner                Data size        Description
  GNU                  0x00000010       NT_GNU_PROPERTY_TYPE_0
      Properties: x86 feature: IBT, SHSTK

hexdump -C jailhouse/configs/x86/qemu-x86.cell
00000000  04 00 00 00 10 00 00 00  05 00 00 00 47 4e 55 00  |............GNU.|

objcopy -O binary --remove-section=.note.gnu.property
jailhouse/configs/x86/qemu-x86.o jailhouse/configs/x86/qemu-x86.cell

00000000  4a 48 53 59 53 54 0d 00  01 00 00 00 00 00 00 3a  |JHSYST.........:|

Maybe related to:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906414

Signed-off-by: Andrea Bastoni <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 43eddb879307a83a4febe8ef261e1c0e8aa676c5
      
https://github.com/siemens/jailhouse/commit/43eddb879307a83a4febe8ef261e1c0e8aa676c5
  Author: hongbo.wang <[email protected]>
  Date:   2020-12-27 (Sun, 27 Dec 2020)

  Changed paths:
    A configs/arm64/ls1043a-rdb-inmate-demo.c
    A configs/arm64/ls1043a-rdb-linux-demo.c
    A configs/arm64/ls1043a-rdb.c

  Log Message:
  -----------
  configs: ls1043a-rdb: add cell configure files

Add root cell, inmate cell, and Linux demo cell configure files
for NXP ls1043a RDB platform.

GIC base address of Rev1.1 are different with Rev1.0, default configure
files are for ls1043a RDB Rev1.1, if want to run jailhouse on Rev1.0,
should change to the following:

.gicd_base = 0x1401000,
.gicc_base = 0x1402000,
.gich_base = 0x1404000,
.gicv_base = 0x1406000,

/* irqchips GIC-400*/
.address = 0x1401000,

Signed-off-by: hongbo.wang <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: a49bbb0bb01d80b932415e44dfbf5ce21829ba97
      
https://github.com/siemens/jailhouse/commit/a49bbb0bb01d80b932415e44dfbf5ce21829ba97
  Author: hongbo.wang <[email protected]>
  Date:   2020-12-27 (Sun, 27 Dec 2020)

  Changed paths:
    A configs/arm64/dts/inmate-ls1043a-rdb.dts

  Log Message:
  -----------
  configs: ls1043a-rdb: Add linux inmate dts demo

Add device tree demo for running Linux as an inmate on
NXP ls1043a RDB board.

GIC base address of Rev1.1 are different with Rev1.0, default dts is for
ls1043a RDB Rev1.1, if want to run linux-demo on Rev1.0, should change
to the following:

gic: interrupt-controller@1400000 {
        compatible = "arm,gic-400";
        #interrupt-cells = <3>;
        interrupt-controller;
        reg = <0x0 0x1401000 0 0x1000>, /* GICD */
              <0x0 0x1402000 0 0x2000>, /* GICC */
              <0x0 0x1404000 0 0x2000>, /* GICH */
              <0x0 0x1406000 0 0x2000>; /* GICV */
        interrupts = <1 9 0xf08>;
};

Signed-off-by: hongbo.wang <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


Compare: 
https://github.com/siemens/jailhouse/compare/5498cf9f5013...a49bbb0bb01d

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/siemens/jailhouse/push/refs/heads/master/5498cf-a49bbb%40github.com.

Reply via email to