Skip to content

jailhouse: Enhance secondary Jailhouse guest support /wrt PCI

Jan Kiszka linux-pci lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6jailhouse: Provide detection for non-x86 systemsDocumentation/devicetree/bindings/jailhouse.txt arch/x86/include/asm/jailhouse_para.h include/linux/hypervisor.h+24 -30 replies
1/6jailhouse: Provide detection for non-x86 systemsDocumentation/devicetree/bindings/jailhouse.txt arch/x86/include/asm/jailhouse_para.h include/linux/hypervisor.h+24 -30 replies
2/6pci: Scan all functions when probing while running over Jailhousearch/x86/pci/legacy.c drivers/pci/probe.c+6 -29 replies
2/6pci: Scan all functions when probing while running over Jailhousearch/x86/pci/legacy.c drivers/pci/probe.c+6 -20 replies
3/6x86/jailhouse: Enable PCI mmconfig access in inmatesarch/x86/include/asm/pci_x86.h arch/x86/kernel/jailhouse.c arch/x86/pci/mmconfig-shared.c+11 -20 replies
3/6x86/jailhouse: Enable PCI mmconfig access in inmatesarch/x86/include/asm/pci_x86.h arch/x86/kernel/jailhouse.c arch/x86/pci/mmconfig-shared.c+11 -20 replies
4/6x86: Consolidate PCI_MMCONFIG configsarch/x86/Kconfig+3 -66 replies
4/6x86: Consolidate PCI_MMCONFIG configsarch/x86/Kconfig+3 -60 replies
5/6x86/jailhouse: Allow to use PCI_MMCONFIG without ACPIarch/x86/Kconfig arch/x86/kernel/Makefile arch/x86/kernel/cpu/amd.c+7 -30 replies
5/6x86/jailhouse: Allow to use PCI_MMCONFIG without ACPIarch/x86/Kconfig arch/x86/kernel/Makefile arch/x86/kernel/cpu/amd.c+7 -30 replies
6/6MAINTAINERS: Add entry for JailhouseMAINTAINERS+7 -00 replies
6/6MAINTAINERS: Add entry for JailhouseMAINTAINERS+7 -00 replies

Reviews trailers per patch

2 of 12 patches have a Reviewed-by or Acked-by.

PatchBjorn Helgaas
1/6
1/6
2/6A-b
2/6A-b
3/6
3/6
4/6
4/6
5/6
5/6
6/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] jailhouse: Enhance secondary Jailhouse guest support /wrt PCI

Basic x86 support [1] for running Linux as secondary Jailhouse [2] guest is currently pending in the tip tree. This builds on top and enhances the PCI support for x86 and also ARM guests (ARM[64] does not require platform patches and works already).

Key elements of this series are:
- detection of Jailhouse via device tree hypervisor node
- function-level PCI scan if Jailhouse is detected
- MMCONFIG support for x86 guests

As most changes affect x86, I would suggest to route the series also via tip after the necessary acks are collected.

Jan

[1] https://lkml.org/lkml/2017/11/27/125
[2] http://jailhouse-project.org

CC Benedikt Spranger <[email protected]>
CC Mark Rutland <[email protected]>
CC Otavio Pontes <[email protected]>
CC Rob Herring <[email protected]>

Jan Kiszka (5):
jailhouse: Provide detection for non-x86 systems
pci: Scan all functions when probing while running over Jailhouse
x86: Consolidate PCI_MMCONFIG configs
x86/jailhouse: Allow to use PCI_MMCONFIG without ACPI
MAINTAINERS: Add entry for Jailhouse

Otavio Pontes (1):
x86/jailhouse: Enable PCI mmconfig access in inmates

 Documentation/devicetree/bindings/jailhouse.txt |  8 ++++++++
 MAINTAINERS                                     |  7 +++++++
 arch/x86/Kconfig                                | 11 ++++++-----
 arch/x86/include/asm/jailhouse_para.h           |  2 +-
 arch/x86/include/asm/pci_x86.h                  |  2 ++
 arch/x86/kernel/Makefile                        |  2 +-
 arch/x86/kernel/cpu/amd.c                       |  2 +-
 arch/x86/kernel/jailhouse.c                     |  7 +++++++
 arch/x86/pci/legacy.c                           |  4 +++-
 arch/x86/pci/mmconfig-shared.c                  |  4 ++--
 drivers/pci/probe.c                             |  4 +++-
 include/linux/hypervisor.h                      | 17 +++++++++++++++--
 12 files changed, 56 insertions(+), 14 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/jailhouse.txt
Signature · 1 line
2.13.6