[Libre-soc-dev] running microwatt-5.7 linux kernel on libresoc

Jacob Lifshay programmerjake at gmail.com
Fri Jan 7 16:03:44 GMT 2022


On Fri, Jan 7, 2022, 05:27 Luke Kenneth Casson Leighton <lkcl at lkcl.net>
wrote:

> potentially this is a bug in the linux kernel, but i think it is probably
> sensible to prioritise adding ldst misalignment.


Yeah, I think that may be necessary.
from my reading through the linux source:
apparently linux doesn't support misaligned exceptions on LE (maybe for
some subset of conditions):
https://github.com/torvalds/linux/blob/fe91c4725aeed35023ba4f7a1e1adfebb6878c23/arch/powerpc/kernel/align.c#L314
called by 0x600 exception handler

Jacob


More information about the Libre-soc-dev mailing list