Re: [PATCH 0/2] sysfs: allow user-space request for devcoredump

From: Greg Kroah-Hartman
Date: Tue Jan 09 2018 - 13:46:08 EST


On Tue, Dec 19, 2017 at 11:03:20AM +0100, Arend van Spriel wrote:
> From: Arend van Spriel <aspriel@xxxxxxxxx>
>
> 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.

What driver is going to set this? I don't want to add new options to
the kernel that never get used, do you have a driver to use it?

thanks,

greg k-h