Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: 6aa1ac9ec5e4eae7040cf55126be818b30e31098
https://github.com/siemens/jailhouse/commit/6aa1ac9ec5e4eae7040cf55126be818b30e31098
Author: Ralf Ramsauer <[email protected]>
Date: 2019-06-14 (Fri, 14 Jun 2019)
Changed paths:
M inmates/lib/x86/Makefile
A inmates/lib/x86/cpu-features.c
M inmates/lib/x86/header-32.S
M inmates/lib/x86/header-64.S
M inmates/lib/x86/include/asm/regs.h
Log Message:
-----------
inmates: x86: discover and activate SSE/AVX
Recent gcc versions emit SSE instructions for 32-bit inmates (e.g., in
hex2str or cmdline_parse routines). Inmates aren't able to execute those
instructions as SSE is not enabled and will crash.
Enabling SSE is the same code for 32 and 64 bit x86 and straight
forward: Lookup SSE/AVX availability via cpuid and set according bits in
control registers.
Simply call the routine before calling the actual C entry point.
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 40d7b89cf7187babb2ccbeb5f89b61e743db6790
https://github.com/siemens/jailhouse/commit/40d7b89cf7187babb2ccbeb5f89b61e743db6790
Author: Ralf Ramsauer <[email protected]>
Date: 2019-06-14 (Fri, 14 Jun 2019)
Changed paths:
A inmates/lib/include/test.h
A inmates/lib/test.c
M inmates/lib/x86/Makefile
M inmates/tests/x86/mmio-access-32.c
M inmates/tests/x86/mmio-access.c
Log Message:
-----------
inmates: introduce test.h and test.c
MMIO access tests use the same test pattern. Let's share the code.
Later, we will also reuse it for the SSE test.
Signed-off-by: Ralf Ramsauer <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 26561fa529d14fe31f844d121641cf6ac65df731
https://github.com/siemens/jailhouse/commit/26561fa529d14fe31f844d121641cf6ac65df731
Author: Ralf Ramsauer <[email protected]>
Date: 2019-06-14 (Fri, 14 Jun 2019)
Changed paths:
M inmates/tests/x86/Makefile
A inmates/tests/x86/sse-demo.c
Log Message:
-----------
inmates: x86: Add SSE/AVX test inmate
Depending on availability, this inmates executes some SSE/AVX
instructions, compares the result against an expected result and exits.
Signed-off-by: Ralf Ramsauer <[email protected]>
[Jan: replaced source link for sse-demo-32.c with makefile rule]
Signed-off-by: Jan Kiszka <[email protected]>
Compare:
https://github.com/siemens/jailhouse/compare/89f09da9bf23...26561fa529d1
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/siemens/jailhouse/push/refs/heads/next/89f09d-26561f%40github.com.
For more options, visit https://groups.google.com/d/optout.