Re: proposal for stateen CSRs


Bill Huffman
 

 

 

From: Scott Johnson <scott.johnson@...>
Sent: Tuesday, April 20, 2021 8:33 PM
To: Bill Huffman <huffman@...>
Cc: tech-privileged@...
Subject: Re: [RISC-V] [tech-privileged] proposal for stateen CSRs

 

EXTERNAL MAIL

It seems the use model is to enable older environment-swapping software to run on newer hardware without opening a security hole via new state. Only if the software is aware of the state will it enable that state via *stateen.

 

For custom state, you can always make custom *stateen-like CSRs to enable it. You're going to need custom software to swap that state anyway.

 

True.  I was thinking of unifying the two purposes when I asked the question.

 

      Bill

 

Join {tech-privileged@lists.riscv.org to automatically receive all group messages.