Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1396384iob; Thu, 19 May 2022 05:56:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNlTrNx2hBN5AtFHLjxU1BmT8f5hBHsISCKbDooqeRlhbfNtgd99AlBxfMUoGijPNSQWnp X-Received: by 2002:a17:906:9c82:b0:6e1:1d6c:914c with SMTP id fj2-20020a1709069c8200b006e11d6c914cmr4095971ejc.769.1652964976510; Thu, 19 May 2022 05:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652964976; cv=none; d=google.com; s=arc-20160816; b=nJKOGX+wAkopKtgrnMsP1gxJOPaLE8MckI3comupsq1QIuQ87MKYJueNdJ2UoDm2ih nltJx/8u6fLCX66yDCnfZ9czjLhEELGmcu3fxZhUP3QW95q8Sla6nlK3vLPAk4zJLqrR D9CO2M3rsvxdE6Q0H4RYZTK0aGHW0UoIuPBVB0cL5SOZ7Q5GBsl9SRbOIfaMDGcGU2Yw VraSNVljxaGUaHnk/iMRCg4qcscS6lTR849QjDkE6/5l0NWe3T7Px4sFzZb5AIe5b82+ MAMfw+8xrUCrk2D5iJI1UTJ8Zm0Yt6d/+4VUqGXEyw6HScGA9NeEGfoBCXnHdnaY3qlw zB5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=g/oPe5bXk7tsbULLyYHhkrNj6UcyM44d11Xk1/aVMmY=; b=WOFBTjOYBjiNyj0k5QwI0+8zKIV+rMkeVvqce8XOT+X8UIw1awAFF0xfujaMqax7fj 9ZyIMY+f0qwo2Cxy3LXWrN5+gv0KILIsbXatJeY66O/wTUInwyQgR1z0ZekLBL8d3Q9M FW+ALD2f/4TBN9jauRw6nbLcMcG/yZk9tUGfHqa3q+DaD386U6jsQPKNniU9QRbKRA1T 8O2tujRMbkEygFLTH2WHysTIQeHWFDwYxSF2vOB+74SuuayW2ttDaRXVVuo5bh9kfMf2 fcrbYizDywF3WWF+sqDQ/HUwR3de7yqL+bi6vyDJ31lS3XEgCOggWzMu9WvQjsG05Iis 8k3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=q6yzGmnt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s1-20020a170906a18100b006e7fd3dea07si4404482ejy.698.2022.05.19.05.55.46; Thu, 19 May 2022 05:56:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=q6yzGmnt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235477AbiESIjJ (ORCPT + 99 others); Thu, 19 May 2022 04:39:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234771AbiESIjH (ORCPT ); Thu, 19 May 2022 04:39:07 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F34577F12; Thu, 19 May 2022 01:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=g/oPe5bXk7tsbULLyYHhkrNj6UcyM44d11Xk1/aVMmY=; b=q6yzGmnt5k0dWGLzN+N/7kJIII I5rTrvru7kLRG3wr+UYoaPMbB1e2Qri5xfzHb5GHqQAVfJc0R0WXnphvur5nbLmog9nSj7S5VODIC sO5QfAA8o9UkWgXl/5J/j2kNOzfqSIgmy7QCmFnSb9oSdFELbAe3z+Sacpp58JSL8HkDNcuE3+ulW AZ/s/TuiUpNOlmr0HsAa2zOCXXQ+HBa6jpT1U1KxML/b5CvAsaaNFikomYd91zIfALWMsNiPMk2tD Vo4f9CAN3kDjtwf32oJIsYG/G8fwB8d1m7JQ93m85cJJGH0PE94C6Xn6GuF2bkhuINisDCuFcZG3l dB4HBWPA==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrbgQ-005uXP-BN; Thu, 19 May 2022 08:38:58 +0000 Date: Thu, 19 May 2022 01:38:58 -0700 From: Christoph Hellwig To: Greg KH Cc: Christoph Hellwig , Benjamin Tissoires , Jiri Kosina , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Shuah Khan , Dave Marchevsky , Joe Stringer , Jonathan Corbet , Tero Kristo , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH bpf-next v5 00/17] Introduce eBPF support for HID devices Message-ID: References: <20220518205924.399291-1-benjamin.tissoires@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 19, 2022 at 10:20:35AM +0200, Greg KH wrote: > > are written using a hip new VM? > > Ugh, don't mention UDI, that's a bad flashback... But that is very much what we are doing here. > I thought the goal here was to move a lot of the quirk handling and > "fixup the broken HID decriptors in this device" out of kernel .c code > and into BPF code instead, which this patchset would allow. > > So that would just be exception handling. I don't think you can write a > real HID driver here at all, but I could be wrong as I have not read the > new patchset (older versions of this series could not do that.) And that "exception handling" is most of the driver.