[siemens/jailhouse] e7a677: arm, configs: Move content of platform.h into syst...

2 views
Skip to first unread message

GitHub

unread,
Sep 25, 2016, 12:14:31 PM9/25/16
to jailho...@googlegroups.com
Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: e7a677cbaefce5d9595e8fd03aac930999d6119d
https://github.com/siemens/jailhouse/commit/e7a677cbaefce5d9595e8fd03aac930999d6119d
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-25 (Sun, 25 Sep 2016)

Changed paths:
M configs/bananapi.c
M configs/jetson-tk1.c
M configs/vexpress.c
M hypervisor/arch/arm/control.c
M hypervisor/arch/arm/dbg-write.c
M hypervisor/arch/arm/gic-common.c
M hypervisor/arch/arm/gic-v2.c
M hypervisor/arch/arm/gic-v3.c
R hypervisor/arch/arm/include/asm/platform.h
M hypervisor/arch/arm/irqchip.c
M hypervisor/arch/arm/traps.c
M hypervisor/include/jailhouse/cell-config.h

Log Message:
-----------
arm, configs: Move content of platform.h into system configuration

Overcome the constantly growing ugly platform.h by defining
platform_info.arm in the system configuration. We need the base
addresses of GICD/C/H/V/R here and the maintenance interrupt number. No
need to account for the fact that only GICv3 needs GICR and not C/H/V -
makes the definition more compact, and we have enough space.

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


Commit: 7e08f40f720c194691e00f244e9551b2064e1c69
https://github.com/siemens/jailhouse/commit/7e08f40f720c194691e00f244e9551b2064e1c69
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-25 (Sun, 25 Sep 2016)

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

Log Message:
-----------
arm: Move gicd_base declarations into header

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


Commit: 401f743b9f7c2878874b1969f7d20e4555ff1f1d
https://github.com/siemens/jailhouse/commit/401f743b9f7c2878874b1969f7d20e4555ff1f1d
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-25 (Sun, 25 Sep 2016)

Changed paths:
M hypervisor/include/jailhouse/paging.h
M hypervisor/paging.c

Log Message:
-----------
core: Introduce paging_map/unmap_device

These services are wrapping the common pattern of page allocation from
the remapping pool and then mapping of a physical device into the
hypervisor address space / the reverse of it. They will also replace the
ARM-specific Implementations.

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


Commit: afb7b1939008cbc639daeba7b537e744129a3bef
https://github.com/siemens/jailhouse/commit/afb7b1939008cbc639daeba7b537e744129a3bef
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-25 (Sun, 25 Sep 2016)

Changed paths:
M hypervisor/pci.c

Log Message:
-----------
core: Use paging_map/unmap_device in PCI layer

Less boilerplate code.

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


Commit: fa38494cf62826eeba171d24e261d40b10cb7230
https://github.com/siemens/jailhouse/commit/fa38494cf62826eeba171d24e261d40b10cb7230
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-25 (Sun, 25 Sep 2016)

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

Log Message:
-----------
x86: Use paging_map/unmap_device for AMD IOMMU, APIC and IOAPIC

We cannot use the functions for svm because it reuses the virtual
address for the AVIC page on all CPUs. And vtd maps all DMAR units
back-to-back, even when their physical addresses are scattered.

Still quite some boilerplate code removed.

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


Commit: f6cf538f5420b1c23c9ff1ef57ff1af45fd0c18b
https://github.com/siemens/jailhouse/commit/f6cf538f5420b1c23c9ff1ef57ff1af45fd0c18b
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-25 (Sun, 25 Sep 2016)

Changed paths:
M hypervisor/arch/arm/gic-v2.c
M hypervisor/arch/arm/gic-v3.c
M hypervisor/arch/arm/irqchip.c
M hypervisor/arch/arm/smp-vexpress.c

Log Message:
-----------
arm: Use paging_map/unmap_device for GIC and vexpress sysregs

Less boilerplate code, arch_map/unmap_device becomes unused, and we also
properly allocate the virtual addresses of the mapped resources from the
remapping pool, instead of relying on identity mapping creating no
conflicts.

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


Commit: b118ca7479b9110a4df77da66c9925c0fbe5078c
https://github.com/siemens/jailhouse/commit/b118ca7479b9110a4df77da66c9925c0fbe5078c
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-09-25 (Sun, 25 Sep 2016)

Changed paths:
M hypervisor/arch/arm/include/asm/setup.h
M hypervisor/arch/arm/mmu_hyp.c

Log Message:
-----------
arm: Remove unused arch_map/unmap_device

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


Compare: https://github.com/siemens/jailhouse/compare/5d81eb5b60de...b118ca7479b9
Reply all
Reply to author
Forward
0 new messages