Re: [PATCH v15 14/21] target/riscv: disallow probe accesses to shadow stack

2024-10-03 Thread Deepak Gupta
On Thu, Oct 03, 2024 at 11:33:35AM -0700, Deepak Gupta wrote: `check_zicbom_access` (`cbo.clean/flush/inval`) may probe shadow stack memory and must always raise store/AMO access fault because it has store semantics. For non-shadow stack memory even though `cbo.clean/flush/inval` have store sema

[PATCH v15 14/21] target/riscv: disallow probe accesses to shadow stack

2024-10-03 Thread Deepak Gupta
`check_zicbom_access` (`cbo.clean/flush/inval`) may probe shadow stack memory and must always raise store/AMO access fault because it has store semantics. For non-shadow stack memory even though `cbo.clean/flush/inval` have store semantics, it will not fault if read is allowed (probably to follow