Branch: refs/heads/coverity_scan
  Home:   https://github.com/siemens/jailhouse
  Commit: c914cba9dd8cbc7a2ca0ebc80656f468451f94bc
      
https://github.com/siemens/jailhouse/commit/c914cba9dd8cbc7a2ca0ebc80656f468451f94bc
  Author: Ralf Ramsauer <[email protected]>
  Date:   2017-03-18 (Sat, 18 Mar 2017)

  Changed paths:
    A inmates/lib/arm-common/include/gic.h
    A inmates/lib/arm/include/arch/gic.h
    R inmates/lib/arm/include/gic.h
    A inmates/lib/arm64/include/arch/gic.h
    R inmates/lib/arm64/include/gic.h

  Log Message:
  -----------
  inmates: consolidate GIC header of ARM architectures

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


  Commit: e85d07713b6ae674445aa8b0ee7350885dbc7e62
      
https://github.com/siemens/jailhouse/commit/e85d07713b6ae674445aa8b0ee7350885dbc7e62
  Author: Ralf Ramsauer <[email protected]>
  Date:   2017-03-18 (Sat, 18 Mar 2017)

  Changed paths:
    A inmates/lib/arm-common/include/inmate.h
    A inmates/lib/arm/include/arch/inmate.h
    R inmates/lib/arm/include/inmate.h
    A inmates/lib/arm64/include/arch/inmate.h
    R inmates/lib/arm64/include/inmate.h

  Log Message:
  -----------
  inmates: consolidate inmate.h for ARM architectures

And use this chance to remove unneeded #ifdef ASSEMBLY guards.

Signed-off-by: Ralf Ramsauer <[email protected]>
[Jan: combine vector_irq attributes]
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: e4d49399017b4ffb16542d79de9de4969ccf181a
      
https://github.com/siemens/jailhouse/commit/e4d49399017b4ffb16542d79de9de4969ccf181a
  Author: Ralf Ramsauer <[email protected]>
  Date:   2017-03-18 (Sat, 18 Mar 2017)

  Changed paths:
    M tools/jailhouse.c

  Log Message:
  -----------
  tools: enforce coding style

Only cosmetic changes.

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


  Commit: e85d194a08cd30da2a834c13adf1373c5abc825e
      
https://github.com/siemens/jailhouse/commit/e85d194a08cd30da2a834c13adf1373c5abc825e
  Author: Ralf Ramsauer <[email protected]>
  Date:   2017-03-18 (Sat, 18 Mar 2017)

  Changed paths:
    M tools/jailhouse.c

  Log Message:
  -----------
  tools: check return value of realloc call

Though very unlikely that realloc will fail here, its return value
should be checked.

Fixes: 41646a9a40a7 ("tools: jailhouse: reimplement jailhouse-cell-list in C")
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>


  Commit: 57cde48bcf8222f0a9025a99894660d04a86995b
      
https://github.com/siemens/jailhouse/commit/57cde48bcf8222f0a9025a99894660d04a86995b
  Author: Ralf Ramsauer <[email protected]>
  Date:   2017-03-18 (Sat, 18 Mar 2017)

  Changed paths:
    M hypervisor/arch/arm/caches.S
    M inmates/lib/arm/header.S

  Log Message:
  -----------
  arm: use sysregs accessors

We do have those accessors, so use them.  Eliminated all m{rc,cr}'s.

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


  Commit: 6d13b7451e73c272afcc030caf9b18c138ce8dd0
      
https://github.com/siemens/jailhouse/commit/6d13b7451e73c272afcc030caf9b18c138ce8dd0
  Author: Jan Kiszka <[email protected]>
  Date:   2017-03-23 (Thu, 23 Mar 2017)

  Changed paths:
    M driver/main.c

  Log Message:
  -----------
  driver: Add signal header required for >= 4.11

sched.h got refactored.

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


  Commit: 2221c4bd7738197169a3dc43de5c56ddfa3f948a
      
https://github.com/siemens/jailhouse/commit/2221c4bd7738197169a3dc43de5c56ddfa3f948a
  Author: Jan Kiszka <[email protected]>
  Date:   2017-03-23 (Thu, 23 Mar 2017)

  Changed paths:
    M hypervisor/arch/x86/Makefile
    M inmates/lib/x86/Makefile.lib

  Log Message:
  -----------
  x86, inmates: Fix potential stack corruptions via red zones

By default, compilers for the x86-64 ABI can use a 128-byte zone below
the stack pointer as temporary memory. Anything that interrupts the
current context is supposed to respect that area, i.e. increment rsp
before using the stack.

As we are using no separate stacks for interrupts (including NMIs)
generated in the hypervisor as well as the inmates, we risk infrequent
corruptions like reported in

https://www.mail-archive.com/[email protected]/msg02195.html

And we cannot adjust the stack pointer even right at the beginning of
the interrupt entry point because the processor already saved the basic
context for us. The best fix is to disable the red zone, just like Linux
does as well.

A quick scan of the code generated right now by gcc 4.8.5 for
jailhouse-intel.bin only revealed on usage of the red zone by
vmcs_clear, a function used during cell create and destruction. However,
mileage can vary in other configurations.

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


  Commit: e02403cf0069709cfd9ceee64c47ab2015458483
      
https://github.com/siemens/jailhouse/commit/e02403cf0069709cfd9ceee64c47ab2015458483
  Author: Ralf Ramsauer <[email protected]>
  Date:   2017-03-25 (Sat, 25 Mar 2017)

  Changed paths:
    M hypervisor/arch/arm/include/asm/processor.h
    M hypervisor/arch/arm/include/asm/sysregs.h
    M hypervisor/arch/arm64/include/asm/processor.h
    M hypervisor/arch/arm64/include/asm/sysregs.h

  Log Message:
  -----------
  arm: move register definition to sysregs.h

Definition of bits of a registers belongs to the definition of the
register itself.  Move those definition over to sysregs.h, which is
also shared with inmates that might want to use it.

No functional change.

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


Compare: 
https://github.com/siemens/jailhouse/compare/87c82cfb06e6...e02403cf0069

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