Re: [PATCH v3 01/29] riscv: envcfg save and restore on task switching

2024-05-09 Thread Deepak Gupta
On Wed, May 08, 2024 at 05:10:46PM -0700, Charlie Jenkins wrote: On Wed, Apr 03, 2024 at 04:34:49PM -0700, Deepak Gupta wrote: envcfg CSR defines enabling bits for cache management instructions and soon will control enabling for control flow integrity and pointer masking features. Control flow

Re: [PATCH v3 01/29] riscv: envcfg save and restore on task switching

2024-05-08 Thread Charlie Jenkins
On Wed, Apr 03, 2024 at 04:34:49PM -0700, Deepak Gupta wrote: > envcfg CSR defines enabling bits for cache management instructions and > soon will control enabling for control flow integrity and pointer > masking features. > > Control flow integrity enabling for forward cfi and backward cfi are >

[PATCH v3 01/29] riscv: envcfg save and restore on task switching

2024-04-03 Thread Deepak Gupta
envcfg CSR defines enabling bits for cache management instructions and soon will control enabling for control flow integrity and pointer masking features. Control flow integrity enabling for forward cfi and backward cfi are controlled via envcfg and thus need to be enabled on per thread basis. Th