Re: [RFC PATCH v1 24/28] riscv: select config for shadow stack and landing pad instr support

2024-01-25 Thread Deepak Gupta
On Thu, Jan 25, 2024 at 06:44:48PM +, Conor Dooley wrote: On Thu, Jan 25, 2024 at 10:12:16AM -0800, Deepak Gupta wrote: On Thu, Jan 25, 2024 at 06:04:26PM +, Conor Dooley wrote: > On Wed, Jan 24, 2024 at 10:21:49PM -0800, de...@rivosinc.com wrote: > > From: Deepak Gupta > > > > This

Re: [RFC PATCH v1 24/28] riscv: select config for shadow stack and landing pad instr support

2024-01-25 Thread Conor Dooley
On Thu, Jan 25, 2024 at 10:12:16AM -0800, Deepak Gupta wrote: > On Thu, Jan 25, 2024 at 06:04:26PM +, Conor Dooley wrote: > > On Wed, Jan 24, 2024 at 10:21:49PM -0800, de...@rivosinc.com wrote: > > > From: Deepak Gupta > > > > > > This patch selects config shadow stack support and landing

Re: [RFC PATCH v1 24/28] riscv: select config for shadow stack and landing pad instr support

2024-01-25 Thread Deepak Gupta
On Thu, Jan 25, 2024 at 06:04:26PM +, Conor Dooley wrote: On Wed, Jan 24, 2024 at 10:21:49PM -0800, de...@rivosinc.com wrote: From: Deepak Gupta This patch selects config shadow stack support and landing pad instr support. Shadow stack support and landing instr support is hidden behind

Re: [RFC PATCH v1 24/28] riscv: select config for shadow stack and landing pad instr support

2024-01-25 Thread Conor Dooley
On Wed, Jan 24, 2024 at 10:21:49PM -0800, de...@rivosinc.com wrote: > From: Deepak Gupta > > This patch selects config shadow stack support and landing pad instr > support. Shadow stack support and landing instr support is hidden behind > `CONFIG_RISCV_USER_CFI`. Selecting

[RFC PATCH v1 24/28] riscv: select config for shadow stack and landing pad instr support

2024-01-24 Thread debug
From: Deepak Gupta This patch selects config shadow stack support and landing pad instr support. Shadow stack support and landing instr support is hidden behind `CONFIG_RISCV_USER_CFI`. Selecting `CONFIG_RISCV_USER_CFI` wires up path to enumerate CPU support and if cpu support exists, kernel