All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] sysfs: allow user-space request for devcoredump
@ 2017-12-19 10:03 Arend van Spriel
  2017-12-19 10:03 ` [PATCH 1/2] sysfs: add attribute specification for /sysfs/devices/.../coredump Arend van Spriel
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Arend van Spriel @ 2017-12-19 10:03 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-kernel, Arend van Spriel

From: Arend van Spriel <aspriel@gmail.com>

Since commit 833c95456a70 ("device coredump: add new device coredump class")
device drivers have a unified way to provide binary data obtained from a
failing_device to user-space. However, there may be use-cases in which the
driver has no reason to obtain the data, but user-space wants to initiate
it. This adds a coredump device attribute in sysfs when the driver bound to
the device supports the newly added coredump driver callback.

These patches apply to the driver-core-next branch of the driver-core
repository.

Arend van Spriel (2):
  sysfs: add attribute specification for /sysfs/devices/.../coredump
  drivers: base: add coredump driver ops

 Documentation/ABI/testing/sysfs-devices-coredump | 10 ++++++
 drivers/base/dd.c                                | 40 +++++++++++++++++++-----
 include/linux/device.h                           |  2 +-
 3 files changed, 44 insertions(+), 8 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-devices-coredump

-- 
1.9.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-01-10  8:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-19 10:03 [PATCH 0/2] sysfs: allow user-space request for devcoredump Arend van Spriel
2017-12-19 10:03 ` [PATCH 1/2] sysfs: add attribute specification for /sysfs/devices/.../coredump Arend van Spriel
2017-12-19 10:03 ` [PATCH 2/2] drivers: base: add coredump driver ops Arend van Spriel
2018-01-09 18:46 ` [PATCH 0/2] sysfs: allow user-space request for devcoredump Greg Kroah-Hartman
     [not found]   ` <CAJ65rDyGSirKUqWkXZomMQMA0d=xy=Kc1STzQyKNVymuK_-aMA@mail.gmail.com>
2018-01-09 19:21     ` Fwd: " Arend van Spriel
2018-01-09 20:03       ` Greg KH
2018-01-09 20:06         ` Arend van Spriel
2018-01-10  8:22           ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.