powerpc: Document xmon options
Subsystems (3)
PATCH 1/2 powerpc: Document xmon options
Document all options currently supported by xmon debugger.
Signed-off-by Gustavo Romero <[email protected]>
--- .../admin-guide/kernel-parameters.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
Documentation/admin-guide/kernel-parameters.txt +19 -0
@@ -5305,3 +5305,22 @@ A hex value specifying bitmask with supplemental xhci host controller quirks. Meaning of each bit can be consulted in header drivers/usb/host/xhci.h. + + xmon [PPC] + Format: { early | on | rw | ro | off } + Controls if xmon debugger is enabled. Default is off. + Passing only "xmon" is equivalent to "xmon=early". + early Call xmon as early as possible on boot; xmon + debugger is called from setup_arch(). + on xmon debugger hooks will be installed so xmon + is only called on a kernel crash. Default mode, + i.e. either "ro" or "rw" mode, is controlled + with CONFIG_XMON_DEFAULT_RO_MODE. + rw xmon debugger hooks will be installed so xmon + is called only on a kernel crash, mode is write, + meaning SPR registers, memory and, other data + can be written using xmon commands. + ro same as "rw" option above but SPR registers, + memory, and other data can't be written using + xmon commands. + off xmon is disabled.
Signature · 1 line
2.17.1
PATCH 2/2 selftests/powerpc: Ignore generated files
Currently some binary files which are generated when tests are compiled are not ignored by git, so 'git status' catch them.
For copyloops test, fix wrong binary names already in .gitignore. For ptrace, security, and stringloops tests add missing binary names to the .gitignore file.
Signed-off-by Gustavo Romero <[email protected]>
--- tools/testing/selftests/powerpc/copyloops/.gitignore | 8 ++++---- tools/testing/selftests/powerpc/ptrace/.gitignore | 3 +++ tools/testing/selftests/powerpc/security/.gitignore | 1 + tools/testing/selftests/powerpc/stringloops/.gitignore | 5 ++++- 4 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 tools/testing/selftests/powerpc/security/.gitignore
tools/testing/selftests/powerpc/copyloops/.gitignore +4 -4
@@ -1,13 +1,13 @@ copyuser_64_t0 copyuser_64_t1 copyuser_64_t2 -copyuser_power7_t0 -copyuser_power7_t1 +copyuser_p7_t0 +copyuser_p7_t1 memcpy_64_t0 memcpy_64_t1 memcpy_64_t2 -memcpy_power7_t0 -memcpy_power7_t1 +memcpy_p7_t0 +memcpy_p7_t1 copyuser_64_exc_t0 copyuser_64_exc_t1 copyuser_64_exc_t2
tools/testing/selftests/powerpc/ptrace/.gitignore +3 -0
@@ -10,3 +10,6 @@ ptrace-tm-spd-vsx ptrace-tm-spr ptrace-hwbreak perf-hwbreak +core-pkey +ptrace-pkey +ptrace-syscall
tools/testing/selftests/powerpc/security/.gitignore new file +1 -0
@@ -0,0 +1 @@ +rfi_flush
tools/testing/selftests/powerpc/stringloops/.gitignore +4 -1
@@ -1 +1,4 @@ -memcmp +memcmp_64 +memcmp_32 +strlen +strlen_32
Signature · 1 line
2.17.1
Quoted 3 lines · Gustavo Romero
Document all options currently supported by xmon debugger.
Signed-off-by Gustavo Romero <[email protected]>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/6278f55ba5ed20f486ea2049da0cf9a9c1d9a5d5
cheers