link to its gcov lib.
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/.gitignore b/.gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@
*.cmd
*.bin
*.gcno
+*.gcda
.tmp_versions
*.dtb
*.dtb.S
@@ -14,6 +15,7 @@
hypervisor/include/jailhouse/config.h
hype
.
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/driver/main.c b/driver/main.c
--- a/driver/main.c
+++ b/driver/main.c
@@ -419,6 +419,7 @@
header = (struct jailhouse_header *)hypervisor_mem;
header->max_cpus = max_cpus;
+ header->jailhouse_
If the root-cell kernel is built with GCOV (CONFIG_GCOV_PROFILE_ALL)
kbuild will build everything with GCOV support. For the driver it is
ok to inherit that, but for out of kernel parts like hypervisor,
tools, inmates it is not.
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/driver/main.c b/driver/main.c
--- a/driver/main.c
+++ b/driver/main.c
@@ -274,6 +274,14 @@
return ret;
}
+static void jailhouse_firmware_free(void)
+{
+ if (hypervisor_mem) {
+
We used to unmap the firmware image right after "jailhouse disable".
Change that and keep the firmware mapped until we exit the module or
restart jailhouse. This way we can look into the firmware that just ran.
This will be used by later patches.
Signed-off-by: Henning Schild &l
For consistency and to cater for a following patch.
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/inmates/lib/x86/Makefile b/inmates/lib/x86/Makefile
--- a/inmates/lib/x86/Makefile
+++ b/inmates/lib/x86/Makefile
@@ -10,6 +10,8 @@
# the COPYING file in the top
Make the "used, dirty" firmware image visible in sysfs. The data segment
contains data that could be useful for all sorts of debugging tools.
This feature is introduced to extract code coverage information (gcov).
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
dif
Hi,
for safety certification we need code coverage information from the
hypervisor. The first open tool/format of choice in this area is gcov.
The way gcov works is that you simply compile and link your code with
"--coverage". In the compile step gcc will automatically add
instrumentation for
fixes: f0c99e2a5e8f
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/hypervisor/setup.c b/hypervisor/setup.c
--- a/hypervisor/setup.c
+++ b/hypervisor/setup.c
@@ -76,7 +76,6 @@
hyp_phys_start = system_config->hypervisor_memory.phys_start;
hyp
On Tue, 7 Feb 2017 18:11:05 +0100
Jan Kiszka <jan.kis...@siemens.com> wrote:
> On 2017-02-07 13:32, Henning Schild wrote:
> > If the root-cell kernel is built with GCOV (CONFIG_GCOV_PROFILE_ALL)
> > kbuild will build everything with GCOV support. For the driver it
fferent tools).
Well this one would be gcc itself depending on your kernel-config. If
you have CONFIG_GCOV_PROFILE_ALL activated a simple "make" will create
such files for you.
> On 07.02.2017 21:32, Henning Schild wrote:
> > Signed-off-by: Henning Schild <henning.sch...@sie
If the root-cell kernel is built with GCOV (CONFIG_GCOV_PROFILE_ALL)
kbuild will build everything with GCOV support. For the driver it is
ok to inherit that, but for out of kernel parts like hypervisor,
tools, inmates it is not.
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/.gitignore b/.gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
*.mod.[co]
*.cmd
*.bin
+*.gcno
.tmp_versions
*.dtb
*.dtb.S
--
You received this message because you are subscribed to the Google
On Thu, 2 Feb 2017 18:36:59 +0100
Jan Kiszka wrote:
> On 2017-02-02 18:17, Ralf Ramsauer wrote:
> > Hi,
> >
> > upstream Linux commit 3277953 (mm: do not export ioremap_page_range
> > symbol for external module) unexports the ioremap_page_range symbol,
> > which we need
- introduce BASE_OFFSET and replace some magic values
- add comments to point people to related docs
- introduce setters for rw values of x86 boot header
- easier to read/maintain than struct.pack_into
- only rw values can be changed, for ro we do not have code
Signed-off-by: Henning Schild
Am Thu, 5 Jan 2017 10:46:42 +0100
schrieb Jan Kiszka <jan.kis...@siemens.com>:
> On 2017-01-05 10:09, Henning Schild wrote:
> > Am Thu, 5 Jan 2017 00:06:10 +0100
> > schrieb Jan Kiszka <jan.kis...@siemens.com>:
> >
> >> On 2017-01-04 19:03, Henning
Am Thu, 5 Jan 2017 00:06:10 +0100
schrieb Jan Kiszka <jan.kis...@siemens.com>:
> On 2017-01-04 19:03, Henning Schild wrote:
> > The kernel is copied to its preferred address which seems to
> > be 16MB in most cases. With the comm region in low memory
> > we can
;
>
> > Btw.: Your cell config is missing the comm region
>
>
>
> I've updated the cell config. Thanks !
>
So your non-root Linux comes up as expected?
Henning
>
>
> From: Henning Schild <henning.sch...@siemens.com&g
t;
> That's good to know, Jan.
>
>
>
>
>
> From: Jan Kiszka <jan.kis...@siemens.com>
> Sent: Wednesday, January 4, 2017 12:23:37 PM
> To: Vaidyanath, Rajiv; Henning Schild; jailhouse-dev@googlegroups.com
> Subject: Re:
The kernel is copied to its preferred address which seems to
be 16MB in most cases. With the comm region in low memory
we can had a limit on 14MB initrds. Placing the ramdisk behind
the kernel adds consistency with ARM and gives us address
space for bigger ramdisks.
Signed-off-by: Henning Schild
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/tools/jailhouse-cell-linux b/tools/jailhouse-cell-linux
--- a/tools/jailhouse-cell-linux
+++ b/tools/jailhouse-cell-linux
@@ -258,7 +258,7 @@
self.params = self._zero_page.get_data() + setu
Match the device class and "protocol" while probing and skip unknow
devices.
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/inmates/demos/x86/ivshmem-demo.c b/inmates/demos/x86/ivshmem-demo.c
--- a/inmates/demos/x86/ivshmem-demo.c
+++ b/inmates/demos/x8
Match the device class and "protocol" while probing and skip unknow
devices.
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/inmates/demos/x86/ivshmem-demo.c b/inmates/demos/x86/ivshmem-demo.c
--- a/inmates/demos/x86/ivshmem-demo.c
+++ b/inmates/demos/x8
Am Wed, 30 Nov 2016 18:19:27 +0100
schrieb Jan Kiszka <jan.kis...@siemens.com>:
> On 2016-11-30 17:50, Henning Schild wrote:
> > Since 3e970ab533c4 we can specify a protocol to run on the ivshmem
> > channel. This patch considers a protocol mismatch between the two
> >
Since 3e970ab533c4 we can specify a protocol to run on the ivshmem channel.
This patch considers a protocol mismatch between the two endpoints a
configuration error and does not connect them to each other.
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/Documen
Match the device class and "protocol" while probing and skip unknow
devices.
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/inmates/demos/x86/ivshmem-demo.c b/inmates/demos/x86/ivshmem-demo.c
--- a/inmates/demos/x86/ivshmem-demo.c
+++ b/inmates/demos/x8
Am Mon, 28 Nov 2016 03:24:50 -0800
schrieb Josiah Payn <josiah.p...@gmail.com>:
> On Monday, November 28, 2016 at 5:22:47 PM UTC+8, Henning Schild
> wrote:
> > Am Fri, 25 Nov 2016 09:47:36 -0800
> > schrieb Josiah Payn <josiah.p...@gmail.com>:
> >
> >
Am Fri, 25 Nov 2016 09:47:36 -0800
schrieb Josiah Payn <josiah.p...@gmail.com>:
> On Friday, November 25, 2016 at 11:16:30 PM UTC+8, Henning Schild
> wrote:
> > Hi,
> >
> > linux-x86-demo.c line 26 ...:
> > > struct jailhouse_pci_device pci_devices[
Am Tue, 22 Nov 2016 16:34:03 +0100
schrieb Jan Kiszka <jan.kis...@siemens.com>:
> On 2016-11-22 16:22, Henning Schild wrote:
> > Am Mon, 21 Nov 2016 13:17:25 +0100
> > schrieb Jan Kiszka <jan.kis...@siemens.com>:
> >
> >> Those scripts should go
Am Fri, 18 Nov 2016 14:28:13 +0100
schrieb Ralf Ramsauer <r...@ramses-pyramidenbau.de>:
> On 11/18/2016 02:17 PM, Henning Schild wrote:
> > Am Fri, 18 Nov 2016 13:32:09 +0100
> > schrieb <andreas.koe...@st.oth-regensburg.de>:
> >
> >> From: Andreas Köl
Am Thu, 17 Nov 2016 11:59:04 +0100
schrieb Claudio Scordino :
> This patch adds a section to the FAQ to specify the minimal version of
> the Linux kernel required under each architecture.
>
> Signed-off-by: Claudio Scordino
> ---
> FAQ.md | 9
-function.
Reported-by: Koehrer Mathias (ETAS/ESW5) <mathias.koeh...@etas.com>
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/driver/pci.c b/driver/pci.c
--- a/driver/pci.c
+++ b/driver/pci.c
@@ -11,16 +11,38 @@
* the COPYING file in the top-lev
-function.
Reported-by: Koehrer Mathias (ETAS/ESW5) <mathias.koeh...@etas.com>
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/driver/pci.c b/driver/pci.c
--- a/driver/pci.c
+++ b/driver/pci.c
@@ -11,16 +11,45 @@
* the COPYING file in the top-lev
-function.
Reported-by: Koehrer Mathias (ETAS/ESW5) <mathias.koeh...@etas.com>
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
diff --git a/driver/pci.c b/driver/pci.c
--- a/driver/pci.c
+++ b/driver/pci.c
@@ -11,16 +11,32 @@
* the COPYING file in the top-lev
Am Fri, 11 Nov 2016 13:34:12 +
schrieb "Koehrer Mathias (ETAS/ESW5)" :
> Hi all,
>
> I am doing some experiments using jailhouse...
> In my x86 PC I have a dual network adapter (PCIe, Intel i350, driver:
> igb). This is reflected as two PCIe devices.
> For test
Am Thu, 10 Nov 2016 09:29:05 +
schrieb "Koehrer Mathias (ETAS/ESW5)" :
> Viele Grüße
>
> Mathias
>
> Hi Henning,
>
> > > A general questions on the root cell configuration:
> > > If I understand this correctly, this configuration has to reflect
> > > the full
othing official,
> > just a natural local choice.
> >
> > CC: Henning Schild <henning.sch...@siemens.com>
> > CC: Måns Rullgård <m...@denx.de>
> > Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
> > ---
> > hypervisor/pci_ivshmem.
Am Wed, 9 Nov 2016 15:10:36 +0100
schrieb Jan Kiszka <jan.kis...@siemens.com>:
> On 2016-11-09 15:02, Henning Schild wrote:
> > Am Wed, 9 Nov 2016 13:07:17 +
> > schrieb Mans Rullgard <m...@mansr.com>:
> >
> >> This adds a register p
Am Wed, 9 Nov 2016 15:39:39 +0100
schrieb Henning Schild <henning.sch...@siemens.com>:
> Am Wed, 9 Nov 2016 14:19:16 +
> schrieb "Koehrer Mathias (ETAS/ESW5)" <mathias.koeh...@etas.com>:
>
> > Hi Henning!
> >
> > > > # grep ivs
Am Wed, 9 Nov 2016 14:19:16 +
schrieb "Koehrer Mathias (ETAS/ESW5)" :
> Hi Henning!
>
> > > # grep ivshmem /proc/interrupts
> > > 61: 0 0 0 0 0
> > > 0 0 IR-PCI-MSI 245760-edge ivshmem-config
> > >
> > > No
Am Wed, 9 Nov 2016 13:37:18 +
schrieb "Koehrer Mathias (ETAS/ESW5)" :
> Hi all!
>
> Sorry for asking many questions...
> >
> > Did you check out the jailhouse branch?
> No - I used the master branch.
>
> Now I switched to the jailhouse branch.
> This looks
Am Wed, 9 Nov 2016 13:07:17 +
schrieb Mans Rullgard :
> This adds a register pair allowing inmate drivers to communicate their
> status, for instance to trigger a protocol reset when (re)loading the
> inmate in one of the cells.
>
> Signed-off-by: Mans Rullgard
Hey,
you basically put a memory region with the same phys_start and size in
the root-cell and non-root cell. If the sharing should happen between
root and non-root you need the JAILHOUSE_MEM_ROOTSHARED memory flag,
for two non-root cells that is not required.
I suggest you base your work on the
Am Mon, 7 Nov 2016 16:04:07 +0100
schrieb Jan Kiszka :
> On 2016-11-07 13:35, josiah.p...@gmail.com wrote:
> > Hi Jan,
> >
> > Thank you for your advice. I was able to run a non-root linux cell
> > using v4.8.0 as host kernel and using a v4.8.6 kernel for the guest
> >
Am Wed, 26 Oct 2016 17:32:56 +0200
schrieb Claudio Scordino :
> Hi all,
>
> is there any minimal kernel release for building/running Jailhouse ?
>
> The README is quite generic, talking about 3.9 (for Qemu) and 3.14.
>
> In the source code, however, I noticed a call to
Am Tue, 4 Oct 2016 15:10:31 +0200
schrieb Ralf Ramsauer :
> Hi,
>
> On 10/04/2016 02:49 PM, Jan Kiszka wrote:
> > On 2016-10-04 14:43, Ralf Ramsauer wrote:
> >> Hi,
> >>
> >> this patch gives me an idea:
> >>
> >> Why don't we just mark a dedicated memory region as
The n += 1, to skip a line in the 64bit case, never had an effect.
Change the iterator so it can be manipulated like that.
Fixes: d1f763162ce6 ("core, tools: Add BAR masks to
jailhouse_pci_device")
Signed-off-by: Henning Schild <henning.sch...@siemens.com>
---
tools/jailhouse-c
Am Tue, 9 Aug 2016 04:10:13 -0400
schrieb charles king <huddy1...@gmail.com>:
> Hi,
> Henning Schild.
>
> 2016-07-25 4:28 GMT-04:00 Henning Schild <henning.sch...@siemens.com>:
>
> > Am Sun, 24 Jul 2016 09:58:05 +0800
> > schrieb charles kin
Am Thu, 4 Aug 2016 21:28:14 +0200
schrieb Ralf Ramsauer :
> Check if file size is not zero and check the return value of close()
> as it might fail, though it's very unlikely.
>
> Signed-off-by: Ralf Ramsauer
> ---
> tools/jailhouse.c |
Am Sun, 31 Jul 2016 10:39:39 +0200
schrieb Jan Kiszka :
> Besides config updates and some cleanups, this series comes with two
> major changes.
>
> The most user visible one is demanding VT-d support. QEMU 2.7 is
> currently in -rc and will deliver all features we need to run
Am Sun, 24 Jul 2016 09:58:05 +0800
schrieb charles king <huddy1...@gmail.com>:
> Hi,
> Henning Schild, you mean the bitmask should defined like:
>
> ALL_ALIGNED = ALIGNED_T and ALIGNED_H
"or" not "and"
> ALIGNED_T = 1
> ALIGNED_H = 2
&
Good to see that work on these patches is still ongoing! The result
looks good, i did not test it yet. But the code still needs some work.
For now just one comment after looking at the patches.
Am Wed, 20 Jul 2016 16:29:20 +0800
schrieb Xuguo Wang :
> Abstract the common
Your patches apply but introduce pep8 violations again.
Am Wed, 20 Jul 2016 16:29:19 +0800
schrieb Xuguo Wang :
> ***
> v7:
> - fix merge conflicts.
> - remove cosmetic fixes
> - refactor docstrings style
> ***
>
> Xuguo Wang
301 - 353 of 353 matches
Mail list logo