Re: Running ivshmem-demo in Jetson TK1.

2018-03-12 Thread jonas
Den fredag 9 mars 2018 kl. 09:10:12 UTC+1 skrev Claudio Scordino: > Hi Jonas, > > > 2017-12-10 17:34 GMT+01:00 jonas : > Hi, > > > > I'll be making an effort to contribute my work to the master branch of > Jailhouse within the next couple of weeks. > > > > If I'm not

Re: Running ivshmem-demo in Jetson TK1.

2018-03-09 Thread Claudio Scordino
Hi Jonas, 2017-12-10 17:34 GMT+01:00 jonas : > Hi, > > I'll be making an effort to contribute my work to the master branch of > Jailhouse within the next couple of weeks. > If I'm not wrong, those patches were not eventually upstreamed. Do you still plan to upstream them ?

Re: Running ivshmem-demo in Jetson TK1.

2017-12-22 Thread Luca Cuomo
Il giorno venerdì 22 dicembre 2017 12:54:52 UTC+1, jonas ha scritto: > Den fredag 22 december 2017 kl. 10:32:12 UTC+1 skrev Luca Cuomo: > > Il giorno giovedì 21 dicembre 2017 23:47:39 UTC+1, jonas ha scritto: > > > Den torsdag 21 december 2017 kl. 17:24:30 UTC+1 skrev Jan Kiszka: > > > > On

Re: Running ivshmem-demo in Jetson TK1.

2017-12-22 Thread jonas
Den fredag 22 december 2017 kl. 10:32:12 UTC+1 skrev Luca Cuomo: > Il giorno giovedì 21 dicembre 2017 23:47:39 UTC+1, jonas ha scritto: > > Den torsdag 21 december 2017 kl. 17:24:30 UTC+1 skrev Jan Kiszka: > > > On 2017-12-21 16:32, Luca Cuomo wrote: > > > > Il giorno giovedì 21 dicembre 2017

Re: Running ivshmem-demo in Jetson TK1.

2017-12-22 Thread Luca Cuomo
Il giorno giovedì 21 dicembre 2017 23:47:39 UTC+1, jonas ha scritto: > Den torsdag 21 december 2017 kl. 17:24:30 UTC+1 skrev Jan Kiszka: > > On 2017-12-21 16:32, Luca Cuomo wrote: > > > Il giorno giovedì 21 dicembre 2017 14:19:48 UTC+1, Jan Kiszka ha scritto: > > >> On 2017-12-21 10:05, Luca Cuomo

Re: Running ivshmem-demo in Jetson TK1.

2017-12-22 Thread jonas
Den torsdag 21 december 2017 kl. 23:47:39 UTC+1 skrev jonas: > Den torsdag 21 december 2017 kl. 17:24:30 UTC+1 skrev Jan Kiszka: > > On 2017-12-21 16:32, Luca Cuomo wrote: > > > Il giorno giovedì 21 dicembre 2017 14:19:48 UTC+1, Jan Kiszka ha scritto: > > >> On 2017-12-21 10:05, Luca Cuomo wrote:

Re: Running ivshmem-demo in Jetson TK1.

2017-12-21 Thread jonas
Den torsdag 21 december 2017 kl. 17:24:30 UTC+1 skrev Jan Kiszka: > On 2017-12-21 16:32, Luca Cuomo wrote: > > Il giorno giovedì 21 dicembre 2017 14:19:48 UTC+1, Jan Kiszka ha scritto: > >> On 2017-12-21 10:05, Luca Cuomo wrote: > >>> Il giorno domenica 10 dicembre 2017 17:34:24 UTC+1, jonas ha

Re: Running ivshmem-demo in Jetson TK1.

2017-12-21 Thread Jan Kiszka
On 2017-12-21 16:32, Luca Cuomo wrote: > Il giorno giovedì 21 dicembre 2017 14:19:48 UTC+1, Jan Kiszka ha scritto: >> On 2017-12-21 10:05, Luca Cuomo wrote: >>> Il giorno domenica 10 dicembre 2017 17:34:24 UTC+1, jonas ha scritto: Hi, I'll be making an effort to contribute my work

Re: Running ivshmem-demo in Jetson TK1.

2017-12-21 Thread Luca Cuomo
Il giorno giovedì 21 dicembre 2017 14:19:48 UTC+1, Jan Kiszka ha scritto: > On 2017-12-21 10:05, Luca Cuomo wrote: > > Il giorno domenica 10 dicembre 2017 17:34:24 UTC+1, jonas ha scritto: > >> Hi, > >> > >> I'll be making an effort to contribute my work to the master branch of > >> Jailhouse

Re: Running ivshmem-demo in Jetson TK1.

