Branch: refs/heads/master
  Home:   https://github.com/siemens/jailhouse
  Commit: 10b3d473fb1e0938278b01ede8beb7bc881724a3
      
https://github.com/siemens/jailhouse/commit/10b3d473fb1e0938278b01ede8beb7bc881724a3
  Author: Nikhil Devshatwar <[email protected]>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M include/jailhouse/cell-config.h

  Log Message:
  -----------
  config: Remove unused JAILHOUSE_INVALID_STREAMID

Stream IDs are now described as arrays.
We do not need the sentinel JAILHOUSE_INVALID_STREAMID.
Remove this unused define.

Signed-off-by: Nikhil Devshatwar <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 4205ef8698680aadc9ecca646f0d58a3dcf1b1ed
      
https://github.com/siemens/jailhouse/commit/4205ef8698680aadc9ecca646f0d58a3dcf1b1ed
  Author: Nikhil Devshatwar <[email protected]>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M hypervisor/arch/arm64/smmu-v3.c

  Log Message:
  -----------
  arm64: smmu-v3: Fix crash in arm_smmuv3_cell_init

arm_smmuv3_cell_init and arm_smmuv3_cell_exit calls iterate over all
iommu_units to process the ones with SMMUV3 type.

After the loop, it unconditionally issues commands with first element
of smmu. This causes Unhandled HYP exception  while enabling jailhouse.
Also, it fails to issue commands on the subsequent SMMU units.

Fix this by issuing the sync command only if the iommu is SMMUV3 type.

Signed-off-by: Nikhil Devshatwar <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 89712d8a4acefb59b319c50b13720d580abe77de
      
https://github.com/siemens/jailhouse/commit/89712d8a4acefb59b319c50b13720d580abe77de
  Author: Nikhil Devshatwar <[email protected]>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M configs/arm64/k3-j721e-evm.c

  Log Message:
  -----------
  configs: arm64: k3-j721e-evm: Add SMMUv3 IOMMU in platform_data

J721e has a single ARM System MMU version3 for 2 stage
address translation of DMA requests from different peripherals.
Add this as iommu unit in the k3-j721e root cell configuration.

Signed-off-by: Nikhil Devshatwar <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 05b6322f057a4091be5323e33cec02c129c6006a
      
https://github.com/siemens/jailhouse/commit/05b6322f057a4091be5323e33cec02c129c6006a
  Author: Nikhil Devshatwar <[email protected]>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M hypervisor/control.c

  Log Message:
  -----------
  core: Update cell_state while destroying the cell

Update the cell_state to SHUT_DOWN as part of the cell_destroy
This will make sure that the memory_unmap calls and unit's
cell_exit calls can see the correct status of the cell.

Signed-off-by: Nikhil Devshatwar <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 3fac413f064777bd25972e09f3020aecd1fd070a
      
https://github.com/siemens/jailhouse/commit/3fac413f064777bd25972e09f3020aecd1fd070a
  Author: Nikhil Devshatwar <[email protected]>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M configs/x86/f2a88xm-hd3.c
    M hypervisor/arch/x86/amd_iommu.c
    M include/jailhouse/cell-config.h

  Log Message:
  -----------
  configs: Move amd specific fields in separate struct

Create a union for all vendor specific fields and move the
amd specific fields in separate struct.
Also update the amd unit references of these fields.

This is to handle multiple iommu devices and their custom fields
separately.

Signed-off-by: Nikhil Devshatwar <[email protected]>
[Jan: adjusted f2a88xm-hd3.c to new format]
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: ce9a667714d92711b7950d32b8c68dc68088a72e
      
https://github.com/siemens/jailhouse/commit/ce9a667714d92711b7950d32b8c68dc68088a72e
  Author: Jan Kiszka <[email protected]>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M hypervisor/arch/arm-common/Kbuild
    R hypervisor/arch/arm-common/iommu.c
    M hypervisor/arch/arm/Kbuild
    A hypervisor/arch/arm/iommu.c
    M hypervisor/arch/arm64/Kbuild
    A hypervisor/arch/arm64/iommu.c

  Log Message:
  -----------
  arm/arm64: Move iommu.o out of arm-common

There is no IOMMU support for 32-bit arm, and it's likely to now show up
there anymore. Make the iommu binding module arch-specific so that we
can add calls to the arm64 variant without affecting arm.

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


  Commit: 1fb0d740f3edcf17ed20302200aa849b12356e3b
      
https://github.com/siemens/jailhouse/commit/1fb0d740f3edcf17ed20302200aa849b12356e3b
  Author: Nikhil Devshatwar <[email protected]>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M hypervisor/arch/arm-common/include/asm/cell.h
    M hypervisor/arch/arm64/Kbuild
    A hypervisor/arch/arm64/include/asm/ti-pvu.h
    M hypervisor/arch/arm64/iommu.c
    A hypervisor/arch/arm64/ti-pvu.c
    M include/jailhouse/cell-config.h

  Log Message:
  -----------
  arm64: ti-pvu: Add support for ti-pvu iommu unit

Add support for Texas Instrument's Peripheral Virtualization Unit
* Define a new IOMMU type and extra fields in the platform_data
* Add new cofig option CONFIG_IOMMU_TI_PVU
* Integrate with the arm iommu support such that multiple types
  of IOMMU can be supported.

Signed-off-by: Nikhil Devshatwar <[email protected]>
[Jan: moved into arm64 completely, fixed whitespace warnings, fixed includes]
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: b9c52578a5c4f6388b5c2a6dae8d09a6fa9d33f7
      
https://github.com/siemens/jailhouse/commit/b9c52578a5c4f6388b5c2a6dae8d09a6fa9d33f7
  Author: Nikhil Devshatwar <[email protected]>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M configs/arm64/k3-j721e-evm.c

  Log Message:
  -----------
  configs: arm64: k3-j721e-evm: Add PVU IOMMU devices in platform_data

