Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1416867ybe; Thu, 5 Sep 2019 15:22:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVcUPV0AlfSsYOfQj2vfvCjwXOkCqJJ/ha8OXbcuRG5n7CRtzrUUfphZ5rQaxaIdGaWkV2 X-Received: by 2002:a17:902:166:: with SMTP id 93mr6165054plb.320.1567722149133; Thu, 05 Sep 2019 15:22:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567722149; cv=none; d=google.com; s=arc-20160816; b=nHKJEjpeZBqK6iF1ZNdyx21F2FgyghVxIX5Ek1F5Iz0xjrq6Aj9b+Xv4pFzvZwTpjq P3M097n+mb3Z4vQjCVUP0MCtGA3T82qFC6BUDev2q2sjnYUXEErENyxgNESzFEmFLYqL kvjIqMNuO4OeqFFuVW9qFNI3tqvTBFeqS2nN5UJezR3RzOzntgalR048pt/EiXWN0ffr 6mOq8KiXU3IewTE8eMzHPTeHDaXQcM04dGnuQfwrTzyzJVfTZwXnJZ+ioBLZi86RqjUM BBZDOZQu+s+AnXU9C6XcyojKd0H/N7A+MBdWvXd6E3IA3WVv+1lIyWhO8QcxGA26CTrd miAg== 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=frnB3+wyCKBFcb8KNJw86PB4pJuA0i+FcKPM5HIhWSg=; b=wriUUDSLv6vZQ1x0uqlWTQt4jinyTeyhRF7BbTqNsOVsMPmw4+b82BaArE8S70NYe8 VATw7W4ZkF8izWt3O1JVPkr9VR77AV54EKUA2fwlEcRo0jsSLui+Y8lJ8Tv971R4ljnL Q+E4gX4F6fbOOyjc18cJbcAL9gvhN62Mk/FRZ1UFJgIhUS8nrJkZt314LWSQdFc4Bb5r MUmDaK78whN5Cj3W9iIGEGksNBBgQc+e/mFTFDHMNcK+4v0Q0pgfS6JRzDobQQLTPz9s UckdbRW9ZPDgKRa6SMN2/gtCL7+I+eGNOsl7/3hk7n9Qfb0MDSiRD8FgRpKJUyYHLo3V 3MyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UhI+Y9mh; 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 m2si3187291pjk.86.2019.09.05.15.22.12; Thu, 05 Sep 2019 15:22:29 -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=UhI+Y9mh; 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 S2391276AbfIESdJ (ORCPT + 99 others); Thu, 5 Sep 2019 14:33:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:41460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730223AbfIESdJ (ORCPT ); Thu, 5 Sep 2019 14: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 AC4E02070C; Thu, 5 Sep 2019 18:33:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567708389; bh=jVlKfCd+qY1ZMlZKQZC0N52YZ/f64nAiresv87D2w18=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UhI+Y9mhigPn0bUCjMQereobGTo3zyer/TQE6Tnsf04J8cctxB0llAFNgQzshmgrQ M6BvzjTPQGymnf7SrY1tLgz1eu3m06iQgAPqRpt36Q6sWGGqm/kq5fFWudAhTsFYQg vdELB8xvMqEI9muuvwe1UlG0MhMO4T0SDSNK2A1Q= Date: Thu, 5 Sep 2019 20:33:05 +0200 From: Greg Kroah-Hartman To: David Howells Cc: Linus Torvalds , rstrode@redhat.com, swhiteho@redhat.com, nicolas.dichtel@6wind.com, raven@themaw.net, keyrings@vger.kernel.org, linux-usb@vger.kernel.org, linux-block , Christian Brauner , LSM List , linux-fsdevel , Linux API , Linux List Kernel Mailing Subject: Re: Why add the general notification queue and its sources Message-ID: <20190905183305.GA22877@kroah.com> References: <156763534546.18676.3530557439501101639.stgit@warthog.procyon.org.uk> <17703.1567702907@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17703.1567702907@warthog.procyon.org.uk> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 05, 2019 at 06:01:47PM +0100, David Howells wrote: > (2) USB notifications. > > GregKH was looking for a way to do USB notifications as I was looking to > find additional sources to implement. I'm not sure how he wants to use > them, but I'll let him speak to that himself. We are getting people asking for all sorts of "error reporting" events that can happen in the USB subsystem that we have started to abuse the KOBJ_CHANGE uevent notification for. At the same time your patches were submitted, someone else submitted yet-another-USB-error patchset. This type of user/kernel interface is much easier to use than abusing uevents for USB errors and general notifications about what happened with USB devices (more than just add/remove that uevents have). So yes, I would like this, and I am sure the ChromeOS people would like it too given that I rejected their patcheset with the assumption that this could be done with the notification queue api "soon" :) thanks, greg k-h