[libre-riscv-dev] ppc-dev linux patch support for microwatt!

Luke Kenneth Casson Leighton lkcl at lkcl.net
Tue May 12 02:25:43 BST 2020


On Tuesday, May 12, 2020, Yehowshua <yimmanuel3 at gatech.edu> wrote:

>
>
> > On May 11, 2020, at 8:53 PM, Luke Kenneth Casson Leighton <lkcl at lkcl.net>
> wrote:
> >
> > that is prohibited by design.
>
> Are you saying that the POWER ISA itself dis-allows writes to instruction
> memory?


we'll have to check the spec closely, or ask on one if the lists, or just
trust paul's expertise.  he's been working with powerpc since 1996.

Does such a behavior get trapped or something?


hard exception, yes.


> I know that Linux on RISCV for example will set page r/w/ex bits that are
> part of the RISCV ISA. Then, an attempt to store into instruction memory
> becomes prohibited.


exactly.

l



-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68


More information about the libre-riscv-dev mailing list