Branch: refs/heads/next
  Home:   https://github.com/siemens/jailhouse
  Commit: f9325e628926c47a1ec75f7b0e53c571bed3d4e5
      
https://github.com/siemens/jailhouse/commit/f9325e628926c47a1ec75f7b0e53c571bed3d4e5
  Author: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M inmates/lib/x86/include/asm/regs.h
    M inmates/lib/x86/mem.c

  Log Message:
  -----------
  inmates: x86: paging: move definitions to regs.h

We'll need them in assembly, so move them over to regs.h and align the naming
with the hypervisor. And introduce the shorthand PAGE_DEFAULT_FLAGS.

No functional change.

Signed-off-by: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de>
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: b9e596b529f7e15d7cbbe9b273c6eef746e98ffe
      
https://github.com/siemens/jailhouse/commit/b9e596b529f7e15d7cbbe9b273c6eef746e98ffe
  Author: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M inmates/lib/x86/header-32.S
    M inmates/lib/x86/header-64.S

  Log Message:
  -----------
  inmates: x86: replace hardcoded constants

Use this chance to s/loader_pdpt/pd/ in header-32.S. It's a page
directory on x86-32 and not a page directory pointer table.

No functional change.

Signed-off-by: Ralf Ramsauer <ralf.ramsa...@oth-regensburg.de>
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: a744fadddd8bce4e6b32e283ca84f5f6c17cd3f6
      
https://github.com/siemens/jailhouse/commit/a744fadddd8bce4e6b32e283ca84f5f6c17cd3f6
  Author: Alice Guo <alice....@nxp.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

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

  Log Message:
  -----------
  cell-config: add support for MMU-500 configuration in cell-config.h

Add JAILHOUSE_IOMMU_ARM_MMU500 to the Jailhouse iommu type. Add
arm_sid_mask to struct jailhouse_iommu, and it is a mask of StreamID
bits irrelevant to the matching process.

Signed-off-by: Alice Guo <alice....@nxp.com>
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: 68ced33fa4a92030ec613543a29ef84711268e29
      
https://github.com/siemens/jailhouse/commit/68ced33fa4a92030ec613543a29ef84711268e29
  Author: Alice Guo <alice....@nxp.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M hypervisor/include/jailhouse/utils.h

  Log Message:
  -----------
  core: provide macro SET_FIELD

SET_FIELD allows to set bits[last:first] with the given value.

Signed-off-by: Alice Guo <alice....@nxp.com>
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: 3f78d4cbe0e8db6c42d38c82479283c221bb7b69
      
https://github.com/siemens/jailhouse/commit/3f78d4cbe0e8db6c42d38c82479283c221bb7b69
  Author: Alice Guo <alice....@nxp.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M hypervisor/arch/arm64/Kbuild
    M hypervisor/arch/arm64/include/asm/sysregs.h
    A hypervisor/arch/arm64/smmu.c

  Log Message:
  -----------
  arm64: support ARM MMU-500

Enable SMMU for processors which use MMU-500 to implement the ARM SMMU
architecture v2. It supports stage 2 translation that allows a
hypervisor define the translation tables that translate the IPAs for a
particular guest operating system to PAs.

Signed-off-by: Alice Guo <alice....@nxp.com>
[Jan: fold in SZ defines]
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: 90db7006488d638df345b95a4c871a783fab9d63
      
https://github.com/siemens/jailhouse/commit/90db7006488d638df345b95a4c871a783fab9d63
  Author: Alice Guo <alice....@nxp.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

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

  Log Message:
  -----------
  configs: imx8qm: add configuration files

Add root cell and inmate cell configuration files for imx8qm.

Signed-off-by: Alice Guo <alice....@nxp.com>
[Jan: rename to imx8qm-inmate-demo]
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: c1a7dd847f9b06e592a93d51ff0f50d7f6d88b37
      
