Branch: refs/heads/next
  Home:   https://github.com/siemens/jailhouse
  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]>


Compare: 
https://github.com/siemens/jailhouse/compare/af8a664fbfa5...3ad66a08f2e1

-- 
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/next/af8a66-3ad66a%40github.com.

Reply via email to