[siemens/jailhouse] 7e0e47: core: ivshmem: Remove unneeded include

2 views
Skip to first unread message

GitHub

unread,
Jun 27, 2016, 10:21:00 AM6/27/16
to jailho...@googlegroups.com
Branch: refs/heads/wip/arm-ivshmem
Home: https://github.com/siemens/jailhouse
Commit: 7e0e4789b90b9a11e533275ab31f02b606b2c09a
https://github.com/siemens/jailhouse/commit/7e0e4789b90b9a11e533275ab31f02b606b2c09a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-06-27 (Mon, 27 Jun 2016)

Changed paths:
M hypervisor/pci_ivshmem.c

Log Message:
-----------
core: ivshmem: Remove unneeded include

No service of that header was used.

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


Commit: 364fe3bed876fc2b73d7790f02fa34cec91e877c
https://github.com/siemens/jailhouse/commit/364fe3bed876fc2b73d7790f02fa34cec91e877c
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-06-27 (Mon, 27 Jun 2016)

Changed paths:
M hypervisor/arch/x86/vtd.c
A hypervisor/include/jailhouse/ivshmem.h
M hypervisor/include/jailhouse/pci.h
M hypervisor/pci.c
M hypervisor/pci_ivshmem.c

Log Message:
-----------
core: ivshmem: Introduce separate header file

Stop piggybacking with PCI for ivshmem-specific prototypes. This will
help making non-x86 support for ivshmem cleaner.

We already move the struct pci_ivshmem_endpoint into the header because
the arch-specific code will need it.

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


Commit: a703f431d29b2af3de525d44418ba7b63a52c9e5
https://github.com/siemens/jailhouse/commit/a703f431d29b2af3de525d44418ba7b63a52c9e5
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-06-27 (Mon, 27 Jun 2016)

Changed paths:
M hypervisor/arch/x86/Makefile
M hypervisor/arch/x86/vtd.c
M hypervisor/include/jailhouse/ivshmem.h
M hypervisor/include/jailhouse/pci.h
A hypervisor/ivshmem.c
M hypervisor/pci.c
R hypervisor/pci_ivshmem.c

Log Message:
-----------
core: ivshmem: Remove "pci" tagging from function and module names

The ivshmem device is PCI-only, and it seems it will remain like that,
even when expanding to targets without physical PCI support. Therefore,
it adds no value to have "pci_" in its names all over the place because
the will be no PCI-free variant in parallel.

Besides the renaming, this also consolidates pci_ivshmem_update_msix and
ivshmem_update_msix into a single service.

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


Commit: e1ff6c5e3c1940cef97746ed4a030bda280726bc
https://github.com/siemens/jailhouse/commit/e1ff6c5e3c1940cef97746ed4a030bda280726bc
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-06-27 (Mon, 27 Jun 2016)

Changed paths:
M hypervisor/arch/x86/include/asm/apic.h
M hypervisor/arch/x86/include/asm/pci.h
M hypervisor/arch/x86/pci.c
M hypervisor/ivshmem.c

Log Message:
-----------
x86: pci: Rename pci_translate_msi_vector and move prototype to asm/pci.h

The name should reflect that this is an x86-only function. And it is a
PCI service, implemented in x86/pci.c. Thus the prototype rather belongs
into asm/pci.h.

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


Commit: 40cd9f581f1ca43176d6486021f2a1d0339209ce
https://github.com/siemens/jailhouse/commit/40cd9f581f1ca43176d6486021f2a1d0339209ce
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-06-27 (Mon, 27 Jun 2016)

Changed paths:
M hypervisor/arch/x86/Makefile
A hypervisor/arch/x86/include/asm/ivshmem.h
A hypervisor/arch/x86/ivshmem.c
M hypervisor/arch/x86/vtd.c
M hypervisor/include/jailhouse/ivshmem.h
M hypervisor/ivshmem.c
M hypervisor/pci.c

Log Message:
-----------
core: ivhsmem: Factor out architecture-specific parts

So far the ivshmem code assumed to run only on x86. In order to prepare
it for reuse on other architectures (ARM, ARM64), factor out the bits
and pieces that are arch-specific and implement them for x86.

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


Commit: f9170176df7b43dc27537b462720d8bb3febea04
https://github.com/siemens/jailhouse/commit/f9170176df7b43dc27537b462720d8bb3febea04
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-06-27 (Mon, 27 Jun 2016)

Changed paths:
M hypervisor/pci.c

Log Message:
-----------
core: pci: Add byte and word access support for mmconfig

Supporting more accesses sizes actually makes the case slightly simpler,
thanks to mmio_perform_access. Moreover, this will help introducing PCI
host controller emulation on ARM where accesses sizes of < 4 bytes take
place.

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


Commit: d10a769ad92cb5a0c0937fefdad6263db03bce9f
https://github.com/siemens/jailhouse/commit/d10a769ad92cb5a0c0937fefdad6263db03bce9f
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-06-27 (Mon, 27 Jun 2016)

Changed paths:
M configs/f2a88xm-hd3.c
M configs/h87i.c
M configs/imb-a180.c
M configs/qemu-vm.c
M hypervisor/include/jailhouse/cell-config.h
M hypervisor/pci.c
M tools/root-cell-config.c.tmpl

Log Message:
-----------
core, configs, tools: Make mmconfig PCI platform parameters generic

We will reuse them non-x86 architectures.

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


Commit: 9ca2c4d57978519fc3e5a906e88e6083f651a9c9
https://github.com/siemens/jailhouse/commit/9ca2c4d57978519fc3e5a906e88e6083f651a9c9
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-06-27 (Mon, 27 Jun 2016)

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

Log Message:
-----------
core: pci: Add virtual host controller

Yes, it is that simple: For targets without physical PCI support, we can
simply expose an mmconfig region in order to provide ivshmem devices to
the guests. All we need to do is to register the configured MMIO region
but skip the mapping of the region physically. A new flag in the system
config controls this.

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


Commit: 7777765c3f75ee88624a74744700f66a7d61620a
https://github.com/siemens/jailhouse/commit/7777765c3f75ee88624a74744700f66a7d61620a
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-06-27 (Mon, 27 Jun 2016)

Changed paths:
M hypervisor/ivshmem.c

Log Message:
-----------
core: ivshmem: Keep MSI-X disabled and unmasked by default

Probably an early debugging left-over: The MSI-X control register should
have the feature disabled and unmasked by default (both related bits
cleared). MSI-X is supposed to be enabled by the guest OS, and so do
Linux and the inmate demo.

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


Commit: bfa059961967c46cea625b5be265aab38aa0cb7e
https://github.com/siemens/jailhouse/commit/bfa059961967c46cea625b5be265aab38aa0cb7e
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2016-06-27 (Mon, 27 Jun 2016)

Changed paths:
M configs/Makefile
M configs/bananapi.c
M hypervisor/arch/arm/Makefile
A hypervisor/arch/arm/include/asm/ivshmem.h
A hypervisor/arch/arm/ivshmem.c
M hypervisor/arch/arm/lib.c
M hypervisor/arch/arm/mmio.c
A hypervisor/arch/arm/pci.c
M hypervisor/arch/arm/setup.c
M hypervisor/include/jailhouse/cell-config.h
M hypervisor/ivshmem.c

Log Message:
-----------
hacks


Compare: https://github.com/siemens/jailhouse/compare/7e0e4789b90b^...bfa059961967
Reply all
Reply to author
Forward
0 new messages