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 E061DC19F2C for ; Thu, 28 Jul 2022 15:10:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231368AbiG1PKa (ORCPT ); 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> 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