Branch: refs/heads/next
  Home:   https://github.com/siemens/jailhouse
  Commit: 00469194a1d8ef718e30b9239ffffaf762eaf386
      
https://github.com/siemens/jailhouse/commit/00469194a1d8ef718e30b9239ffffaf762eaf386
  Author: Otavio Pontes <[email protected]>
  Date:   2017-10-31 (Tue, 31 Oct 2017)

  Changed paths:
    M hypervisor/arch/x86/control.c
    M hypervisor/arch/x86/include/asm/jailhouse_hypercall.h
    M inmates/tools/x86/linux-loader.c
    M tools/jailhouse-cell-linux

  Log Message:
  -----------
  x86: Export PCI mmconfig base address to Linux inmates

In order to access the PCI express extended configuration space, a linux
inmate needs to have access to the PCI mmconfig base address. As inmates
doesn't have access to this information using ACPI, we need to export it
using the cell comm_region.

Note that the updates in Linux kernel used as inmate are also necessary
in order to use the exported value as the PCI mmconfig base address.

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


  Commit: dc6cf30c82876d973c528c487223d36e6443fabe
      
https://github.com/siemens/jailhouse/commit/dc6cf30c82876d973c528c487223d36e6443fabe
  Author: Jan Kiszka <[email protected]>
  Date:   2017-10-31 (Tue, 31 Oct 2017)

  Changed paths:
    M Documentation/debug-output.md
    M README.md
    M configs/apic-demo.c
    M configs/e1000-demo.c
    M configs/ioapic-demo.c
    M configs/ivshmem-demo.c
    M configs/linux-x86-demo.c
    M configs/pci-demo.c
    M configs/smp-demo.c
    M configs/tiny-demo.c
    M inmates/lib/x86/header-32.S
    M inmates/lib/x86/header.S
    M inmates/lib/x86/inmate.h
    M inmates/lib/x86/inmate.lds
    M inmates/lib/x86/smp.c
    M inmates/tools/x86/linux-loader.c
    M tools/jailhouse-cell-linux

  Log Message:
  -----------
  inmates, configs, docs: x86: Locate inmates at address 0

This simplifies the startup code and avoids having to specify the load
address explicitly, aligning x86 with ARM.

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


  Commit: e330e2082bbcebb079dd8b1cf14a4c7bc5e191da
      
https://github.com/siemens/jailhouse/commit/e330e2082bbcebb079dd8b1cf14a4c7bc5e191da
  Author: Jan Kiszka <[email protected]>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

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

  Log Message:
  -----------
  x86: Fix general protection fault on restoring TR

arch_cpu_restore can run concurrently on multiple CPUs, but our
modifications to the GDT in order to reload Linux TR requires that a
couple of instructions run atomically. Namely, loading TR will set the
busy flag in the descriptor again which may race with another CPU just
trying to load from that descriptor as well. Putting everything under a
spinlock resolves the race.

The effect of this bug were sporadic general protection faults (#13)
while disabling Jailhouse or when enabling it failed.

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


  Commit: 3bbbe099e6fde23878addad71f7160d3170367d6
      
https://github.com/siemens/jailhouse/commit/3bbbe099e6fde23878addad71f7160d3170367d6
  Author: Jan Kiszka <[email protected]>
  Date:   2017-11-01 (Wed, 01 Nov 2017)

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

  Log Message:
  -----------
  x86: Fix arch_cpu_restore for PCID enabled systems

Reorder reloading of cr3 and cr4 in case the latter enables PCID (which
Jailhouse does not use) and cr3 should be fully evaluated under that
feature.

Fixes a protection fault when disabling Jailhouse on PCID-enabled
systems (since kernel 4.14).

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


Compare: 
https://github.com/siemens/jailhouse/compare/044114743141...3bbbe099e6fd

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