J721e device has 3 instance of PVU which can be used as IOMMU.
Each PVU has a config region and a TLB region where the memory
mapping information is stored.
Describe these as part of the root cell's platform_data.

Signed-off-by: Nikhil Devshatwar <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 8b517289b0e3da45ba72cfbaf94cf4a05b8e2574
      
https://github.com/siemens/jailhouse/commit/8b517289b0e3da45ba72cfbaf94cf4a05b8e2574
  Author: Nikhil Devshatwar <[email protected]>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

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

  Log Message:
  -----------
  configs: arm64: k3-j721e-evm: Add stream ids for devices behind IOMMU

Add stream_ids for peripherals which are behind IOMMU instances.
PVU and SMMU-V3 sets up memory mapping for all of these contexts
for correct 2nd stage translation.

Signed-off-by: Nikhil Devshatwar <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 9eb8608a209b0ab7aa6032fe8dfb38d043d4c1e2
      
https://github.com/siemens/jailhouse/commit/9eb8608a209b0ab7aa6032fe8dfb38d043d4c1e2
  Author: Jan Kiszka <[email protected]>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M hypervisor/ivshmem.c

  Log Message:
  -----------
  core: ivshmem: Unconditionally check ID range

This check should not depend on whether we are adding a peer to link or
starting a new one.

Reported-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 4bb52eeca50b9af8280ad570919aea141787d9fc
      
https://github.com/siemens/jailhouse/commit/4bb52eeca50b9af8280ad570919aea141787d9fc
  Author: Jan Kiszka <[email protected]>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    A configs/arm64/dts/inmate-rpi4.dts
    A configs/arm64/rpi4-inmate-demo.c
    A configs/arm64/rpi4-linux-demo.c
    A configs/arm64/rpi4.c

  Log Message:
  -----------
  configs: Add support for Raspberry Pi 4

This adds the system config, an inmate demo and a linux demo with dts
for running Jailhouse on the Raspberry Pi 4. Configs are designed for
the smallest, 1 GB variant. Models with more memory needs adjustments
or have to like like having 1 GB only.

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


  Commit: 005fe368e11b27bb20f0ddd47b968ca9b5235c00
      
https://github.com/siemens/jailhouse/commit/005fe368e11b27bb20f0ddd47b968ca9b5235c00
  Author: Jan Kiszka <[email protected]>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M inmates/lib/arm-common/pci.c

  Log Message:
  -----------
  inmates: arm-common: Fix indention

Use tab instead of spaces.

Reported-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 7cffb9b7d54dd3466b320f5467bd39110b35ac61
      
https://github.com/siemens/jailhouse/commit/7cffb9b7d54dd3466b320f5467bd39110b35ac61
  Author: Chase Conklin <[email protected]>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M hypervisor/paging.c

  Log Message:
  -----------
  core: fix hugepage splitting in paging_destroy

When unmapping pages, it is not sufficient to compare the size of the
page to the size of the region to be unmapped to know whether a
hugepage needs to be split. That approach does not split hugepages
when the region to be unmapped is larger than a hugepage but does not
cover the entire hugepage, resulting in areas outside the region to be
unmapped and leaving areas inside the region mapped.

Instead of comparing the size of the region to the size of the page,
check if the region overlaps only part of the page and split the
hugepage if it does.

Fixes: 1f7784032531 ("core: Add support for creating page tables with 
hugepages")
Signed-off-by: Chase Conklin <[email protected]>
[Jan: reduced by two local variables]
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: cf0d156663a49d33f9047e4b7b942a10b3fc3ba0
      
https://github.com/siemens/jailhouse/commit/cf0d156663a49d33f9047e4b7b942a10b3fc3ba0
  Author: Chase Conklin <[email protected]>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M hypervisor/arch/arm-common/gic-v3.c

  Log Message:
  -----------
  arm-common: gic-v3: ensure LR writes are visible

The GICv3 architecture does not guarantee that writes to the list
registers are self-synchronizing. As a result, it is possible for a
valid interrupt to be written into a list register but have the empty
list register status register report that list register as not holding
a valid interrupt. Since the empty list register status registers are
used to indicate which list registers can be used to inject an
interrupt to a cell, it is possible for a valid list register entry to
be overwritten, dropping the corresponding interrupt.

Fixes: 2ce9d14ca4e2 ("arm: GICv3 initialisation")
Signed-off-by: Chase Conklin <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: f2706433efea646a7357cc399de9b24be6253a4a
      
https://github.com/siemens/jailhouse/commit/f2706433efea646a7357cc399de9b24be6253a4a
  Author: Jan Kiszka <[email protected]>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M hypervisor/arch/arm64/ti-pvu.c

  Log Message:
  -----------
  arm64: Fix initialized return value in pvu_iommu_config_commit

This is relevant in case there are no stream IDs in a cell config. Found
by Coverity.

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


  Commit: c4024b68d0d17f6cf6d55a0b61845511ed19e6f7
      
https://github.com/siemens/jailhouse/commit/c4024b68d0d17f6cf6d55a0b61845511ed19e6f7
  Author: Jan Kiszka <[email protected]>
  Date:   2020-01-19 (Sun, 19 Jan 2020)

  Changed paths:
    M tools/root-cell-config.c.tmpl

  Log Message:
  -----------
  tools: config-create: Adjust template to latest changes

This was forgotten in 3fac413f0647.

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


Compare: 
https://github.com/siemens/jailhouse/compare/6a8ab13d6f2b...c4024b68d0d1

-- 
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/6a8ab1-c4024b%40github.com.

Reply via email to