Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp564166imn; Thu, 28 Jul 2022 09:02:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sR3HNCvWIyAoqP15YuRu9qbgH5h+i619UXDV6KCP20iPoTCCF9AgMA0+JPCPHwZ2OyqyyF X-Received: by 2002:a17:907:7f9e:b0:72e:d375:431 with SMTP id qk30-20020a1709077f9e00b0072ed3750431mr22097839ejc.580.1659024130013; Thu, 28 Jul 2022 09:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659024130; cv=none; d=google.com; s=arc-20160816; b=IUFxP8BcBuC723Oq0ueD/HlnCMP1Px6iEYQ9cqyxlfatUz8iaJ++hAJCB0aBNuFWSg BCoC9LrlsDMTFSFd9sC/29KQ2nBXyfaEvZ/3S1D6TKI+3dLnab3UQPPTMmTiiLOcOvb2 OdUf9W8hjmoC2HhdvhCl5Qzcx1mh6NXewTa4wt6JkO0JIaWaxf7XsOXjY7xBfUZEa8tE NP8AHtwmnN+dwx5HwhuupK1U0xV30Up85fbTiPYLkn/cJ4p3aMmWH+qSsc1qnaZ5VVGk d475JiIL3aFwp+cg3LKlXk+LcrWXwnejYwwhZt4uUSbueX8HS+VL+4v6ft6MBFotqC8u 1wFA== 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=Jr+WJ4BuBo0B0TAdQ2aFtK82b/1hBm500mhihtihbW0=; b=EeE7ZcdQ8uDByQgrdT6DObNbtw08soz2zAx9xYH0WIlUX3uC/fNVdMXZ+Ohys59Vbs 30MkXlukOCIPz0katPB8P2rgK+ca0RBwij6xjDHc2x9yqpRs4WuaSseQoKdEFUoVbt1V GAtdwk+DsDvuiZyVhEeTAullVwpzioV6vf49q3zjV+SanJm3Nqfi7VkaX7v7FTJpo1tW zbQ83zK51y9cYVeLEXfhx95Kc23ZsFh3aqM38gp+34HYvi4ceZgwF2ufTwv4xfESj0E/ LN/z+1B0AGMF+VQv8DhIXxgm3/PTnpCK4MI2IR+ElwL/bYlWlq4y0gopaFIHPMrQohwQ lKLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XqWcV5TJ; 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 qc17-20020a170906d8b100b0072b95dee668si881027ejb.489.2022.07.28.09.01.42; Thu, 28 Jul 2022 09:02:09 -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=XqWcV5TJ; 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 S230371AbiG1PKa (ORCPT + 99 others); Thu, 28 Jul 2022 11:10:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229759AbiG1PKX (ORCPT ); Thu, 28 Jul 2022 11:10:23 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1915065D8; Thu, 28 Jul 2022 08:10:20 -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 ams.source.kernel.org (Postfix) with ESMTPS id 6B2EAB82491; Thu, 28 Jul 2022 15:10:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90636C43145; Thu, 28 Jul 2022 15:10:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1659021018; bh=fYQZV/bSEs95zXYx5CZFM1fkqTM5dd66/FTjGvK0v/s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XqWcV5TJbn1UdXP6Y/J4Zwyxb1CT01N0Q30RxtkGiDg6Ubb8Zd1ppXnBcVsKDvgQy agPpfS6cbPvdZNMgw78e9tHHw0rplBy/jz9RWEsGE/mh7bvc4y2Tsh8f2hWkMF4ZOy uRveOO3UCJ4UQvtdDut5cG6eEzYZ4xrgYygHQqc8= Date: Thu, 28 Jul 2022 17:10:15 +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 17/24] HID: bpf: introduce hid_hw_request() Message-ID: References: <20220721153625.1282007-1-benjamin.tissoires@redhat.com> <20220721153625.1282007-18-benjamin.tissoires@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220721153625.1282007-18-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:18PM +0200, Benjamin Tissoires wrote: > This function can not be called under IRQ, thus it is only available > while in SEC("syscall"). > For consistency, this function requires a HID-BPF context to work with, > and so we also provide a helper to create one based on the HID unique > ID. > > Signed-off-by: Benjamin Tissoires Reviewed-by: Greg Kroah-Hartman