.
kexec-tools modification can be seen at
https://github.com/shuyuanmen/kexec-tools/blob/main/Add-pstore-segment.patch
Yuanhe Shu (5):
pstore: add tty frontend
pstore: add multi-backends support
pstore: add subdirs for multi-backends
pstore: remove the module parameter "backend&quo
x27;t have serial access.
Furthermore, by enabling tty frontend and console/dmesg frontend in
dump capture kernel, one can collect kernel and user messages to
discover why kdump service works abnormal.
Signed-off-by: Yuanhe Shu
Signed-off-by: Xingrui Yi
---
drivers/tty/n_tty.c | 1 +
e existing backend in order to use the new ones.
To enable pstore to support multiple backends, "psinfo" is replaced by
"psinfo_list", a list that holds multiple "psinfo". If multiple backends
are registered with the same frontend, the frontend is reused.
Signed-off-b
-by: Xingrui Yi
Signed-off-by: Yuanhe Shu
---
fs/pstore/inode.c | 80 --
fs/pstore/internal.h | 1 +
fs/pstore/platform.c | 5 ++-
include/linux/pstore.h | 2 ++
4 files changed, 77 insertions(+), 11 deletions(-)
diff --git a/fs/pstore/inode.c b
ned-off-by: Xingrui Yi
Signed-off-by: Yuanhe Shu
---
fs/pstore/platform.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c
index d576ee48527c..90c33c1ca39f 100644
--- a/fs/pstore/platform.c
+++ b/fs/pstore/platform.c
@@ -77,10 +77,6 @@ static DE
Update pstore selftests as pstore now supports multi backends
Signed-off-by: Yuanhe Shu
---
tools/testing/selftests/pstore/common_tests | 4
1 file changed, 4 deletions(-)
diff --git a/tools/testing/selftests/pstore/common_tests
b/tools/testing/selftests/pstore/common_tests
index
es and Guilherme for your suggestions.
I firmly believe that a tty frontend is crucial for kdump debugging,
and I am still dedicating effort to develop one. Hope in the future I
can accomplish it with deeper comprehension with tty driver :)
Yuanhe Shu (3):
pstore: add multi-backend support
Doc
multiple backends that are allowed to be registered by
module parameter "pstore.backend=" separated by commas or "all" to
enable all available backends. If no pstore.backend was specified,
pstore would accept the first registered backend which is the same as
before.
Signed-o
Pstore now supports multiple backends, the module parameter
pstore.backend varies from 'registered backend' to 'backends that are
allowed to register'. Adjust selftests to match the change.
Signed-off-by: Yuanhe Shu
---
tools/testing/selftests/pstore/common_tests |
Pstore now supports multiple backends, adjust related document.
Signed-off-by: Yuanhe Shu
---
Documentation/ABI/testing/pstore| 8
Documentation/admin-guide/kernel-parameters.txt | 4 +++-
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/Documentation/ABI
multiple backends that are allowed to be registered by
module parameter "pstore.backend=" separated by commas or "all" to
enable all available backends. If no pstore.backend was specified,
pstore would accept the first registered backend which is the same as
before.
Signed-o
rehension with tty driver :)
Yuanhe Shu (3):
pstore: add multi-backend support
Documentation: adjust pstore backend related document
tools/testing: adjust pstore backend related selftest
Documentation/ABI/testing/pstore | 8 +-
.../admin-guide/kernel-parameters.txt
multiple backends that are allowed to be registered by
module parameter "pstore.backend=" separated by commas or "all" to
enable all available backends. If no pstore.backend was specified,
pstore would accept the first registered backend which is the same as
before.
Signed-o
Pstore now supports multiple backends, the module parameter
pstore.backend varies from 'registered backend' to 'backends that are
allowed to register'. Adjust selftests to match the change.
Signed-off-by: Yuanhe Shu
---
tools/testing/selftests/pstore/common_tests |
Pstore now supports multiple backends, adjust related document.
Signed-off-by: Yuanhe Shu
---
Documentation/ABI/testing/pstore| 8
Documentation/admin-guide/kernel-parameters.txt | 4 +++-
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/Documentation/ABI
On 2024/2/7 20:48, Kees Cook wrote:
On Wed, Feb 07, 2024 at 10:19:19AM +0800, Yuanhe Shu wrote:
Currently, pstore supports only one backend open at a time.
Specifically, due to the global variable "psinfo", pstore only accepts
the first registered backend. If a new backend wants t
On 2024/2/7 20:53, Kees Cook wrote:
On Wed, Feb 07, 2024 at 10:19:21AM +0800, Yuanhe Shu wrote:
Pstore now supports multiple backends, the module parameter
pstore.backend varies from 'registered backend' to 'backends that are
allowed to register'. Adjust selftests
On 2024/2/5 21:21, Steven Rostedt wrote:
On Mon, 5 Feb 2024 21:12:33 +0800
Yuanhe Shu wrote:
While sched* events being traced and sched* events continuously happen,
"[xx] event tracing - enable/disable with subsystem level files" would
never stop as it cat an endless output.
ore than 3 types of sched events.
Fixes: 815b18ea66d6 ("ftracetest: Add basic event tracing test cases")
Cc: sta...@vger.kernel.org
Signed-off-by: Yuanhe Shu
---
.../selftests/ftrace/test.d/event/subsystem-enable.tc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff -
uot;, but
"backends eligible for registration".
- drop subdir since it will break user space
- drop tty frontend since I haven't yet devised a satisfactory
implementation strategy
- Link to v1:
https://lore.kernel.org/all/20230928024244.257687-1-xiang...@linux.alibaba.com/
multiple backends that are allowed to be registered by
module parameter "pstore.backend=" separated by commas or "all" to
enable all available backends. If no pstore.backend was specified,
pstore would accept the first registered backend which is the same as
before.
Signed-o
Introduce a /sys/module entry for loaded pstore backends which
provide users and testcases with a standarized interface to retrieve
information on which pstore backends are currently registered.
Signed-off-by: Yuanhe Shu
---
fs/pstore/inode.c| 38 ++
fs
lftests to match the change.
Signed-off-by: Yuanhe Shu
---
tools/testing/selftests/pstore/common_tests | 8 +--
.../selftests/pstore/pstore_post_reboot_tests | 67 ++-
tools/testing/selftests/pstore/pstore_tests | 2 +-
3 files changed, 40 insertions(+), 37 deletions(-)
diff -
Pstore now supports multiple backends, adjust related document.
Signed-off-by: Yuanhe Shu
---
Documentation/ABI/testing/pstore| 8
Documentation/admin-guide/kernel-parameters.txt | 4 +++-
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/Documentation/ABI
24 matches
Mail list logo