Branch: refs/heads/next
  Home:   https://github.com/siemens/jailhouse
  Commit: 1b7a63610ea8078d940410eb4c1f6c0764f2c3bb
      
https://github.com/siemens/jailhouse/commit/1b7a63610ea8078d940410eb4c1f6c0764f2c3bb
  Author: Luca Cuomo <[email protected]>
  Date:   2018-04-19 (Thu, 19 Apr 2018)

  Changed paths:
    M configs/arm64/jetson-tx2.c

  Log Message:
  -----------
  Jetson TX2: fix root cell config for GPU acceleration

This patch fixes the root cell config for the Jetson TX2 platform to
avoid a deadlock occurring when using accelerated graphics. It maps the
VIC memory regions and increment the number of handled IRQs.

Signed-off-by: Claudio Scordino <[email protected]>
Signed-off-by: Bruno Morelli <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: a2d69a679a4e759221a29d9926107dcc50aea0f0
      
https://github.com/siemens/jailhouse/commit/a2d69a679a4e759221a29d9926107dcc50aea0f0
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/arch/arm-common/setup.c
    M hypervisor/arch/x86/setup.c
    M hypervisor/include/jailhouse/entry.h
    M hypervisor/setup.c

  Log Message:
  -----------
  core: Fold map_root_memory_regions into init_late

It is safe to make this the very last step of init_late before
config_commit on all archs: it is only config_commit that depends on it,
and the region setup depends on the IOMMU being ready. And then we can
also fold this function into init_late directly.

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


  Commit: 473a1a2ce83d3f6e8b6f37e723cc6287ef692488
      
https://github.com/siemens/jailhouse/commit/473a1a2ce83d3f6e8b6f37e723cc6287ef692488
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/hypervisor.lds.S

  Log Message:
  -----------
  core: Pull __init_array_start/end into the section definition

This is required to reliably get the desired positions. Practically, we
had no issues so far.

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


  Commit: ff09181c30cbdbf7f7249a3e24589e1ada66777a
      
https://github.com/siemens/jailhouse/commit/ff09181c30cbdbf7f7249a3e24589e1ada66777a
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/control.c
    M hypervisor/hypervisor.lds.S
    A hypervisor/include/jailhouse/unit.h
    M hypervisor/mmio.c
    M hypervisor/setup.c

  Log Message:
  -----------
  core: Introduce unit infrastructure

This introduces the concept of functional units which can register
themselves with the core.

Each unit will then receive a number of callbacks on events of common
interest: hypervisor init and shutdown, cell creation and destruction,
and counting of MMIO regions per cell. All callbacks are mandatory, so
unused ones need to be stubbed. For the more common cases of missing
shutdown or mmio_count_regions callbacks, macros are provided. The init
callbacks are run in linking order, cleanup callbacks in the reverse
order.

Registration is performed by adding a unit structure to the units
section. From there, for_each_unit* iterators can pick them up in
linking order (or reversed).

The goal of this abstraction is to remove explicit hooks for the
mentioned events for each unit. It also allows to add a unit by simply
linking it against the hypervisor. This is specifically useful for
existing target-specific variations (e.g. CAT for Intel or VExpress
extensions) or upcoming optional features.

The reason to call this "unit", instead of "module", is to avoid
confusion with abstractions in Linux or other projects that have broader
semantics. E.g., a unit is not intended to become a runtime loadable
entity.

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


  Commit: 129e16e49788177e266cdf4cc1e09564e8d550b7
      
https://github.com/siemens/jailhouse/commit/129e16e49788177e266cdf4cc1e09564e8d550b7
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/pci.c

  Log Message:
  -----------
  core: Move pci_init to the end of pci.c

This will be needed when pci_cell_init becomes static. No functional
changes.

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


  Commit: f50c32b9eaaaa9904b00ee0625d13bafb3a05ddf
      
https://github.com/siemens/jailhouse/commit/f50c32b9eaaaa9904b00ee0625d13bafb3a05ddf
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/Makefile
    M hypervisor/control.c
    M hypervisor/include/jailhouse/pci.h
    M hypervisor/mmio.c
    M hypervisor/pci.c
    M hypervisor/setup.c

  Log Message:
  -----------
  core: Convert pci to a unit

This registers pci as unit with the core. As it should be initialized
last, we have to ensure this via adjusting the linking order.

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


  Commit: ee42b8d63400cf13c7c41c5881826915c6dd0a6b
      
https://github.com/siemens/jailhouse/commit/ee42b8d63400cf13c7c41c5881826915c6dd0a6b
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/arch/x86/cat.c

  Log Message:
  -----------
  x86: Move cat_init to the end of cat.c

