Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp511335imn; Thu, 28 Jul 2022 07:30:15 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t7oYRptst8m+/iOEensuv1l4q/3gubFMQp8Jfc8yY0DN4VEG4QOExY199j1RDhTGqmg3DE X-Received: by 2002:a17:903:41c1:b0:16d:59d9:2bae with SMTP id u1-20020a17090341c100b0016d59d92baemr23821541ple.49.1659018615418; Thu, 28 Jul 2022 07:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659018615; cv=none; d=google.com; s=arc-20160816; b=X7l6x7fkImi0ByyKgU2j9hRpx3CsmthLunul5bqq17QLSwl25V6Z267AN0GSFDasmK l1hvjrLDujSVnU4Bo6P93sSmfBHn/192kT3gJT+NhhXWPX9YYqGgq3fbbrl74LY0uitk qKPb42lg30v6PF3iB8YVkY4VnzEZmHTPqf9vFrkHcAHObtlp5jsSc+X3UrSsSBVe2Pvh r/+DoyUDSakpiNurKE4Rt7/HgkMrvwuXPnl5DmtA/krYIYP1VyRf5DWp43/2gk4k0UUy 3tofOK9uNziTKtsL8lohr9W2s7aUZlXt9otnke2KwqANVrNy1Q8Y2JmeCCCkJXEI8WGW ABYA== 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=MhAw40524xXUOzjGVcKnM5lBAks2aG8ldhbeRczhuMg=; b=ZPpaT5sDXnG0sMfsxmWnJ4fSm+jgiXFd10wAZ9+iKjeuedBaEjTrryKCRK1YyMOf3z UE6w6oMFL1rwDzTPgpTeDBA9z+E0CNFFEMZT89wQ+VVaXfRo8MNKG13aCGwHk0LZcRGb TTIO9ibyTq7ehTt13YgyF3SrYRJqqzRS4KU4LkyUm4HBWZ4ZDIOm97lgDKfKo29nTwNB LldDwPQl417OLfAOSvOn/QWSy934GkZ0A2fCC/mGMAPNDJvyr3+yn68FOLayPHQHDmHW 6JgBM1fcs3ViE4QMcNX/ghJP/ZigkBNvTQRQA/zjuMB6dyrL3AAuxlus/UVzQYu2ScWf QA0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G0eEmVmF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j33-20020a63fc21000000b0040d71f1c11fsi1202019pgi.314.2022.07.28.07.30.00; Thu, 28 Jul 2022 07:30:15 -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=@linuxfoundation.org header.s=korg header.b=G0eEmVmF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231304AbiG1OQB (ORCPT + 99 others); Thu, 28 Jul 2022 10:16:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbiG1OP7 (ORCPT ); Thu, 28 Jul 2022 10:15:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECEB951A24; Thu, 28 Jul 2022 07:15:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 89C2C60A0C; Thu, 28 Jul 2022 14:15:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65A63C433D6; Thu, 28 Jul 2022 14:15:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1659017758; bh=XQKBFaRErqdItQZJM5OYfXlbertewK+rSTKbx2xq4I4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G0eEmVmFz13qB6U6VeRedMt5HPRU/h3Xq0SaITmNAc6WwSgmSLvzGTFLHpUIPOGnN Udh26BWJvfDBphvUiaXjvTJsZxu/pfNERXXcS8oups4euwN04L2APt/q+hl4VF2CYA llalfkOOnc1p4t0hViMmkjmX2kGwAEJ8CSVjkeBo= Date: Thu, 28 Jul 2022 16:15:55 +0200 From: Greg KH To: Benjamin Tissoires Cc: Jiri Kosina , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , Kumar Kartikeya Dwivedi , 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 v7 13/24] HID: initial BPF implementation Message-ID: References: <20220721153625.1282007-1-benjamin.tissoires@redhat.com> <20220721153625.1282007-14-benjamin.tissoires@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220721153625.1282007-14-benjamin.tissoires@redhat.com> X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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, Jul 21, 2022 at 05:36:14PM +0200, Benjamin Tissoires wrote: > diff --git a/drivers/hid/bpf/Kconfig b/drivers/hid/bpf/Kconfig > new file mode 100644 > index 000000000000..423c02e4c5db > --- /dev/null > +++ b/drivers/hid/bpf/Kconfig > @@ -0,0 +1,18 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +menu "HID-BPF support" > + #depends on x86_64 Is this comment still needed? > + > +config HID_BPF > + bool "HID-BPF support" > + default HID_SUPPORT > + depends on BPF && BPF_SYSCALL > + help > + This option allows to support eBPF programs on the HID subsystem. > + eBPF programs can fix HID devices in a lighter way than a full > + kernel patch and allow a lot more flexibility. > + > + For documentation, see Documentation/hid/hid-bpf.rst > + > + If unsure, say Y. > + > +endmenu