Re: [Xenomai] xenomai/ipipe arm64 port

2015-10-03 Thread Philippe Gerum
On 10/03/2015 12:01 PM, Philippe Gerum wrote: > On 10/03/2015 11:53 AM, Philippe Gerum wrote: >> >> Hi Dmitriy, >> >> On 10/02/2015 10:18 PM, Dmitriy Cherkasov wrote: >>> The following changes since commit >>> 17095784c6d3d44dc7f1512ffab9bb957e298466: >>> >>> cobalt/arm64: leave mm tracking to th

Re: [Xenomai] xenomai/ipipe arm64 port

2015-10-03 Thread Philippe Gerum
On 10/03/2015 11:53 AM, Philippe Gerum wrote: > > Hi Dmitriy, > > On 10/02/2015 10:18 PM, Dmitriy Cherkasov wrote: >> The following changes since commit >> 17095784c6d3d44dc7f1512ffab9bb957e298466: >> >> cobalt/arm64: leave mm tracking to the pipeline (2015-09-17 15:08:34 >> +0200) >> >> are av

Re: [Xenomai] xenomai/ipipe arm64 port

2015-10-03 Thread Philippe Gerum
Hi Dmitriy, On 10/02/2015 10:18 PM, Dmitriy Cherkasov wrote: > The following changes since commit > 17095784c6d3d44dc7f1512ffab9bb957e298466: > > cobalt/arm64: leave mm tracking to the pipeline (2015-09-17 15:08:34 > +0200) > > are available in the git repository at: > > http://gitlab.mper

Re: [Xenomai] xenomai/ipipe arm64 port

2015-10-02 Thread Dmitriy Cherkasov
The following changes since commit 17095784c6d3d44dc7f1512ffab9bb957e298466: cobalt/arm64: leave mm tracking to the pipeline (2015-09-17 15:08:34 +0200) are available in the git repository at: http://gitlab.mperpetuo.com/it/xenomai-3.git arm64-fp for you to fetch changes up to 37d9698b82

Re: [Xenomai] xenomai/ipipe arm64 port

