Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp385727rwe; Wed, 24 Aug 2022 02:44:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR5BzS8zztN7dJX3TE1VARFv7Uu6j4n5B2bYstzg+DdmS0LMjf4SNHOV+pFsRiDPPtVG3UTW X-Received: by 2002:a63:d10f:0:b0:429:e6ee:780a with SMTP id k15-20020a63d10f000000b00429e6ee780amr24024927pgg.31.1661334256087; Wed, 24 Aug 2022 02:44:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661334256; cv=none; d=google.com; s=arc-20160816; b=akpE3FHxYnBy2UjZXgHsyBVjRQQiqdYKp6lFzNp44QpP8gN8suwSfgrSTJR+vD3zVN 5d7CgwnrcKccM7YQaDj6EhqEpoppDnCMsZG8NggrafSODbL66oV/EYPU2fuTtULRURa0 CjtN86ntoErlWqcTKxdeNStAcLXps93dewyK7kGaD+0OGO1y6mrN1fttECc2bs2/Nj4u ENrQHx3rIg5ifU6akEHSsgdi6MJx30Eb2JD0pXmq+EJdP54CTvYb8wCsbQDhEeoYXL2y ebmcx0NaPb3NrfgCrLTi/u+VKV5P0FpPZUNgrM0GoCwUBGWqTtgCFwhdyuWjMN7z0Jt6 oPGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=rXZAbOi80OJv3uidummRV0C+m8Czemv1wTSXuU14uGc=; b=X5EQdslGraZ+UsKxHKJFIwlBO1AFUfZSyOu0DBI+BC2ZjraIceOxqEGmo+6In8DNKt NfRHghyzX+oDJS39MA/oeS08Hi9WzKcB+ZUpQJldlvngS6wHc7npUuYIIQZjQt404q3f ZTjhWyHXFfKrq5GNzHGybzinLjUf9cDmkzQDNCskyHyJEBeBuTI5U2tsH6elBU0ygLOg 8TXfWiVpGEOy1uXqGlFirqCFT6Zplu2pevcrtTooBz7lT41p9YKhu3xMhLKYyuVFQda7 WJg5Uh56TBFKtOVP7Ar2TLk8rGCKUL8lJsa0BKm21fu8TS/XUQq8QrKehZXdZcpZwpxE hKZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=N27Ewjd9; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o8-20020a656148000000b0041cd5c02963si17677782pgv.334.2022.08.24.02.44.03; Wed, 24 Aug 2022 02:44: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=@redhat.com header.s=mimecast20190719 header.b=N27Ewjd9; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236247AbiHXJlh (ORCPT + 99 others); Wed, 24 Aug 2022 05:41:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235329AbiHXJlf (ORCPT ); Wed, 24 Aug 2022 05:41:35 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D76CB3335A for ; Wed, 24 Aug 2022 02:41:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1661334093; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rXZAbOi80OJv3uidummRV0C+m8Czemv1wTSXuU14uGc=; b=N27Ewjd9B6KTvQuYFsvuwoBGrU3Dhf4T+6maws7V99qNznKp5Oi2Qy4tJUJFu+nudpWLSN r/SV0s69SksVE3MN/veXkM2fyZDEZfWyih2ISvzr5NdqVEtrUS4bK4OKPQGKNq2MunqiGi a65xLpVqxCHUBADCYGNBcfCyBc1dKOA= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-651-PbTlT4TpMqaNYjQxTz78Xw-1; Wed, 24 Aug 2022 05:41:31 -0400 X-MC-Unique: PbTlT4TpMqaNYjQxTz78Xw-1 Received: by mail-wm1-f69.google.com with SMTP id r10-20020a1c440a000000b003a538a648a9so9190511wma.5 for ; Wed, 24 Aug 2022 02:41:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=rXZAbOi80OJv3uidummRV0C+m8Czemv1wTSXuU14uGc=; b=0WJqwKTQDYTOwMDeb9VT8E2FZLJRZt3jKBpkX9i0EDG+mtPhZ784+gmT02yrPfjfss 7fu5Znw55VK3kdgiYfj5QM0tPKZxzH4WqdToNCjKIJB7XDxorIXcoTvmlWeYIH/Cp//a a3wkITt8Wf5Zwp00Ma6uH+Ygl0CdOecY+GXMgED3LfW1T0qXcWPkp1Px1qAdJb7XvD5f tbZ+jbxdl8Q/LAEhOPJ87J+5FYLuUm5l/ZmI15jWbNN21+1yqUgY7P30gI0DNmpgdXaX jGVd7V8hg0Vustwj+pAB/u568+ITDP1LksY9WmeErojDIu+2Wbrg/zLslsykI9cKl72p q0eQ== X-Gm-Message-State: ACgBeo0OTdCzCkCfbgYEly8hnokMTxO5OdQoP0qfVZ2rzrcVaCgr1HzG SxOVRORG6Fy+DMHqsVatzBtfaqXVTF2zL8L96J2qwht3r8ufVdyzd9E1eLbjK7yZtv726AfJF7k v9RCbyziL02vCgIwb6pDw6YUt X-Received: by 2002:adf:e4d0:0:b0:225:2947:3a5f with SMTP id v16-20020adfe4d0000000b0022529473a5fmr15483103wrm.387.1661334090890; Wed, 24 Aug 2022 02:41:30 -0700 (PDT) X-Received: by 2002:adf:e4d0:0:b0:225:2947:3a5f with SMTP id v16-20020adfe4d0000000b0022529473a5fmr15483088wrm.387.1661334090693; Wed, 24 Aug 2022 02:41:30 -0700 (PDT) Received: from [192.168.110.200] (82-65-22-26.subs.proxad.net. [82.65.22.26]) by smtp.gmail.com with ESMTPSA id bh19-20020a05600c3d1300b003a2f6367049sm1335730wmb.48.2022.08.24.02.41.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Aug 2022 02:41:29 -0700 (PDT) Message-ID: Date: Wed, 24 Aug 2022 11:41:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH bpf-next v7 13/24] HID: initial BPF implementation Content-Language: en-US To: Greg KH 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 References: <20220721153625.1282007-1-benjamin.tissoires@redhat.com> <20220721153625.1282007-14-benjamin.tissoires@redhat.com> From: Benjamin Tissoires In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,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 Hi Greg, On 7/28/22 16:15, Greg KH wrote: > 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? Nope. It was required a few months ago, but I think we now have trampoline support also for aarch64, which are the 2 main architectures we care right now. Dropping this from the series. Cheers, Benjamin > >> + >> +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 >