Re: [PATCH] Documentation: DocBook: kgdb: update CONFIG_STRICT_KERNEL_RWX info

From: Daniel Thompson
Date: Thu Apr 20 2017 - 11:29:06 EST


On 19/04/17 02:58, Li Qiang wrote:
CONFIG_STRICT_KERNEL_RWX is no longer selectable on most architectures.
Update this info to thedocumentation.

"git grep STRICT_KERNEL_RWX" comes up with nothing.

It is selectable on any architecture? If not we should remove it entirely!


Daniel.



Signed-off-by: Li Qiang <liqiang6-s@xxxxxx>
---
Documentation/DocBook/kgdb.tmpl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/DocBook/kgdb.tmpl b/Documentation/DocBook/kgdb.tmpl
index 856ac20..ef0b67b 100644
--- a/Documentation/DocBook/kgdb.tmpl
+++ b/Documentation/DocBook/kgdb.tmpl
@@ -121,7 +121,9 @@
If kgdb supports it for the architecture you are using, you can
use hardware breakpoints if you desire to run with the
CONFIG_STRICT_KERNEL_RWX option turned on, else you need to turn off
- this option.
+ this option. In most architectures, this option is not selectable.
+ For this situation, it can be turned off by adding a runtime parameter
+ 'rodata=off'.
</para>
<para>
Next you should choose one of more I/O drivers to interconnect