Branch: refs/heads/next
  Home:   https://github.com/siemens/jailhouse
  Commit: a934d651e94f06acfd5bcce096ca673592f7e505
      
https://github.com/siemens/jailhouse/commit/a934d651e94f06acfd5bcce096ca673592f7e505
  Author: Jan Kiszka <[email protected]>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

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

  Log Message:
  -----------
  arm-common: Remove redundant statement for SGI routing mode 2

In case of mode 2, the targets field won't be evaluated. So we can save
one statement, initialized targets to 0 unconditionally, and instead
invest in explaining when we need to tune it further.

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


  Commit: 68ee1d6a7fdb8d51607c4c9ee92b12b817171c1f
      
https://github.com/siemens/jailhouse/commit/68ee1d6a7fdb8d51607c4c9ee92b12b817171c1f
  Author: Jan Kiszka <[email protected]>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

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

  Log Message:
  -----------
  arm-common: Clearify the role of gicv2_target_cpu_map in GICv3 mode

What we do on GICD_SGIR in GICv3 mode with affinity routing on is not
obvious. Leave a comment.

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


  Commit: 4dcbd9d842148bb627918f52e5472afa7a558f7a
      
https://github.com/siemens/jailhouse/commit/4dcbd9d842148bb627918f52e5472afa7a558f7a
  Author: Jan Kiszka <[email protected]>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M hypervisor/arch/arm/control.c
    M hypervisor/arch/arm/gic-v3.c
    M hypervisor/arch/arm/include/asm/cell.h

  Log Message:
  -----------
  arm: Declare each redistributor region to be last

As long as we are virtualizing MPIDR and, thus, also the region layout,
we can easily mark the end. However, when removing this virtualization
and starting to hand out the regions as-is, it will become complex to
identify contiguous ones.

To make this simple (for the hypervisor), just declare each of them to
be last. That means we will have to construct device trees for non-root
cells that declare multiple redistributor regions, even if they are
physically contiguous.

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


  Commit: 5db9788ff2c81c8e3ba7eeba5e83a9608b0e6456
      
https://github.com/siemens/jailhouse/commit/5db9788ff2c81c8e3ba7eeba5e83a9608b0e6456
  Author: Jan Kiszka <[email protected]>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

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

  Log Message:
  -----------
  arm: Switch redistributor handling completely to MMIO dispatcher

We can avoid the extra loop in gic_handle_redist_access just to map the
virtual GICR address to its corresponding CPU. We just need to register
one redist region per cell CPU.

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


  Commit: 1999e53c58891cffe2c6fd5619e003ba423098c4
      
https://github.com/siemens/jailhouse/commit/1999e53c58891cffe2c6fd5619e003ba423098c4
  Author: Jan Kiszka <[email protected]>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M hypervisor/arch/arm/gic-v3.c
    M hypervisor/arch/arm/include/asm/sysregs.h

  Log Message:
  -----------
  arm: Detect unsupported Aff0 values in MPIDR

Just to be safe: ICC_SGI1R_EL1 allows us to address at most 16 cores in
the most significant affinity level. Encode this restriction in the init
code because we will rely on it during runtime.

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


  Commit: ecb878bb80a188613e0655f3e99399e50f405511
      
https://github.com/siemens/jailhouse/commit/ecb878bb80a188613e0655f3e99399e50f405511
  Author: Jan Kiszka <[email protected]>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M hypervisor/arch/arm/gic-v3.c
    M hypervisor/arch/arm/include/asm/percpu.h
    M hypervisor/arch/arm64/include/asm/percpu.h

  Log Message:
  -----------
  arm, arm64: Move gicr per-cpu parameter into struct

This prepares for adding another GICv3 parameter later on.

ARM64 is not using the field yet, but it already carries it. So update
this side as well.

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


  Commit: 1f8090d277f04350eb11b197a52a6cbfa8bc74a3
      
https://github.com/siemens/jailhouse/commit/1f8090d277f04350eb11b197a52a6cbfa8bc74a3
  Author: Jan Kiszka <[email protected]>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M hypervisor/arch/arm/gic-v3.c
    M hypervisor/arch/arm/include/asm/percpu.h
    M hypervisor/arch/arm64/include/asm/percpu.h

  Log Message:
  -----------
  arm, arm64: Track physical address of redistributors for each CPU

We will need this once we start to identity-map the redistributors. And
while we could currently still calculate the addresses, better prepare
for multiple redist regions and store the address along the mapping.

Again, the update on ARM64 is just to prepare for eventually sharing the
GICv3.

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


  Commit: d1afff4d86ab425a3102542f87378b544fd5a1ae
      
https://github.com/siemens/jailhouse/commit/d1afff4d86ab425a3102542f87378b544fd5a1ae
  Author: Jan Kiszka <[email protected]>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M configs/dts/inmate-bananapi.dts
    M configs/dts/inmate-jetson-tk1.dts
    M configs/dts/inmate-orangepi0.dts
    M hypervisor/arch/arm-common/include/asm/gic.h
    M hypervisor/arch/arm-common/irqchip.c
    M hypervisor/arch/arm/control.c
    M hypervisor/arch/arm/gic-v3.c
    M hypervisor/arch/arm/include/asm/sysregs.h
    M hypervisor/arch/arm64/include/asm/sysregs.h

  Log Message:
  -----------
  arm: Remove MPIDR virtualization

Do not modify the MPIDR value that the cells see. VMPIDR is initialized
to the physical MPIDR on reset, and we can safely keep this, even while
the GICv2 IDs are still virtualized because they are unrelated.

We just need to adjust the GICv3 case because there we are in affinity
routing mode, and the MPIDR does play a role when dispatching SGIs.
GICR_TYPER can now be kept almost unmodified. Moreover, the
redistributors needs to be identity-mapped into the guests.

This also aligns arm with arm64 and will help introducing GICv3 to the
latter.

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


  Commit: 9352c5cc723c73e0657f2d36cd963af53904dfd0
      
https://github.com/siemens/jailhouse/commit/9352c5cc723c73e0657f2d36cd963af53904dfd0
  Author: Jan Kiszka <[email protected]>
  Date:   2017-09-05 (Tue, 05 Sep 2017)

  Changed paths:
    M hypervisor/arch/arm-common/irqchip.c
    M hypervisor/arch/arm/control.c
    M hypervisor/arch/arm/include/asm/percpu.h
    M hypervisor/arch/arm/setup.c
    M hypervisor/arch/arm64/control.c
    M hypervisor/arch/arm64/include/asm/percpu.h

  Log Message:
  -----------
  arm, arm64: Remove remaining traces of virt_id

No more users of arm_cpu_phys2virt/virt2phys are remaining, so we can
purge the code from related fragments.

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


Compare: 
https://github.com/siemens/jailhouse/compare/60935122f4e7...9352c5cc723c

-- 
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