From: Akinobu Mita <akinobu.mita@gmail.com>
To: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Subject: [PATCH 0/7] notifier error injection
Date: Sun, 3 Jul 2011 23:16:14 +0900 [thread overview]
Message-ID: <1309702581-16863-1-git-send-email-akinobu.mita@gmail.com> (raw)
This provides the ability to inject artifical errors to the following
notifier chain callbacks. It is useful to test the error handling of
notifier call chain failures.
* CPU notifier
* PM notifier
* memory hotplug notifier
* powerpc pSeries reconfig notifier
We already have cpu-notifier-error-inject.ko module providing such
functionality for the CPU notifier. However, this patch set adds
common basic functions and consistent debugfs interface for them.
Akinobu Mita (7):
pm: improve error code of pm_notifier_call_chain()
debugfs: add debugfs_create_int
fault-injection: notifier error injection
cpu: CPU notifier error injection
PM: PM notifier error injection
memory: memory notifier error injection
powerpc: pSeries reconfig notifier error injection
Documentation/feature-removal-schedule.txt | 8 ++++
arch/powerpc/platforms/pseries/reconfig.c | 31 +++++++++++++++
drivers/base/memory.c | 29 ++++++++++++++
drivers/char/apm-emulation.c | 2 +-
drivers/s390/char/vmwatchdog.c | 4 +-
drivers/s390/cio/css.c | 8 ++--
fs/debugfs/file.c | 56 +++++++++++++++++++++++++++
include/linux/debugfs.h | 9 ++++
include/linux/notifier.h | 25 ++++++++++++
kernel/cpu.c | 31 +++++++++++++++
kernel/notifier.c | 57 ++++++++++++++++++++++++++++
kernel/power/main.c | 35 ++++++++++++++++-
lib/Kconfig.debug | 50 ++++++++++++++++++++++++
13 files changed, 336 insertions(+), 9 deletions(-)
--
1.7.4.4
next reply other threads:[~2011-07-03 14:14 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-03 14:16 Akinobu Mita [this message]
2011-07-03 14:16 ` [PATCH 1/7] pm: improve error code of pm_notifier_call_chain() Akinobu Mita
2011-07-03 17:15 ` Pavel Machek
2011-07-04 5:32 ` Akinobu Mita
2011-07-07 21:06 ` Rafael J. Wysocki
2011-07-08 15:50 ` Akinobu Mita
2011-07-08 18:59 ` Rafael J. Wysocki
2011-07-03 14:16 ` [PATCH 2/7] debugfs: add debugfs_create_int Akinobu Mita
2011-07-03 16:23 ` Greg KH
2011-07-04 5:31 ` Akinobu Mita
2011-07-04 15:32 ` Greg KH
2011-07-05 4:42 ` Akinobu Mita
2011-07-03 14:16 ` [PATCH 3/7] fault-injection: notifier error injection Akinobu Mita
2011-07-03 17:16 ` Pavel Machek
2011-07-04 5:35 ` Akinobu Mita
2011-07-03 14:16 ` [PATCH 4/7] cpu: CPU " Akinobu Mita
2011-07-03 14:16 ` [PATCH 5/7] PM: PM " Akinobu Mita
2011-07-07 21:14 ` Rafael J. Wysocki
2011-07-08 15:56 ` Akinobu Mita
2011-07-08 17:43 ` Rafael J. Wysocki
2011-07-03 14:16 ` [PATCH 6/7] memory: memory " Akinobu Mita
2011-07-03 14:16 ` [PATCH 7/7] powerpc: pSeries reconfig " Akinobu Mita
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1309702581-16863-1-git-send-email-akinobu.mita@gmail.com \
--to=akinobu.mita@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®