Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: 42522ce748d34ebf25df40753f7b928f76b47c61
https://github.com/siemens/jailhouse/commit/42522ce748d34ebf25df40753f7b928f76b47c61
Author: Jan Kiszka <[email protected]>
Date: 2017-11-27 (Mon, 27 Nov 2017)
Changed paths:
M driver/main.c
M hypervisor/arch/x86/control.c
M hypervisor/arch/x86/include/asm/jailhouse_hypercall.h
M hypervisor/include/jailhouse/cell-config.h
M tools/jailhouse-cell-linux
M tools/jailhouse-hardware-check
Log Message:
-----------
x86, driver, tools: Pass TSC and APIC timer frequency calibration to non-root
cells
This avoids that non-root cells have to calibrate TSC and - provided
there is no TSC deadline timer support - APIC timer frequencies
themselves. Rather we now either use statically configured values from
the system configuration or, of those or 0, pick them up from the root
cell during hypervisor start. Then the values are simply forwarded via
the Communication Region to all x86 non-root cells.
This requires another patch to the root-cell Linux to export
lapic_timer_frequency for us.
CC: Thomas Gleixner <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 3b514826061eb4bad45f370ea15a3488f6d6fc79
https://github.com/siemens/jailhouse/commit/3b514826061eb4bad45f370ea15a3488f6d6fc79
Author: Jan Kiszka <[email protected]>
Date: 2017-11-27 (Mon, 27 Nov 2017)
Changed paths:
M inmates/lib/x86/timing.c
Log Message:
-----------
inmates: x86: Add TSC deadline timer support
Use the TSC deadline timer when available. This avoids having to
calibrate the APIC timer in those cases.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: fe2b6b3c0980f2f6cd78420a7ee1955cb69fa08a
https://github.com/siemens/jailhouse/commit/fe2b6b3c0980f2f6cd78420a7ee1955cb69fa08a
Author: Jan Kiszka <[email protected]>
Date: 2017-11-27 (Mon, 27 Nov 2017)
Changed paths:
M inmates/lib/x86/timing.c
Log Message:
-----------
inmates: x86: Use pre-calibrated TSC and APIC timer frequencies
The Communication Region now provides these values, so we can drop the
calibration for the inmate library. The APIC timer frequency is only
available if there is no TSC deadline timer support, but then we use the
latter anyway.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 1f3ed3b5504107eb85ab63e6051d4f2ee0c81fcb
https://github.com/siemens/jailhouse/commit/1f3ed3b5504107eb85ab63e6051d4f2ee0c81fcb
Author: Jan Kiszka <[email protected]>
Date: 2017-11-27 (Mon, 27 Nov 2017)
Changed paths:
M inmates/tools/x86/linux-loader.c
M tools/jailhouse-cell-linux
Log Message:
-----------
inmates: x86: Enhance Linux setup data structure
Expand the Jailhouse-specific setup data structure we pass to the Linux
kernel on boot by the calibrated TSC and APIC timer frequencies. Also
switch the type to a value we are going to reserve officially in the
upstream kernel, rather than using the large magic value.
Although this is a change that should normally increase the version of
the struct, we keep it untouched as we didn't release the previous
structure version yet. Specifically, there is no official kernel out
there expecting the old structure.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 39dfc93aa472636068dca6a6d68f816ab7572071
https://github.com/siemens/jailhouse/commit/39dfc93aa472636068dca6a6d68f816ab7572071
Author: Jan Kiszka <[email protected]>
Date: 2017-11-27 (Mon, 27 Nov 2017)
Changed paths:
M hypervisor/arch/x86/vcpu.c
Log Message:
-----------
x86: Mask out VMX and SVM from non-root cell cpuid
We do not support nested virtualization, so don't make the guests
believe anything different.
Signed-off-by: Jan Kiszka <[email protected]>
Commit: f5027b016ad6202bb5f73318d01f3d3aa54f9a26
https://github.com/siemens/jailhouse/commit/f5027b016ad6202bb5f73318d01f3d3aa54f9a26
Author: Jan Kiszka <[email protected]>
Date: 2017-11-27 (Mon, 27 Nov 2017)
Changed paths:
M inmates/lib/inmate_common.h
Log Message:
-----------
inmates: Declare cmdline buffer
It might be overwritten by an inmate, therefore it is a global symbol.
Noticed by sparse.
Signed-off-by: Jan Kiszka <[email protected]>
Compare:
https://github.com/siemens/jailhouse/compare/84d8a7ebab41...f5027b016ad6
--
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.