This will be needed when cat_cell_init becomes static. No functional
changes.

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


  Commit: 651f2827c7b397a73c543be1a6d740cd8c6be075
      
https://github.com/siemens/jailhouse/commit/651f2827c7b397a73c543be1a6d740cd8c6be075
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/arch/x86/Kbuild
    R hypervisor/arch/x86/cat-stubs.c
    M hypervisor/arch/x86/cat.c
    M hypervisor/arch/x86/control.c
    M hypervisor/arch/x86/include/asm/cat.h
    M hypervisor/arch/x86/setup.c

  Log Message:
  -----------
  x86: Convert cat to a unit

This registers cat as a unit with the Intel-variant of the hypervisor.
For AMD, we just leave the non-unit'fied cat_update handler as weak stub
behind. cat_update is too special to model it as unit callback.

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


  Commit: c55307fa21772c690dfe07a30a501ae16a6e24bd
      
https://github.com/siemens/jailhouse/commit/c55307fa21772c690dfe07a30a501ae16a6e24bd
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/arch/x86/ioapic.c

  Log Message:
  -----------
  x86: Move ioapic_init to the end of ioapic.c

This will be needed when ioapic_cell_init becomes static. No functional
changes.

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


  Commit: 9f2843360e8322b9aa7be1655e44d0191fc060e1
      
https://github.com/siemens/jailhouse/commit/9f2843360e8322b9aa7be1655e44d0191fc060e1
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/arch/x86/Kbuild
    M hypervisor/arch/x86/control.c
    M hypervisor/arch/x86/include/asm/ioapic.h
    M hypervisor/arch/x86/ioapic.c
    M hypervisor/arch/x86/mmio.c
    M hypervisor/arch/x86/setup.c

  Log Message:
  -----------
  x86: Convert ioapic to a unit

This registers the ioapic as unit with the core.

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


  Commit: 702fdb50ca1ce31fe7a82133c1d26e24e3587c82
      
https://github.com/siemens/jailhouse/commit/702fdb50ca1ce31fe7a82133c1d26e24e3587c82
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/arch/arm-common/control.c
    M hypervisor/arch/x86/amd_iommu.c
    M hypervisor/arch/x86/control.c
    M hypervisor/arch/x86/include/asm/iommu.h
    M hypervisor/arch/x86/vtd.c
    M hypervisor/control.c
    M hypervisor/include/jailhouse/control.h

  Log Message:
  -----------
  core: Rename arch_shutdown to arch_prepare_shutdown

On x86, arch_shutdown now only contains preparation steps that all have
to be called prior to issuing the shutdown to units. Rename the function
and also the iommu service it calls on x86 to reflect that. ARM and
ARM64 do not use it, thus is unaffected by this.

No functional changes.

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


  Commit: b38068b6e36959eb43a8c0189324fe6bb039be1b
      
https://github.com/siemens/jailhouse/commit/b38068b6e36959eb43a8c0189324fe6bb039be1b
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/arch/x86/amd_iommu.c

  Log Message:
  -----------
  x86: Move iommu_init and related functions to the end of amd_iommu.c

This will be needed when [amd_]iommu_cell_init becomes static. Move
amd_prepare_shutdown past it to preserve the logical ordering. No
functional changes.

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


  Commit: ebbb8d47dd6b473bd798f3621dd040e82df4ed2b
      
https://github.com/siemens/jailhouse/commit/ebbb8d47dd6b473bd798f3621dd040e82df4ed2b
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/arch/x86/vtd.c

  Log Message:
  -----------
  x86: Move iommu_init and related functions to the end of vtd.c

This will be needed when iommu/vtd_cell_init becomes static. No
functional changes.

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


  Commit: 98df36dbdcf373e084744ef4db9f579eb9439b85
      
https://github.com/siemens/jailhouse/commit/98df36dbdcf373e084744ef4db9f579eb9439b85
  Author: Jan Kiszka <[email protected]>
  Date:   2018-04-20 (Fri, 20 Apr 2018)

  Changed paths:
    M hypervisor/arch/x86/Kbuild
    M hypervisor/arch/x86/amd_iommu.c
    M hypervisor/arch/x86/control.c
    M hypervisor/arch/x86/include/asm/iommu.h
    M hypervisor/arch/x86/mmio.c
    M hypervisor/arch/x86/setup.c
    M hypervisor/arch/x86/vtd.c

  Log Message:
  -----------
  x86: Convert iommu to a unit

This registers the amd_iommu or vtd a unit with the core, depending on
the hypervisor CPU-vendor variant. We do not use a shutdown hook but
rather continue to rely on the explicitly called iommu_prepare_shutdown
hook because the iommu need to close prior to other units.

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


Compare: 
https://github.com/siemens/jailhouse/compare/b3c914523493...98df36dbdcf3

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to