Re: [PATCH] RISC-V: Remove unused code from STRICT_KERNEL_RWX

2020-05-05 Thread Atish Patra
On Tue, May 5, 2020 at 5:03 PM Palmer Dabbelt wrote: > > On Tue, 05 May 2020 17:00:05 PDT (-0700), ati...@atishpatra.org wrote: > > On Tue, May 5, 2020 at 4:55 PM Palmer Dabbelt wrote: > >> > >> On Sun, 03 May 2020 21:03:19 PDT (-0700), Atish Patra wrote: > >> > This patch removes the unused

Re: [PATCH] RISC-V: Remove unused code from STRICT_KERNEL_RWX

2020-05-05 Thread Palmer Dabbelt
On Tue, 05 May 2020 17:00:05 PDT (-0700), ati...@atishpatra.org wrote: On Tue, May 5, 2020 at 4:55 PM Palmer Dabbelt wrote: On Sun, 03 May 2020 21:03:19 PDT (-0700), Atish Patra wrote: > This patch removes the unused functions set_kernel_text_rw/ro. > Currently, it is not being invoked from

Re: [PATCH] RISC-V: Remove unused code from STRICT_KERNEL_RWX

2020-05-05 Thread Atish Patra
On Tue, May 5, 2020 at 4:55 PM Palmer Dabbelt wrote: > > On Sun, 03 May 2020 21:03:19 PDT (-0700), Atish Patra wrote: > > This patch removes the unused functions set_kernel_text_rw/ro. > > Currently, it is not being invoked from anywhere and no other architecture > > (except arm) uses this code.

Re: [PATCH] RISC-V: Remove unused code from STRICT_KERNEL_RWX

2020-05-05 Thread Palmer Dabbelt
On Sun, 03 May 2020 21:03:19 PDT (-0700), Atish Patra wrote: This patch removes the unused functions set_kernel_text_rw/ro. Currently, it is not being invoked from anywhere and no other architecture (except arm) uses this code. Even in ARM, these functions are not invoked from anywhere

Re: [PATCH] RISC-V: Remove unused code from STRICT_KERNEL_RWX

2020-05-03 Thread Zong Li
On Mon, May 4, 2020 at 12:04 PM Atish Patra wrote: > > This patch removes the unused functions set_kernel_text_rw/ro. > Currently, it is not being invoked from anywhere and no other architecture > (except arm) uses this code. Even in ARM, these functions are not invoked > from anywhere currently.

[PATCH] RISC-V: Remove unused code from STRICT_KERNEL_RWX

2020-05-03 Thread Atish Patra
This patch removes the unused functions set_kernel_text_rw/ro. Currently, it is not being invoked from anywhere and no other architecture (except arm) uses this code. Even in ARM, these functions are not invoked from anywhere currently. Fixes: d27c3c90817e ("riscv: add STRICT_KERNEL_RWX support")