Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8176767ybi; Thu, 6 Jun 2019 07:56:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0WAogFHLgj0lligihqxTqfPg0cIdpZpMoW5lW3o0TtxhaYjI+QJqzixOKiKBKPMo5pPHA X-Received: by 2002:a17:90a:8a15:: with SMTP id w21mr301693pjn.134.1559833013775; Thu, 06 Jun 2019 07:56:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559833013; cv=none; d=google.com; s=arc-20160816; b=QRqFaS7VSBMieE+refAFqlqT4ZZ9rjKYdD2i7quNrb6x1ZTidnj6sATPoGtaXPPTst 14JDvXWy1DUzaPGUNYViGJeS9fn5fzCOXyGljWWAWsQkXfAcvvIUnwckC29cnfJiv2oi +A4q3h/VwByWM9bahbOey9bstgXINTFaoMtWnpm6RV9LirGQbJBn/TsHXNzpL9Qnpywo /bjyFy60ObFTRGAMlDDi8+fWq+RElYzcQ0gIP+9GfnxCloSfXwVjM6tRT82iJA/EKaKp 4Idzo0yqyhU5QEEbFcHBbViWNc8OnCWx9IUniuTiGnTzOQ236DvHzjSd26nvf8LiE6x+ NqHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date; bh=qFHbKEJGrmUUMT9/n0CnUG7FI4CEU/i7pee9NIl8kSk=; b=UggZ5otzUQkzSA3OeBC732HNlinX5cGZdijlLLBpKEvxbP/ulLl1GVkc3q57KhPGKH 8ZrkGHx2tmJA7ag0o3mNZp0v7pI+A9IDRw8qQUXHJpT5duAkiNYCQyFSnNWr1ENfgj1Z o8jQUJY4B9m91tUGDB8+V+5bcw6CbtAKO+MaL6AwoYtm3htEghmBWUIqjQttQYewFZ2N IF3Ki6P+gFIRDuda3EN6JzTYKKNImTA1k4W8c316vtRFnTj+aLQuZqvJP0q6LnMT0Tjo +kSQpNGaPJuIIPhihh8nwaHPa0l6EZQw9hY2OQFwJ86ILa+BSRBsi+HuBczmDBeE13vT USzQ== ARC-Authentication-Results: i=1; mx.google.com; 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 m189si2312230pgm.13.2019.06.06.07.56.37; Thu, 06 Jun 2019 07:56:53 -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; 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 S1728682AbfFFOzZ (ORCPT + 99 others); Thu, 6 Jun 2019 10:55:25 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:52012 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1728792AbfFFOzZ (ORCPT ); Thu, 6 Jun 2019 10:55:25 -0400 Received: (qmail 3851 invoked by uid 2102); 6 Jun 2019 10:55:24 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Jun 2019 10:55:24 -0400 Date: Thu, 6 Jun 2019 10:55:24 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Greg Kroah-Hartman cc: David Howells , , , , , , , , , Subject: Re: [PATCH 09/10] usb: Add USB subsystem notifications [ver #3] In-Reply-To: <20190606143306.GA11294@kroah.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 6 Jun 2019, Greg Kroah-Hartman wrote: > 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". That patch wanted to add notifications only for enumeration failures (assuming you're talking about the patch from Eugeniu Rosca), not I/O errors in general. > 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. Then what counts as a "severe" issue? Anything besides enumeration failure? Alan Stern