Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8356795ybi; Thu, 6 Jun 2019 10:51:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwO5o2MtESAe8LgSe7cfSKXuqx9uS9ED9pDr0CXd4NfKKiNTDT7lEDVCD3wavG+p3fqszwM X-Received: by 2002:aa7:8203:: with SMTP id k3mr50856505pfi.124.1559843507126; Thu, 06 Jun 2019 10:51:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559843507; cv=none; d=google.com; s=arc-20160816; b=OePDGkU2CU4AkqrWuUl3HhIHz5SiDGs4uhI6p+S2zbxiNlY5ia1OgmP/4IXB4Dq8p1 cAMDOwMKzhzrO+j7jpAZz8lpT3NivnQ54EMSw66noOUke13es8zfNp15P32kLhkcnPdD Vw2UxxqsZ2ib9MJ+sIpbvg782jl+NR0YTSAph2Ev1bAjiUC70uVIMDvrHHjjk0KklJwu 5amFXWUOvoF6v0o+fZIMC3pbQm4mO+vujRC+YgpO66uQryRWU0mbC2l2U37gf+iLz+4l UnzA63WJ6XBaXVf0+3lLCXY7tFl218/nKkWGTqWp4L0haGUbpoaAppSzIHvRhM0LRPDt y8hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XHnMfGEbsZkTP1qul8bE0svEMlhSmumrhwg37v3coDA=; b=EFVmf4bamaiSR8eK6LP4pFEN/jFWKQUPMtCLzXDDQ5OTtKxhndLEDVN7felGWciA5X fsdTra44j353ZgCC+IKMPrAB4fE54xdrJU9Jowydv+/UQxl3tqpkdfh9UeIQDpE0UYrN MBgkMs4jrGhm6J1QELA6aggXG96BEcV1ml2iBztI2K2gVcgYJtH4U3DpqAO0UdQwIm1u V8cH+ujZmJ2ZaqCa5yWyJMkvWyTrYL635MfJMR/C15k2X8jc1oCYUlsYUMlhk7HHrYhi 5PQgK3fFYN6KSsDLgR72iEajtA2adaww7TxqXJhgsbBsUcyQ6osoxs7Wt9Xxq62W940R ALlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vIL9tsxa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q23si2639096pfc.179.2019.06.06.10.51.18; Thu, 06 Jun 2019 10:51:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vIL9tsxa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728839AbfFFOdJ (ORCPT + 99 others); Thu, 6 Jun 2019 10:33:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:42824 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727133AbfFFOdJ (ORCPT ); Thu, 6 Jun 2019 10:33:09 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F2E4620673; Thu, 6 Jun 2019 14:33:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559831588; bh=/2jJJ5oG2cISFINJKQe1EgAmoS+dF35UJQdmAaBdaNA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vIL9tsxaJCJ6vmzNR4W5rYK5l1deky/3ctGG8Pold6Jk8WI2e71x0lSPFlLVWy+5X 6OjNoesUKJ2twjzicbxxgesIRYfRAal2qoLQEa9SfsYJ294nTr71ci0Jj4ufRCNZ/q zVNjY+QFddmc9uFjoz911UcJn2YsMRxZVjUM77VY= Date: Thu, 6 Jun 2019 16:33:06 +0200 From: Greg Kroah-Hartman To: Alan Stern Cc: David Howells , viro@zeniv.linux.org.uk, linux-usb@vger.kernel.org, raven@themaw.net, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, linux-block@vger.kernel.org, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 09/10] usb: Add USB subsystem notifications [ver #3] Message-ID: <20190606143306.GA11294@kroah.com> References: <155981420247.17513.18371208824032389940.stgit@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 06, 2019 at 10:24:18AM -0400, Alan Stern wrote: > On Thu, 6 Jun 2019, David Howells wrote: > > > Add a USB subsystem notification mechanism whereby notifications about > > hardware events such as device connection, disconnection, reset and I/O > > errors, can be reported to a monitoring process asynchronously. > > USB I/O errors covers an awfully large and vague field. Do we really > want to include them? I'm doubtful. See the other patch on the linux-usb list that wanted to start adding KOBJ_CHANGE notifications about USB "i/o errors". So for "severe" issues, yes, we should do this, but perhaps not for all of the "normal" things we see when a device is yanked out of the system and the like. thanks, greg k-h