From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6A28C43219 for ; Thu, 19 May 2022 08:39:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235479AbiESIjJ (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: netdev@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.