2017-12-21 Thread Jan Kiszka
On 2017-12-21 10:05, Luca Cuomo wrote: > Il giorno domenica 10 dicembre 2017 17:34:24 UTC+1, jonas ha scritto: >> Hi, >> >> I'll be making an effort to contribute my work to the master branch of >> Jailhouse within the next couple of weeks. >> >> /Jonas >> >> Den fredag 8 december 2017 kl.

Re: Running ivshmem-demo in Jetson TK1.

2017-12-21 Thread Luca Cuomo
Il giorno domenica 10 dicembre 2017 17:34:24 UTC+1, jonas ha scritto: > Hi, > > I'll be making an effort to contribute my work to the master branch of > Jailhouse within the next couple of weeks. > > /Jonas > > Den fredag 8 december 2017 kl. 06:47:33 UTC+1 skrev Constantin Petra: > > Hi, > >

Re: Running ivshmem-demo in Jetson TK1.

2017-12-07 Thread Constantin Petra
Hi, I'm resending the patch(es) that were shared by Jonas a while ago. Best Regards, Constantin On Thu, Dec 7, 2017 at 10:08 PM, Henning Schild wrote: > Hi Claudio, > > Am Thu, 7 Dec 2017 17:29:45 +0100 > schrieb Claudio Scordino : > > > Hi

Re: Running ivshmem-demo in Jetson TK1.

2017-12-07 Thread Henning Schild
Hi Claudio, Am Thu, 7 Dec 2017 17:29:45 +0100 schrieb Claudio Scordino : > Hi guys, > > 2017-08-09 15:23 GMT+02:00 Henning Schild > : > > > Hey, > > > > unfortunately Jonas never published his overall changes, maybe now > > he understands

Re: Running ivshmem-demo in Jetson TK1.

2017-12-07 Thread Claudio Scordino
Hi guys, 2017-08-09 15:23 GMT+02:00 Henning Schild : > Hey, > > unfortunately Jonas never published his overall changes, maybe now he > understands why i kindly asked him to do so. > I think Jonas maybe ran into every single problem one could encounter > on the way,

Re: Running ivshmem-demo in Jetson TK1.

