Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756720AbeAISqF (ORCPT + 1 other); Tue, 9 Jan 2018 13:46:05 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:52118 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752129AbeAISqE (ORCPT ); Tue, 9 Jan 2018 13:46:04 -0500 Date: Tue, 9 Jan 2018 19:46:05 +0100 From: Greg Kroah-Hartman To: Arend van Spriel Cc: linux-kernel@vger.kernel.org, Arend van Spriel Subject: Re: [PATCH 0/2] sysfs: allow user-space request for devcoredump Message-ID: <20180109184605.GA28273@kroah.com> References: <1513677802-3031-1-git-send-email-arend.vanspriel@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1513677802-3031-1-git-send-email-arend.vanspriel@broadcom.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, Dec 19, 2017 at 11:03:20AM +0100, Arend van Spriel wrote: > From: Arend van Spriel > > 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