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 E0F64C00140 for ; Wed, 24 Aug 2022 09:41:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236352AbiHXJlu (ORCPT ); Wed, 24 Aug 2022 05:41:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236291AbiHXJlr (ORCPT ); Wed, 24 Aug 2022 05:41:47 -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 ECDC6357DD for ; Wed, 24 Aug 2022 02:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1661334100; 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=VJEfDpNjGyrobgAqnyun+yn3psPImZfwklCb1RpXEfnbJwz3gG9EPsKzkYBQSNrNuYCoc7 8HVX23jNjdTcioEpI1MwhfRes3CrGyG6hDu8nW78V0cEIlM6qYH/F/qEaunDQmY7n4qiXS eOjl6CDz3RdRg0d7MW5xtEvbdJ9oyLE= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-425-ImYQuzcWNA6XoP4uPvRplw-1; Wed, 24 Aug 2022 05:41:32 -0400 X-MC-Unique: ImYQuzcWNA6XoP4uPvRplw-1 Received: by mail-wm1-f70.google.com with SMTP id f18-20020a05600c4e9200b003a5f81299caso9198037wmq.7 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=NmnM4D0AoD/4mzKQ5aShcDJEAqZecpauFFpKFEhxvjWXBK4qWles1chO38rAXVTiMJ XeNUsRbOie6lGCA5WEmL8ofnRLhken4K39aXCdNAbzl70XSA9ZgARCRkF4bqmZDG2Wvg VBTqV7xkCjYXXGLaf402BB5Oaqvl5dyvJTqCQm9HaBknDc+edUQu92LhehwyEENqM61C Pdjh082a1XyYZ0m3h6o2cgPgLpbevGgJo61iciShd0uHiiGEsmWFrn7O+tPoRUWN2ZAt IM5basENZa5E792/KFdiwgagO2bCsyYfLFyv2+lAR6jvOT8SnjOJ3JgYIGYDoeHcOnjZ dy5w== X-Gm-Message-State: ACgBeo0de1Q1EYXtHrvyD5xErvbFIwdATNDuInJuyuAKZdSF+Z/1V/w/ EmBSPNLgG8UDr9XjI8V0Oli7TNQQ3qupsCHzUblAfwSY7gdUml/8xuJN2OpXnGdF12BYutza9lx fMTiRag2UYeCBSdhd7lwvYS0= X-Received: by 2002:adf:e4d0:0:b0:225:2947:3a5f with SMTP id v16-20020adfe4d0000000b0022529473a5fmr15483114wrm.387.1661334090891; Wed, 24 Aug 2022 02:41:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR6A/ocXjWVRFdjan3P7MYJXQ6e2K34PdNA3e511oLDRA0aYA/dzfItM+B5KpyFeSSw6ofRRhg== 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 Precedence: bulk List-ID: X-Mailing-List: linux-input@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 >