2017-08-10 Thread Jan Kiszka
On 2017-08-10 08:33, Constantin Petra wrote: > Hi, > > Thanks for the information, I have been looking more into this thread. > For my understanding: > Is the pci_(read/write)_config() access using MMIO from guest ARM side > supposed to access .pci_mmconfig_base address (0xfc00 for zcu102, >

Re: Running ivshmem-demo in Jetson TK1.

2017-08-10 Thread Constantin Petra
Hi, Thanks for the information, I have been looking more into this thread. For my understanding: Is the pci_(read/write)_config() access using MMIO from guest ARM side supposed to access .pci_mmconfig_base address (0xfc00 for zcu102, which I see it being "reserved memory" in the Ultrascale+

Re: Running ivshmem-demo in Jetson TK1.

2017-08-09 Thread Henning Schild
Hey, unfortunately Jonas never published his overall changes, maybe now he understands why i kindly asked him to do so. I think Jonas maybe ran into every single problem one could encounter on the way, so if you read the thread you will probably be able to come up with a similar patch at some

Re: Running ivshmem-demo in Jetson TK1.

2017-08-08 Thread Constantin Petra
Hi, Sorry to pick this up after this time, but I would be interested in the pci.c modifications related to ARM for inmates (using MMIO instead of PIO). Was there a follow-up to the discussions above?(checked out the discussion archives but I can't find any). I would like to avoid re-inventing

Re: Running ivshmem-demo in Jetson TK1.

2017-05-19 Thread Henning Schild
Am Fri, 19 May 2017 07:15:17 -0700 schrieb jonas : > Den fredag 19 maj 2017 kl. 13:13:15 UTC+2 skrev Henning Schild: > > Am Fri, 19 May 2017 03:22:05 -0700 > > schrieb jonas : > > > > > Den fredag 19 maj 2017 kl. 11:22:06 UTC+2 skrev Henning Schild: > >

Re: Running ivshmem-demo in Jetson TK1.

2017-05-19 Thread Henning Schild
Hey, i think you should talk to Jonas because he is almost there. Maybe you guys can exchange code. If you are not subscribed check out the archive to read what happened. http://jailhouse-dev.narkive.com/ Henning Am Fri, 19 May 2017 06:40:32 -0700 schrieb Hari Krishnan :

Re: Running ivshmem-demo in Jetson TK1.

2017-05-19 Thread Hari Krishnan
Hi there, Sorry for asking a question that is regarding the porting of ivshmem-demo.c. As mentioned, I was trying to replicate pci.c for the arm and I am facing some issues. I have converted the pci_read_config() and pci_write_config() using mmio. I have used Code that is similar to that can

Re: Running ivshmem-demo in Jetson TK1.

2017-05-19 Thread Henning Schild
Am Fri, 19 May 2017 03:22:05 -0700 schrieb jonas : > Den fredag 19 maj 2017 kl. 11:22:06 UTC+2 skrev Henning Schild: > > Am Thu, 18 May 2017 14:42:20 -0700 > > schrieb jonas : > > > > > > > > > > > Hi again, > > > > > > > > > > Let's assume that I

Re: Running ivshmem-demo in Jetson TK1.

2017-05-19 Thread jonas
Den fredag 19 maj 2017 kl. 11:22:06 UTC+2 skrev Henning Schild: > Am Thu, 18 May 2017 14:42:20 -0700 > schrieb jonas : > > > > > > > > Hi again, > > > > > > > > Let's assume that I want to modify > > > > jailhouse/inmates/demos/arm/gic-demo.c to also handle ivshmem > > > >

Re: Running ivshmem-demo in Jetson TK1.

2017-05-19 Thread Henning Schild
Am Thu, 18 May 2017 14:42:20 -0700 schrieb jonas : > > > > > Hi again, > > > > > > Let's assume that I want to modify > > > jailhouse/inmates/demos/arm/gic-demo.c to also handle ivshmem > > > interrupts generated by the hypervisor to the bare-metal cell when > > > writing

Re: Running ivshmem-demo in Jetson TK1.

2017-05-18 Thread jonas
> > > Hi again, > > > > Let's assume that I want to modify > > jailhouse/inmates/demos/arm/gic-demo.c to also handle ivshmem > > interrupts generated by the hypervisor to the bare-metal cell when > > writing the virtual PCI driver config area using uio_ivshmem/uio_send > > in the root-cell. > >

Re: Running ivshmem-demo in Jetson TK1.

2017-05-17 Thread jonas
Hi again, Let's assume that I want to modify jailhouse/inmates/demos/arm/gic-demo.c to also handle ivshmem interrupts generated by the hypervisor to the bare-metal cell when writing the virtual PCI driver config area using uio_ivshmem/uio_send in the root-cell. The first thing I would have to

Re: Running ivshmem-demo in Jetson TK1.

2017-05-17 Thread Henning Schild
Am Wed, 17 May 2017 04:54:07 -0700 schrieb jonas : > > > > > You do not need to know the number, the uio-driver knows it. > > > > > And the bare metal inmate does not need to know it since it > > > > > is just writing to a register to trigger it. > > > > > It looks like it is

Re: Running ivshmem-demo in Jetson TK1.

2017-05-17 Thread jonas
Den onsdag 17 maj 2017 kl. 13:54:07 UTC+2 skrev jonas: > > > > > You do not need to know the number, the uio-driver knows it. And > > > > > the bare metal inmate does not need to know it since it is just > > > > > writing to a register to trigger it. > > > > > It looks like it is working. After

Re: Running ivshmem-demo in Jetson TK1.

2017-05-17 Thread Jan Kiszka
On 2017-05-17 13:54, jonas wrote: > You do not need to know the number, the uio-driver knows it. And > the bare metal inmate does not need to know it since it is just > writing to a register to trigger it. > It looks like it is working. After loading the driver you should > see

Re: Running ivshmem-demo in Jetson TK1.

2017-05-17 Thread jonas
> > > > You do not need to know the number, the uio-driver knows it. And > > > > the bare metal inmate does not need to know it since it is just > > > > writing to a register to trigger it. > > > > It looks like it is working. After loading the driver you should > > > > see a new entry in

Re: Running ivshmem-demo in Jetson TK1.

2017-05-17 Thread Henning Schild
Am Wed, 17 May 2017 12:45:19 +0200 schrieb "[ext] Henning Schild" : > Am Wed, 17 May 2017 02:13:24 -0700 > schrieb jonas : > > > Den tisdag 16 maj 2017 kl. 16:54:35 UTC+2 skrev Henning Schild: > > > You do not need to know the number, the

Re: Running ivshmem-demo in Jetson TK1.

2017-05-17 Thread Henning Schild
Am Wed, 17 May 2017 02:13:24 -0700 schrieb jonas : > Den tisdag 16 maj 2017 kl. 16:54:35 UTC+2 skrev Henning Schild: > > You do not need to know the number, the uio-driver knows it. And the > > bare metal inmate does not need to know it since it is just writing > > to a

Re: Running ivshmem-demo in Jetson TK1.

2017-05-17 Thread jonas
Den tisdag 16 maj 2017 kl. 16:54:35 UTC+2 skrev Henning Schild: > You do not need to know the number, the uio-driver knows it. And the > bare metal inmate does not need to know it since it is just writing to > a register to trigger it. > It looks like it is working. After loading the driver you

Re: Running ivshmem-demo in Jetson TK1.

2017-05-16 Thread Henning Schild
Am Mon, 8 May 2017 14:46:14 -0700 schrieb jonas : > > Needs to be 0 for INTx operation. > > OK, when I remove '.num_msix_vectors = 1' from the root cell > configuration, I can see the following in '/var/log/messages': > [ 69.760313] PCI host bridge //vpci@0 ranges: [

Re: Running ivshmem-demo in Jetson TK1.

2017-05-05 Thread Jan Kiszka
On 2017-05-05 15:02, jonas wrote: > Hi, > > I'm also experimenting with ivshmem between the root-cell and a > bare metal cell. In my case, however, on BananaPi M1. > > Could you elaborate on modifying the functions > pci_(read|write)_config to use mmio instead of pio?

Re: Running ivshmem-demo in Jetson TK1.

2017-05-05 Thread jonas
Den tisdag 2 maj 2017 kl. 18:12:04 UTC+2 skrev J. Kiszka: > On 2017-05-02 17:35, Jonas Westaker wrote: > >>> Hi, > >>> > >>> I'm also experimenting with ivshmem between the root-cell and a bare > >>> metal cell. In my case, however, on BananaPi M1. > >>> > >>> Could you elaborate on modifying the

Re: Running ivshmem-demo in Jetson TK1.

2017-05-05 Thread jonas
> > > > Hi, > > > > > > > > I'm also experimenting with ivshmem between the root-cell and a > > > > bare metal cell. In my case, however, on BananaPi M1. > > > > > > > > Could you elaborate on modifying the functions > > > > pci_(read|write)_config to use mmio instead of pio? > > > > > > > > I

Re: Running ivshmem-demo in Jetson TK1.

2017-05-03 Thread Henning Schild
Am Tue, 2 May 2017 08:35:25 -0700 schrieb Jonas Westaker : > > > Hi, > > > > > > I'm also experimenting with ivshmem between the root-cell and a > > > bare metal cell. In my case, however, on BananaPi M1. > > > > > > Could you elaborate on modifying the functions > > >

Re: Running ivshmem-demo in Jetson TK1.

2017-05-02 Thread Jan Kiszka
On 2017-05-02 17:35, Jonas Westaker wrote: >>> Hi, >>> >>> I'm also experimenting with ivshmem between the root-cell and a bare >>> metal cell. In my case, however, on BananaPi M1. >>> >>> Could you elaborate on modifying the functions >>> pci_(read|write)_config to use mmio instead of pio? >>>

Re: Running ivshmem-demo in Jetson TK1.

2017-04-28 Thread Jan Kiszka
On 2017-04-27 17:31, Henning Schild wrote: > Am Thu, 27 Apr 2017 07:44:56 -0700 > schrieb jonas : > Hi, Thanks for the reply. So as you said, 1)I've augmented the jetson-tk1-demo.c config with an ivshmem device and a shared mem region, using to

Re: Running ivshmem-demo in Jetson TK1.

2017-04-27 Thread jonas
> > Hi, > > Thanks for the reply. > > So as you said, > > 1)I've augmented the jetson-tk1-demo.c config with an ivshmem device > > and a shared mem region, using to configs/jetson-tk1-linux-demo.c as > > reference. > > > > 2)I replicated the ivshmem-demo from x86 to inmates/demos/arm and > >

Re: Running ivshmem-demo in Jetson TK1.

2017-04-26 Thread Hari Krishnan
Hi, Thanks for the reply. So as you said, 1)I've augmented the jetson-tk1-demo.c config with an ivshmem device and a shared mem region, using to configs/jetson-tk1-linux-demo.c as reference. 2)I replicated the ivshmem-demo from x86 to inmates/demos/arm and hooked it up in the Makefile I tried to

Re: Running ivshmem-demo in Jetson TK1.

2017-04-20 Thread Jan Kiszka
On 2017-04-20 18:19, Hari Krishnan wrote: >> Before going into details here, let me ask you what your goals are: Is >> the purpose to understand the details or more to achieve a certain >> functionality? Do you want to establish a low-level ivshmem link between >> the root cell and some bare-metal

Re: Running ivshmem-demo in Jetson TK1.

2017-04-20 Thread Hari Krishnan
> Before going into details here, let me ask you what your goals are: Is > the purpose to understand the details or more to achieve a certain > functionality? Do you want to establish a low-level ivshmem link between > the root cell and some bare-metal or a non-Linux OS in a non-root cell? > Or

Re: Running ivshmem-demo in Jetson TK1.

2017-04-18 Thread Jan Kiszka
On 2017-04-18 14:41, Hari Krishnan wrote: > Hi, > Thanks for the reply. > > I am a newbie and am still unclear of how to exactly run ivshmem-demo which > is available in inmates->demos->x86. > > According to the documentation for inter-cell communication, "You can go > ahead and connect two