Re: [PATCH] ARM: ftrace: Only set kernel memory back to read-only after boot

2018-07-10 Thread Stefan Agner
On 04.07.2018 13:30, Stefan Agner wrote: > On 21.06.2018 18:47, Steven Rostedt wrote: >> From: Steven Rostedt (VMware) >> >> Dynamic ftrace requires modifying the code segments that are usually >> set to read-only. To do this, a per arch function is called both before >> and after the ftrace modif

Re: [PATCH] ARM: ftrace: Only set kernel memory back to read-only after boot

2018-07-04 Thread Stefan Agner
On 21.06.2018 18:47, Steven Rostedt wrote: > From: Steven Rostedt (VMware) > > Dynamic ftrace requires modifying the code segments that are usually > set to read-only. To do this, a per arch function is called both before > and after the ftrace modifications are performed. The "before" function >

Re: [PATCH] ARM: ftrace: Only set kernel memory back to read-only after boot

2018-06-21 Thread Stefan Agner
On 21.06.2018 18:50, Steven Rostedt wrote: > On Thu, 21 Jun 2018 12:47:10 -0400 > Steven Rostedt wrote: > >> From: Steven Rostedt (VMware) >> >> Dynamic ftrace requires modifying the code segments that are usually >> set to read-only. To do this, a per arch function is called both before >> and

Re: [PATCH] ARM: ftrace: Only set kernel memory back to read-only after boot

2018-06-21 Thread Steven Rostedt
On Thu, 21 Jun 2018 12:47:10 -0400 Steven Rostedt wrote: > From: Steven Rostedt (VMware) > > Dynamic ftrace requires modifying the code segments that are usually > set to read-only. To do this, a per arch function is called both before > and after the ftrace modifications are performed. The "be

[PATCH] ARM: ftrace: Only set kernel memory back to read-only after boot

2018-06-21 Thread Steven Rostedt
From: Steven Rostedt (VMware) Dynamic ftrace requires modifying the code segments that are usually set to read-only. To do this, a per arch function is called both before and after the ftrace modifications are performed. The "before" function will set kernel code text to read-write to allow for f