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 EB5B6C3F6B0 for ; Thu, 28 Jul 2022 15:10:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230309AbiG1PKc (ORCPT ); Thu, 28 Jul 2022 11:10:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229768AbiG1PKb (ORCPT ); Thu, 28 Jul 2022 11:10:31 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A79A56254; Thu, 28 Jul 2022 08:10:30 -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 472FFB82491; Thu, 28 Jul 2022 15:10:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66AC3C433D6; Thu, 28 Jul 2022 15:10:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1659021028; bh=boSwx4nc5Ki3nwCx7NoJqqWkMDAaFG4l+5bpGGvuiIQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MFxJHZtQAxrDEdSnAJ5HtPqn66YuVS+P0emVRN8EHncU/oP6ggYepWSXa3ql35I4E IWwbwVO1ROvtA5Cu61ViShIGWyiK/gFQr+MSuRPYYDOAqJTDMacnDetAZPsWGlI3Is UgC0HDT964JeSLtKMX9v4qoodeE3D+4TbEDFVjuI= Date: Thu, 28 Jul 2022 17:10:25 +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 19/24] HID: bpf: allow to change the report descriptor Message-ID: References: <20220721153625.1282007-1-benjamin.tissoires@redhat.com> <20220721153625.1282007-20-benjamin.tissoires@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220721153625.1282007-20-benjamin.tissoires@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Thu, Jul 21, 2022 at 05:36:20PM +0200, Benjamin Tissoires wrote: > Add a new tracepoint hid_bpf_rdesc_fixup() so we can trigger a > report descriptor fixup in the bpf world. > > Whenever the program gets attached/detached, the device is reconnected > meaning that userspace will see it disappearing and reappearing with > the new report descriptor. > > Signed-off-by: Benjamin Tissoires Reviewed-by: Greg Kroah-Hartman