Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp553153imn; Thu, 28 Jul 2022 08:42:29 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sNwiOsZG0W2q83urJ0vziRAwScU1yPBoK5MZMPNALe7hFibll6ji+SCymcsKt6lfDWKRwW X-Received: by 2002:a17:906:cc11:b0:72b:458e:5d45 with SMTP id ml17-20020a170906cc1100b0072b458e5d45mr21418455ejb.589.1659022948787; Thu, 28 Jul 2022 08:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659022948; cv=none; d=google.com; s=arc-20160816; b=wcJFCSd0WgIBLYQFqJuOX76vEGXJrYJ0PG9ga0UEaZ3+kZ6TnMtBcmYTLLR+fsVmHH z5fc7P7w76SmsZqDzxkyQw2Mo3OYBXARKLeCJRm17oxfqTQgVEOH6nhOGB/R53s1aPMH gT1tBukhAmdln891HRyuFeRKuo19bTWdeaBTWlCeR/2c0EsKHBbs2ONrYjBgoNnzM7Xj QBWy44qzqOFdHCbehq5vpMUaet+tUarnY9/EwnUcEYcwwzYwWzU1B6onCIsrHKQ2ljsZ sg/asWKwLTfQnltcOQ7jjfM0OCljvviaA6UkcLXbGFB6W5D9rakpQRHub8srz5oHY0tG y8ug== 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=eN6AKBCPKekMt2U39FivB1G2+PzMmB1f0HuNoOx521A=; b=zaipQrsb1emdfo3FbUGlxTBissmuTJchSCa4RFe8vd022uR9wqfn3aT5mNLTGrvI4l U42yvS2N+l83QVa5uRj1kiX5YnLfr9pZ7LrLzHeQZrnLMMGnacA8RFTIUmFCuXz+gBzh 4E5G9MDSQBt7XhMTV3CJ6x/AvAKJaWG7q308YBgEg5Xglw2kPFGS/w9Qo2re0od0wl28 XKMRKVILGoDSFvcBLFusNDFU00e084uEIreiZU8NktmTvMliWtA16Mn0hUD73iVjiuWZ /LCzzl2mJ16QMzVQNiXAQ+FrJDvD1DUJQWaKVMaDCJTYb8J8spOlKlgbOQlza7YHHFxt DLoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MFxJHZtQ; 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 i17-20020a170906265100b00726cf00b7c0si785114ejc.469.2022.07.28.08.42.04; Thu, 28 Jul 2022 08:42:28 -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=MFxJHZtQ; 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 S231573AbiG1PKe (ORCPT + 99 others); Thu, 28 Jul 2022 11:10:34 -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> 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: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