2015-10-02 Thread Gilles Chanteperdrix
On Fri, Oct 02, 2015 at 12:01:42PM +0200, Gilles Chanteperdrix wrote: > On Thu, Oct 01, 2015 at 04:51:51PM -0700, Dmitriy Cherkasov wrote: > > The following changes since commit 17095784c6d3d44dc7f1512ffab9bb957e298466: > > > >cobalt/arm64: leave mm tracking to the pipeline (2015-09-17 15:08:3

Re: [Xenomai] xenomai/ipipe arm64 port

2015-10-02 Thread Gilles Chanteperdrix
On Thu, Oct 01, 2015 at 04:51:51PM -0700, Dmitriy Cherkasov wrote: > The following changes since commit 17095784c6d3d44dc7f1512ffab9bb957e298466: > >cobalt/arm64: leave mm tracking to the pipeline (2015-09-17 15:08:34 > +0200) > > are available in the git repository at: > >http://gitlab

Re: [Xenomai] xenomai/ipipe arm64 port

2015-10-01 Thread Dmitriy Cherkasov
The following changes since commit 17095784c6d3d44dc7f1512ffab9bb957e298466: cobalt/arm64: leave mm tracking to the pipeline (2015-09-17 15:08:34 +0200) are available in the git repository at: http://gitlab.mperpetuo.com/it/xenomai-3.git arm64-fp for you to fetch changes up to ef3ddd26d4

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-29 Thread Gilles Chanteperdrix
On Tue, Sep 29, 2015 at 10:14:39AM -0400, Lennart Sorensen wrote: > On Mon, Sep 28, 2015 at 04:57:28PM -0700, Dmitriy Cherkasov wrote: > > To be accurate, my answer is not "no", but more of a "not yet". > > > > My original goal is to get it working without lazy switching, then optimize > > later i

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-29 Thread Jorge Ramirez Ortiz
On 09/29/2015 01:47 PM, Gilles Chanteperdrix wrote: > On Tue, Sep 29, 2015 at 10:31:29AM -0700, Dmitriy Cherkasov wrote: >> >> >> On 09/29/2015 05:54 AM, Jorge Ramirez Ortiz wrote: >>> On 09/28/2015 08:12 PM, Gilles Chanteperdrix wrote: On Mon, Sep 28, 2015 at 04:57:28PM -0700, Dmitriy Cherkas

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-29 Thread Gilles Chanteperdrix
On Tue, Sep 29, 2015 at 10:31:29AM -0700, Dmitriy Cherkasov wrote: > > > On 09/29/2015 05:54 AM, Jorge Ramirez Ortiz wrote: > > On 09/28/2015 08:12 PM, Gilles Chanteperdrix wrote: > >> On Mon, Sep 28, 2015 at 04:57:28PM -0700, Dmitriy Cherkasov wrote: > >> Ok, this page: > >> http://infocenter.ar

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-29 Thread Dmitriy Cherkasov
On 09/29/2015 05:54 AM, Jorge Ramirez Ortiz wrote: On 09/28/2015 08:12 PM, Gilles Chanteperdrix wrote: On Mon, Sep 28, 2015 at 04:57:28PM -0700, Dmitriy Cherkasov wrote: Ok, this page: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0024a/CJHECGIH.html seems to indicate that ar

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-29 Thread Don Mahurin
On Mon, Sep 28, 2015 at 5:12 PM, Gilles Chanteperdrix < gilles.chanteperd...@xenomai.org> wrote: > On Mon, Sep 28, 2015 at 04:57:28PM -0700, Dmitriy Cherkasov wrote: > > On Sat, Sep 26, 2015 at 4:24 AM, Gilles Chanteperdrix < > > gilles.chanteperd...@xenomai.org> wrote: > > > > > > > > Ok, I feel

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-29 Thread Lennart Sorensen
On Mon, Sep 28, 2015 at 04:57:28PM -0700, Dmitriy Cherkasov wrote: > To be accurate, my answer is not "no", but more of a "not yet". > > My original goal is to get it working without lazy switching, then optimize > later if needed. > > Yes, this looks correct, and thank you for the patch. I've ap

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-29 Thread Jorge Ramirez Ortiz
On 09/28/2015 08:12 PM, Gilles Chanteperdrix wrote: > On Mon, Sep 28, 2015 at 04:57:28PM -0700, Dmitriy Cherkasov wrote: >> On Sat, Sep 26, 2015 at 4:24 AM, Gilles Chanteperdrix < >> gilles.chanteperd...@xenomai.org> wrote: >> >>> >>> Ok, I feel I have not been completely clear. There are three >>>

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-28 Thread Gilles Chanteperdrix
On Mon, Sep 28, 2015 at 04:57:28PM -0700, Dmitriy Cherkasov wrote: > On Sat, Sep 26, 2015 at 4:24 AM, Gilles Chanteperdrix < > gilles.chanteperd...@xenomai.org> wrote: > > > > > Ok, I feel I have not been completely clear. There are three > > questions: > > > > - whether every context switch shoul

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-28 Thread Dmitriy Cherkasov
On Sat, Sep 26, 2015 at 4:24 AM, Gilles Chanteperdrix < gilles.chanteperd...@xenomai.org> wrote: > > Ok, I feel I have not been completely clear. There are three > questions: > > - whether every context switch should switch the fpu context: your > answer is yes, my answer is no: simply remove the

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-26 Thread Gilles Chanteperdrix
On Fri, Sep 25, 2015 at 08:01:37PM +0200, Gilles Chanteperdrix wrote: > On Fri, Sep 25, 2015 at 10:14:14AM -0700, Dmitriy Cherkasov wrote: > > Hi Gilles, > > > > Thank you for the feedback. > > > > Yes, I saw that the armv7 design had trapped FPU usage and switched > > context then. While this i

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-25 Thread Gilles Chanteperdrix
On Fri, Sep 25, 2015 at 10:14:14AM -0700, Dmitriy Cherkasov wrote: > Hi Gilles, > > Thank you for the feedback. > > Yes, I saw that the armv7 design had trapped FPU usage and switched > context then. While this is good for performance of threads that never > use the FPU, it may introduce a one-

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-25 Thread Dmitriy Cherkasov
Hi Gilles, Thank you for the feedback. Yes, I saw that the armv7 design had trapped FPU usage and switched context then. While this is good for performance of threads that never use the FPU, it may introduce a one-time delay for threads that do, which may not be desirable in a real-time syste

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-25 Thread Gilles Chanteperdrix
On Thu, Sep 24, 2015 at 12:39:38PM -0700, Dmitriy Cherkasov wrote: > Hello, > > I've added some basic FPU support. It does not do lazy switching, since > this is not supported in the arm64 kernel yet. Xenomai only does lazy switching for the first use of FPU by a task, but then switches eagerly:

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-24 Thread Dmitriy Cherkasov
Hello, I've added some basic FPU support. It does not do lazy switching, since this is not supported in the arm64 kernel yet. I've tested it successfully with switchtest. Below is a pull request if you guys are interested in picking this up. -Dmitriy The following changes since commit 17095

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-07 Thread Philippe Gerum
On 09/02/2015 02:43 AM, Don Mahurin wrote: > ipipe - ipipe-3.14.44-arm64 > This branch is available as is, as devel/ipipe-3.14.44-arm64 in the mainline tree. Thanks, -- Philippe. ___ Xenomai mailing list Xenomai@xenomai.org http://xenomai.org/mailma

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-01 Thread Don Mahurin
On Tue, Sep 1, 2015 at 1:14 PM, Jorge Ramirez Ortiz wrote: > > > > This latency seems high for such class of hardware, especially with no > > load. We'll need the tracer to dig this too. > > > > Don mentioned that the trace is not ready yet. > I updated the branches on our server: xenomai - arm6

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-01 Thread Hongfei Cheng
On Tue, Sep 1, 2015 at 1:14 PM, Jorge Ramirez Ortiz wrote: > > Don mentioned that the trace is not ready yet. We do have the ipipe tracer patch for arm64. We've been running it on a vendor-specific platform. Will send out the patch after testing it on QEMU. Hongfei _

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-01 Thread Jorge Ramirez Ortiz
On 09/01/2015 03:30 PM, Philippe Gerum wrote: > On 09/01/2015 09:11 PM, Jorge Ramirez Ortiz wrote: >> On 09/01/2015 02:27 PM, Dmitriy Cherkasov wrote: >>> We have seen this before, but so far have not found a way to consistently >>> reproduce it. >>> >>> There are some caveats with the current way

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-01 Thread Jorge Ramirez Ortiz
>> >> Thanks Dimitry. >> I'll also try to look into this for this specific platform (however I am >> hopping >> that either Gilles or Philippe can spend some time on this soon) > > No arm64 hw here, so unless this is easily reproducible on a vm, I can > only help with code review. Did you enable

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-01 Thread Gilles Chanteperdrix
On Tue, Sep 01, 2015 at 03:11:05PM -0400, Jorge Ramirez Ortiz wrote: > On 09/01/2015 02:27 PM, Dmitriy Cherkasov wrote: > > We have seen this before, but so far have not found a way to consistently > > reproduce it. > > > > There are some caveats with the current way context switching is done in

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-01 Thread Philippe Gerum
On 09/01/2015 09:11 PM, Jorge Ramirez Ortiz wrote: > On 09/01/2015 02:27 PM, Dmitriy Cherkasov wrote: >> We have seen this before, but so far have not found a way to consistently >> reproduce it. >> >> There are some caveats with the current way context switching is done in >> Xenomai. >> >> On ar

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-01 Thread Philippe Gerum
On 09/01/2015 09:11 PM, Jorge Ramirez Ortiz wrote: > On 09/01/2015 02:27 PM, Dmitriy Cherkasov wrote: >> We have seen this before, but so far have not found a way to consistently >> reproduce it. >> >> There are some caveats with the current way context switching is done in >> Xenomai. >> >> On ar

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-01 Thread Jorge Ramirez Ortiz
On 09/01/2015 02:27 PM, Dmitriy Cherkasov wrote: > We have seen this before, but so far have not found a way to consistently > reproduce it. > > There are some caveats with the current way context switching is done in > Xenomai. > > On armv7, there was a completely separate implementation of >

Re: [Xenomai] xenomai/ipipe arm64 port

2015-09-01 Thread Jorge Ramirez Ortiz
On 08/24/2015 08:13 PM, Don Mahurin wrote: > Hi all, > > We would like to submit our current work on the arm64 port of > ipipe/xenomai. We hope that this contribution will encourage further > development of arm64 support in ipipe/xenomai. > > This port was largely developed on ipipe-3.10 as a bas

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-27 Thread Don Mahurin
On Thu, Aug 27, 2015 at 10:07 AM, Jorge Ramirez Ortiz wrote: > On 08/24/2015 08:13 PM, Don Mahurin wrote: > > Hi all, > > > > We would like to submit our current work on the arm64 port of > > ipipe/xenomai. We hope that this contribution will encourage further > > development of arm64 support in

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-27 Thread Jorge Ramirez Ortiz
On 08/24/2015 08:13 PM, Don Mahurin wrote: > Hi all, > > We would like to submit our current work on the arm64 port of > ipipe/xenomai. We hope that this contribution will encourage further > development of arm64 support in ipipe/xenomai. > > This port was largely developed on ipipe-3.10 as a bas

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-26 Thread Don Mahurin
dpkg -l gcc-aarch64-linux-gnu gcc-aarch64-linux-gnu 4:4.9.1-1 amd64 The GNU C compiler for arm64 architecture On Wed, Aug 26, 2015 at 7:40 AM, Jorge Ramirez Ortiz wrote: > On 08/24/2015 08:13 PM, Don Mahurin wrote: > > The system is built with the following commands. >

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-26 Thread Jorge Ramirez Ortiz
On 08/24/2015 08:13 PM, Don Mahurin wrote: > The system is built with the following commands. > git clone https://gitlab.mperpetuo.com/it/build-scripts.git > mkdir -p build > cd build > ../build-scripts/build_linux_emulator-arm64.sh > or > ../build-scripts/build_linux_emulator-arm64.sh --314-rc6 >

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Gilles Chanteperdrix
On Tue, Aug 25, 2015 at 04:08:07PM +0200, Philippe Gerum wrote: > On 08/25/2015 02:13 AM, Don Mahurin wrote: > > Hi all, > > > > We would like to submit our current work on the arm64 port of > > ipipe/xenomai. We hope that this contribution will encourage further > > development of arm64 support i

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Philippe Gerum
On 08/25/2015 08:05 PM, Don Mahurin wrote: > On Tue, Aug 25, 2015 at 7:08 AM, Philippe Gerum > wrote: > > This is likely because -rc7 has added checks to sched-* tests which have > time-dependent results, so they may not match the expected value in a > qemu-ba

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Jan Kiszka
On 2015-08-25 20:05, Don Mahurin wrote: >>> Smokey tests: >>> >>> 3.10/rc6 smokey tests all pass >>> 3.14/rc6 smokey tests all pass >>> 3.14/rc7 smokey tests sched-quota and sched-tp fail >>> >> >> This is likely because -rc7 has added checks to sched-* tests which have >> time-dependent results, s

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Jorge Ramirez Ortiz
On 08/25/2015 02:05 PM, Don Mahurin wrote: >>> > > >>> > > The system is built with the following commands. >>> > > git clone https://gitlab.mperpetuo.com/it/build-scripts.git >>> > > mkdir -p build >>> > > cd build >>> > > ../build-scripts/build_linux_emulator-arm64.sh >>> > > >> > >> > This went

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Jorge Ramirez Ortiz
On 08/25/2015 01:34 PM, Jan Kiszka wrote: > On 2015-08-25 19:07, Jorge Ramirez Ortiz wrote: >> On 08/25/2015 12:13 PM, Jan Kiszka wrote: >>> On 2015-08-25 17:20, Jorge Ramirez Ortiz wrote: On 08/25/2015 10:08 AM, Philippe Gerum wrote: > On 08/25/2015 02:13 AM, Don Mahurin wrote: >> Hi

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Don Mahurin
On Tue, Aug 25, 2015 at 7:08 AM, Philippe Gerum wrote: > On 08/25/2015 02:13 AM, Don Mahurin wrote: > > Hi all, > > > > We would like to submit our current work on the arm64 port of > > ipipe/xenomai. We hope that this contribution will encourage further > > development of arm64 support in ipipe/

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Jan Kiszka
On 2015-08-25 19:54, Jorge Ramirez Ortiz wrote: > On 08/25/2015 01:36 PM, Jan Kiszka wrote: >> On 2015-08-25 19:34, Jorge Ramirez Ortiz wrote: >>> On 08/25/2015 01:07 PM, Jorge Ramirez Ortiz wrote: On 08/25/2015 12:13 PM, Jan Kiszka wrote: > On 2015-08-25 17:20, Jorge Ramirez Ortiz wrote:

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Jorge Ramirez Ortiz
On 08/25/2015 01:36 PM, Jan Kiszka wrote: > On 2015-08-25 19:34, Jorge Ramirez Ortiz wrote: >> On 08/25/2015 01:07 PM, Jorge Ramirez Ortiz wrote: >>> On 08/25/2015 12:13 PM, Jan Kiszka wrote: On 2015-08-25 17:20, Jorge Ramirez Ortiz wrote: > On 08/25/2015 10:08 AM, Philippe Gerum wrote: >>

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Jan Kiszka
On 2015-08-25 19:34, Jorge Ramirez Ortiz wrote: > On 08/25/2015 01:07 PM, Jorge Ramirez Ortiz wrote: >> On 08/25/2015 12:13 PM, Jan Kiszka wrote: >>> On 2015-08-25 17:20, Jorge Ramirez Ortiz wrote: On 08/25/2015 10:08 AM, Philippe Gerum wrote: > On 08/25/2015 02:13 AM, Don Mahurin wrote: >

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Jan Kiszka
On 2015-08-25 19:07, Jorge Ramirez Ortiz wrote: > On 08/25/2015 12:13 PM, Jan Kiszka wrote: >> On 2015-08-25 17:20, Jorge Ramirez Ortiz wrote: >>> On 08/25/2015 10:08 AM, Philippe Gerum wrote: On 08/25/2015 02:13 AM, Don Mahurin wrote: > Hi all, > > We would like to submit our curr

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Jorge Ramirez Ortiz
On 08/25/2015 01:07 PM, Jorge Ramirez Ortiz wrote: > On 08/25/2015 12:13 PM, Jan Kiszka wrote: >> On 2015-08-25 17:20, Jorge Ramirez Ortiz wrote: >>> On 08/25/2015 10:08 AM, Philippe Gerum wrote: On 08/25/2015 02:13 AM, Don Mahurin wrote: > Hi all, > > We would like to submit our c

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Jorge Ramirez Ortiz
On 08/25/2015 12:13 PM, Jan Kiszka wrote: > On 2015-08-25 17:20, Jorge Ramirez Ortiz wrote: >> On 08/25/2015 10:08 AM, Philippe Gerum wrote: >>> On 08/25/2015 02:13 AM, Don Mahurin wrote: Hi all, We would like to submit our current work on the arm64 port of ipipe/xenomai. We hop

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Jan Kiszka
On 2015-08-25 17:20, Jorge Ramirez Ortiz wrote: > On 08/25/2015 10:08 AM, Philippe Gerum wrote: >> On 08/25/2015 02:13 AM, Don Mahurin wrote: >>> Hi all, >>> >>> We would like to submit our current work on the arm64 port of >>> ipipe/xenomai. We hope that this contribution will encourage further >>

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Jorge Ramirez Ortiz
On 08/25/2015 10:08 AM, Philippe Gerum wrote: > On 08/25/2015 02:13 AM, Don Mahurin wrote: >> Hi all, >> >> We would like to submit our current work on the arm64 port of >> ipipe/xenomai. We hope that this contribution will encourage further >> development of arm64 support in ipipe/xenomai. >> > >

Re: [Xenomai] xenomai/ipipe arm64 port

2015-08-25 Thread Philippe Gerum
On 08/25/2015 02:13 AM, Don Mahurin wrote: > Hi all, > > We would like to submit our current work on the arm64 port of > ipipe/xenomai. We hope that this contribution will encourage further > development of arm64 support in ipipe/xenomai. > arm64 support is definitely a high priority item. Thanks

[Xenomai] xenomai/ipipe arm64 port

2015-08-24 Thread Don Mahurin
Hi all, We would like to submit our current work on the arm64 port of ipipe/xenomai. We hope that this contribution will encourage further development of arm64 support in ipipe/xenomai. This port was largely developed on ipipe-3.10 as a base, so it is likely to be the most well tested there. Thou