All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: mfornero@aanddtech.com
Cc: Xenomai@xenomai.org
Subject: Re: [Xenomai] Porting Ipipe to new ARM SoC (Xilinx Zynq)
Date: Wed, 13 Feb 2013 20:44:39 +0100	[thread overview]
Message-ID: <511BED27.7010004@xenomai.org> (raw)
In-Reply-To: <OF7193B3EB.20F44A56-ON85257B11.006195D9-85257B11.0062A0F5@aanddtech.com>

On 02/13/2013 06:57 PM, mfornero@aanddtech.com wrote:

> Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote on
> 02/10/2013 09:23:22 AM:
>> Hi Stefan, Matthew,
>>
>> I do not know if you managed to get the I-pipe working on Zynq.
>> You may have missed it, but it may be very important for debugging the
>> issues you encounter with the I-pipe port on Zynq, printk from primary
>> domain in I-pipe patches for Linux 3.4 and 3.5 does not work. So, if
>> you are debugging with printk, it may lead you to false conclusions.
>> You should apply the following patch (it has been pushed in the
>> for-core-3.5.7 branch of the ipipe-gch git):
>>
>> diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
>> index 3b86167..f77ef11 100644
>> --- a/arch/arm/kernel/smp.c
>> +++ b/arch/arm/kernel/smp.c
>> @@ -440,7 +440,7 @@ void __ipipe_ipis_alloc(void)
>>        return;
>>  
>>     /* __ipipe_first_ipi is 0 here  */
>> -   ipi_nr = IPI_IPIPE_FIRST + IPIPE_LAST_IPI;
>> +   ipi_nr = IPI_IPIPE_FIRST + IPIPE_LAST_IPI + 1;
>>  
>>     for (virq = IPIPE_IPI_BASE; virq < IPIPE_IPI_BASE + ipi_nr; virq++) {
>>        _virq = ipipe_alloc_virq();
>>
> 
> Hi All,
> 
> It seems that the issues I was having with using the twd as a clockevent
> were related to my defconfig.
> Comparing mine with Stefan's revealed a few key differences, some of
> which were likely fatal. After making the following changes,
> I am able to run using the twd for the clockevent instead of the xttcps:
> 
> CONFIG_NO_HZ=n
> CONFIG_HOTPLUG_CPU=n


These two ones should be harmless

> CONFIG_CPU_FREQ=n


This one is definitely not harmless is you select another cpufreq
governor than "performance".

> CONFIG_MPCORE_WATCHDOG=n


I do not know about this one.
-- 
                                                                Gilles.


  parent reply	other threads:[~2013-02-13 19:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-12 17:21 [Xenomai] Porting Ipipe to new ARM SoC (Xilinx Zynq) mfornero
2013-01-14 10:27 ` Stefan Roese
2013-01-22  0:00   ` mfornero
2013-01-22  7:55     ` Gilles Chanteperdrix
2013-01-23  0:27       ` mfornero
2013-01-23  2:00         ` Gilles Chanteperdrix
2013-01-23  3:43           ` Matthew Fornero
2013-01-23  7:02             ` Gilles Chanteperdrix
2013-01-23 23:51               ` mfornero
2013-01-24  9:03                 ` Gilles Chanteperdrix
2013-01-24 23:57                   ` mfornero
2013-01-25  9:01                     ` Gilles Chanteperdrix
     [not found]               ` <OFC84FDBBF.88E9186F-ON85257AFC.007B4CC3-85257AFC.008309FB@LocalDomain>
2013-01-24  0:12                 ` mfornero
2013-02-10 14:23   ` Gilles Chanteperdrix
2013-02-13 17:57     ` mfornero
2013-02-13 18:14       ` Stefan Roese
2013-02-13 18:38         ` mfornero
2013-02-14  8:19           ` Stefan Roese
2013-02-13 19:44       ` Gilles Chanteperdrix [this message]
2013-02-14 19:41         ` Gilles Chanteperdrix
2013-02-14 19:42           ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=511BED27.7010004@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=Xenomai@xenomai.org \
    --cc=mfornero@aanddtech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.