LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Woody Lin <woodylin@google.com>
Cc: "Todd Kjos" <tkjos@android.com>,
"Arve Hjønnevåg" <arve@android.com>,
"Martijn Coenen" <maco@android.com>,
"Joel Fernandes" <joel@joelfernandes.org>,
"Christian Brauner" <christian@brauner.io>,
"Hridya Valsaraju" <hridya@google.com>,
"Suren Baghdasaryan" <surenb@google.com>,
linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev
Subject: Re: [PATCH] ANDROID: staging: add userpanic-dev driver
Date: Thu, 26 Aug 2021 11:48:50 +0200 [thread overview]
Message-ID: <YSdjgnUwt76cknQ6@kroah.com> (raw)
In-Reply-To: <20210826092854.58694-1-woodylin@google.com>
On Thu, Aug 26, 2021 at 05:28:54PM +0800, Woody Lin wrote:
> Add char device driver 'userpanic-dev' that exposes an interface to
> userspace processes to request a system panic with customized panic
> message.
>
> Signed-off-by: Woody Lin <woodylin@google.com>
> ---
> drivers/staging/android/Kconfig | 12 +++
> drivers/staging/android/Makefile | 1 +
> drivers/staging/android/userpanic-dev.c | 110 ++++++++++++++++++++++++
Why is this in staging? What is wrong with it that it can not just go
into the real part of the kernel? A TODO file is needed explaining what
needs to be done here in order for it to be accepted.
But why is this really needed at all? Why would userspace want to panic
the kernel in yet-another-way?
thanks,
greg k-h
next prev parent reply other threads:[~2021-08-26 9:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-26 9:28 Woody Lin
2021-08-26 9:48 ` Greg Kroah-Hartman [this message]
2021-08-26 10:23 ` Woody Lin
2021-08-26 10:54 ` Greg Kroah-Hartman
2021-08-27 3:51 ` Woody Lin
2021-08-27 7:14 ` Greg Kroah-Hartman
2021-09-01 8:56 ` Woody Lin
2021-08-26 10:01 ` Greg Kroah-Hartman
2021-08-26 13:06 ` kernel test robot
2021-08-26 13:57 ` kernel test robot
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=YSdjgnUwt76cknQ6@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=arve@android.com \
--cc=christian@brauner.io \
--cc=hridya@google.com \
--cc=joel@joelfernandes.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=maco@android.com \
--cc=surenb@google.com \
--cc=tkjos@android.com \
--cc=woodylin@google.com \
--subject='Re: [PATCH] ANDROID: staging: add userpanic-dev driver' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).