https://github.com/siemens/jailhouse/commit/c1a7dd847f9b06e592a93d51ff0f50d7f6d88b37
  Author: Jan Kiszka <jan.kis...@siemens.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

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

  Log Message:
  -----------
  arm64: smmu: Simplify __arm_smmu_tlb_sync

No need for a two-stage loop here. Just test and then delay before the
next try. This aligns us with the original version in Linux.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: f258244cc57e69dbba1ff4a94d4f35541cdf8baa
      
https://github.com/siemens/jailhouse/commit/f258244cc57e69dbba1ff4a94d4f35541cdf8baa
  Author: Jan Kiszka <jan.kis...@siemens.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

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

  Log Message:
  -----------
  arm64: smmu: Allow arm_smmu_init_context_bank to return an error

If arm_smmu_init_context_bank detects an invalid/unsupported pa_size,
allow it to return an error and handle that properly.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: 05a7d5fdab8a4da1bcbba7a1deab233c3a217f01
      
https://github.com/siemens/jailhouse/commit/05a7d5fdab8a4da1bcbba7a1deab233c3a217f01
  Author: Jan Kiszka <jan.kis...@siemens.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

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

  Log Message:
  -----------
  arm64: smmu: Clarify that mapping mismatch is just a warning

The Linux kernel commit c55af7f719cb writes:

"Such a mismatch could be intentional (to fix wrong register values).
If its not intentional (e.g. due to wrong DT information) this will
very likely cause a malfunction of the driver as SMMU_CB_BASE is
derived from the size of the mapped region. The warning helps to
identify the root cause in this case."

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: 04866b908593d05c8c8be29fda6c890d83a99a6c
      
https://github.com/siemens/jailhouse/commit/04866b908593d05c8c8be29fda6c890d83a99a6c
  Author: Jan Kiszka <jan.kis...@siemens.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

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

  Log Message:
  -----------
  arm64: smmu: Consolidate translation stage detection and reporting

We only support stage-2 translations, so quite a bit of inherited logic
from Linux can be dropped.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: fee50d3d617b6ab72c4e22371adf31b394a9454b
      
https://github.com/siemens/jailhouse/commit/fee50d3d617b6ab72c4e22371adf31b394a9454b
  Author: Jan Kiszka <jan.kis...@siemens.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

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

  Log Message:
  -----------
  arm64: smmu: Fold __arm_smmu_tlb_sync into single caller

No need to have that inner function separately.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: 47b390bac76c1ecb797ed6ed2d7c81373e1cc923
      
https://github.com/siemens/jailhouse/commit/47b390bac76c1ecb797ed6ed2d7c81373e1cc923
  Author: Jan Kiszka <jan.kis...@siemens.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

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

  Log Message:
  -----------
  arm64: smmu: Drop duplicate error messages

arm_smmu_tlb_sync_global already reports when it fails.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: a38f43616d17b754095f52767f25dab4fe8b192d
      
https://github.com/siemens/jailhouse/commit/a38f43616d17b754095f52767f25dab4fe8b192d
  Author: Jan Kiszka <jan.kis...@siemens.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

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

  Log Message:
  -----------
  arm64: smmu: Handle arm_smmu_find_sme error properly

Bail out if they happen during cell init - apparently configuration
errors. Skip the entry if that happens during cell exit (unlikely).

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


  Commit: 2fb93be68166b2159fdc5572630e52fd6f5e2907
      
https://github.com/siemens/jailhouse/commit/2fb93be68166b2159fdc5572630e52fd6f5e2907
  Author: Jan Kiszka <jan.kis...@siemens.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

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

  Log Message:
  -----------
  arm64: smmu: Improve output during setup

Makes the output more compact, fixes one missing line break and adds a
correlation with the physical unit.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>


Compare: 
https://github.com/siemens/jailhouse/compare/068aa113e63f...2fb93be68166

-- 
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 jailhouse-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/siemens/jailhouse/push/refs/heads/next/068aa1-2fb93b%40github.com.

Reply via email to