Branch: refs/heads/next
  Home:   https://github.com/siemens/jailhouse
  Commit: 4535ade4a6aaec0b9f80697939c0a122adb990d5
      
https://github.com/siemens/jailhouse/commit/4535ade4a6aaec0b9f80697939c0a122adb990d5
  Author: Jan Kiszka <[email protected]>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M inmates/lib/x86/Makefile.lib
    M tools/Makefile

  Log Message:
  -----------
  inmates, tools: Avoid warnings of objtool

Latest 4.15 kernel comes with the ORC unwinder and, along that, a
number of build-time checks on object files. These are tailored for the
kernel and do not go well with both our inmates and the userspace tools,
e.g.:

.../jailhouse.o: warning: objtool: read_file() falls through to next function 
parse_cell_id()
.../jailhouse.o: warning: objtool: help() falls through to next function 
open_dev()
.../jailhouse.o: warning: objtool: open_dev() falls through to next function 
cell_simple_cmd()
(because of lacking knowledge about no-return functions)

Disable them for x86 inmates, currently the only affected arch, and the
tools.

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


  Commit: e24793d6936237384eb44351dc3fbba58cc5802d
      
https://github.com/siemens/jailhouse/commit/e24793d6936237384eb44351dc3fbba58cc5802d
  Author: Jan Kiszka <[email protected]>
  Date:   2017-11-24 (Fri, 24 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.

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


  Commit: 639451b2df51ce37228e070915e4f8f7120e4c1a
      
https://github.com/siemens/jailhouse/commit/639451b2df51ce37228e070915e4f8f7120e4c1a
  Author: Jan Kiszka <[email protected]>
  Date:   2017-11-24 (Fri, 24 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: 2d62b33ca5f6b7b18705a41da6aefe7d24b3c524
      
https://github.com/siemens/jailhouse/commit/2d62b33ca5f6b7b18705a41da6aefe7d24b3c524
  Author: Jan Kiszka <[email protected]>
  Date:   2017-11-24 (Fri, 24 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: eec4284f30fc0206ccb97d26107a8ba40136d355
      
https://github.com/siemens/jailhouse/commit/eec4284f30fc0206ccb97d26107a8ba40136d355
  Author: Jan Kiszka <[email protected]>
  Date:   2017-11-26 (Sun, 26 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: e56dc11f746bef94ba926b56e372acf4579e7a25
      
https://github.com/siemens/jailhouse/commit/e56dc11f746bef94ba926b56e372acf4579e7a25
  Author: Jan Kiszka <[email protected]>
  Date:   2017-11-26 (Sun, 26 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]>


Compare: 
https://github.com/siemens/jailhouse/compare/1f868aaf161c...e56dc11f746b

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