From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Wolfgang Grandegger <wg@grandegger.com>
Cc: Wolfgang Grandegger <wg@denx.de>, xenomai@xenomai.org
Subject: Re: [Xenomai] imx28 rtcan flexcan system freezes
Date: Thu, 23 Jan 2014 13:05:40 +0100 [thread overview]
Message-ID: <52E10594.4010901@xenomai.org> (raw)
In-Reply-To: <1bab8396d7c946110418979cb8177d9b@grandegger.com>
On 01/23/2014 12:36 PM, Wolfgang Grandegger wrote:
> How are unaligned accesses handled on your system? Alexandre,
>
> what does "cat /proc/cpu/alignment" report? Aligned access
>
> would be better, I agree.
The imx28 can not support unaligned accesses in hardware. The unaligned
access causes an exception, /proc/cpu/alignment thus only allow choosing
how the exception is handled.
>> Wolfgang, what do you think? Should we change the alignment of
>
>> rtcan_rb_frame::data, or use put_unaligned on ARM?
>
>
>
> I realized the mail and wonder why this problem does not show up with
>
> vanilla
Vanilla handles the alignment trap by emulating the faulting
instruction. Last time I checked, there were some problems related to
running the emulation over xenomai domain, though looking at the code
now, I see nothing which would prevent us from doing it.
--
Gilles.
next prev parent reply other threads:[~2014-01-23 12:05 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 10:24 [Xenomai] imx28 rtcan flexcan system freezes Alexandre COFFIGNAL
2014-01-22 11:23 ` Gilles Chanteperdrix
2014-01-22 11:36 ` Alexandre COFFIGNAL
2014-01-22 12:00 ` Gilles Chanteperdrix
2014-01-22 13:27 ` Alexandre COFFIGNAL
2014-01-22 13:30 ` Gilles Chanteperdrix
2014-01-22 14:04 ` Alexandre COFFIGNAL
2014-01-22 14:12 ` Gilles Chanteperdrix
2014-01-23 10:04 ` Gilles Chanteperdrix
2014-01-23 11:36 ` Wolfgang Grandegger
2014-01-23 12:05 ` Gilles Chanteperdrix [this message]
2014-01-23 12:21 ` Wolfgang Grandegger
2014-01-23 12:23 ` Gilles Chanteperdrix
2014-01-23 13:07 ` Gilles Chanteperdrix
2014-01-23 12:54 ` Alexandre COFFIGNAL
2014-01-23 13:10 ` Alexandre COFFIGNAL
2014-01-26 19:26 ` Wolfgang Grandegger
2014-01-26 19:29 ` Gilles Chanteperdrix
2014-01-26 20:16 ` Wolfgang Grandegger
2014-01-26 20:56 ` Gilles Chanteperdrix
2014-01-27 7:56 ` Wolfgang Grandegger
2014-01-28 22:06 ` Gilles Chanteperdrix
2014-01-29 7:16 ` Wolfgang Grandegger
2014-01-29 15:50 ` Alexandre COFFIGNAL
2014-01-29 17:58 ` Gilles Chanteperdrix
2014-01-31 13:15 ` Alexandre COFFIGNAL
2014-01-23 19:48 ` 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=52E10594.4010901@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=wg@denx.de \
--cc=wg@grandegger.com \
--cc=xenomai@xenomai.org \
/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.