On Thu, Nov 05, 2015 at 11:57:50AM -0500, Lennart Sorensen wrote:
> On Thu, Nov 05, 2015 at 05:25:14PM +0100, Gilles Chanteperdrix wrote:
> > I am sure. Xenomai does not use H_DMA on armv7, so, it is not used
> > if your code, it is not used at all.
>
> Well we are using it for one allocation for talking to a network port.
>
> If I remove it, I get a NULL pointer dereference, so it clearly matters
> to something in our code.
>
> > > It does appear that when LPAE is enabled H_DMA does do something on arm,
> > > but only when LPAE is enabled since that enables ZONE_DMA.
> >
> > I never said that H_DMA did nothing.
>
> OK I misunderstood then.
>
> Setting /proc/cpu/alignment to 0 gives the kernel message:
> alignment: ignoring faults is unsafe on this CPU. Defaulting to fixup mode.
>
> Apparently armv6+ with CR_U set is not allowed to turn off fixups.
If you have an armv7, you want to turn off all armv6 processors in
the kernel configuration so that the kernel does not try to be
compatible with these obsolete processors.
--
Gilles.
https://click-hack.org
_______________________________________________
Xenomai mailing list
[email protected]
http://xenomai.org/mailman/listinfo/xenomai