From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] ARM bus error due to alignment
Date: Thu, 5 Nov 2015 16:15:44 +0100 [thread overview]
Message-ID: <20151105151544.GD16314@hermes.click-hack.org> (raw)
In-Reply-To: <20151105150226.GM21923@csclub.uwaterloo.ca>
On Thu, Nov 05, 2015 at 10:02:26AM -0500, Lennart Sorensen wrote:
> On Thu, Nov 05, 2015 at 09:57:25AM -0500, Lennart Sorensen wrote:
> > On Thu, Nov 05, 2015 at 09:51:59AM -0500, Lennart Sorensen wrote:
> > > Hmm, I thought I had read that as of 2.6.38 and higher arm systems were
> > > supposed to not generate the fault anymore, but maybe I misunderstood
> > > it and they meant it sets fixup to enabled by default.
> > >
> > > I should check the SCTLR.A flag.
> >
> > Of course the arm docs say it is off by default at reset, so something
> > in either u-boot or the kernel seems like it must have to enable it
> > explicitly. Well once I figure out how to read it I guess I will know.
> >
> > Of course if the memory happens to be flagged as something other than
> > normal memory, then it should also fault. I wonder if a page used to dma
> > data to/from a network driver would be flagged as normal memory or not.
>
> Would using this cause such a problem:
>
> /usr/include/xenomai/native/heap.h:#define H_DMA 0x100 /* Use memory suitable for DMA. */
Do you have alignment issues with the same version of Linux with
exactly the same configuration, but without Xenomai?
--
Gilles.
https://click-hack.org
next prev parent reply other threads:[~2015-11-05 15:15 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-05 1:51 [Xenomai] ARM bus error due to alignment Lennart Sorensen
2015-11-05 11:01 ` Gilles Chanteperdrix
2015-11-05 14:51 ` Lennart Sorensen
2015-11-05 14:57 ` Lennart Sorensen
2015-11-05 15:02 ` Lennart Sorensen
2015-11-05 15:15 ` Gilles Chanteperdrix [this message]
2015-11-05 15:24 ` Lennart Sorensen
2015-11-05 15:55 ` Gilles Chanteperdrix
2015-11-05 16:19 ` Lennart Sorensen
2015-11-05 16:25 ` Gilles Chanteperdrix
2015-11-05 16:57 ` Lennart Sorensen
2015-11-05 17:14 ` Gilles Chanteperdrix
2015-11-05 17:24 ` Lennart Sorensen
2015-11-05 17:52 ` Lennart Sorensen
2015-11-05 21:18 ` Lennart Sorensen
2015-11-05 21:28 ` Lennart Sorensen
2015-11-05 21:40 ` Gilles Chanteperdrix
2015-11-05 22:08 ` Lennart Sorensen
2015-11-06 19:25 ` Lennart Sorensen
2015-11-07 22:13 ` Gilles Chanteperdrix
2015-11-09 19:57 ` Lennart Sorensen
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=20151105151544.GD16314@hermes.click-hack.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=lsorense@csclub.uwaterloo.ca \
--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.