Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp259214lqj; Wed, 10 Apr 2024 09:33:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVBiZHqE3Mc/ePCOCMvzRWYYY0rKTJBGWx3HMvzgsvkZVe6ZhOVzf+9E2njjlRpGXqoqHDN2yII+yM5Ho3YcJkJHe/P/IpSk+Ngcrz3Og== X-Google-Smtp-Source: AGHT+IGrNqbRHLbPhdTBa7SXM2o8e7TSQK5ng1Tp+hj6zR7zPkCAOuhEOk4zcbBpAwkWgjsAItYc X-Received: by 2002:a17:906:6948:b0:a50:7cdd:348f with SMTP id c8-20020a170906694800b00a507cdd348fmr1979150ejs.46.1712766819489; Wed, 10 Apr 2024 09:33:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712766819; cv=pass; d=google.com; s=arc-20160816; b=v7fe2OqGJWg7SsLKU8NNr5LY3UEsn8NS0SM4R9VAxgMcVPNEpaRKUZh5MzZCujsFBt +8QIEDrZ8mFaZEJCEot93tsoEA8M2LH0CeeY02eP/siRkiL9puxaK8T5EeSTUsZxb2Q+ Zg85VEes0msl45rFqR3ZnmU6O4vxQqcFvqF0n0GnWuhz4FyCHH2QvXm6hAU360ehAHiO TdhbrpyBfqCCJPMXJWPdlzxlgYJLFa9wzL0mu9bQ+ROY0uwlf97y3FwmNC5AxgCZn8TH Xe5S9XAHGyzxt/GC7Ki2YrrRHa6D2Et0cumV0npe1ANPaONezG49Gy6+FTUoLMJ8I5bu wKyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=lNu5tqdmNvXN5LFAnqWhnCVXXih8OjoqUs6YMpX1Ii4=; fh=dsWhAJ2q6+c2WjaEKZvXqVfpdjpqVhmpkdVHJ7oSW20=; b=0w7EyqvRFurX/Yar1zCrLTKR6lt9nazxsewDWOwunaQ5rCnjgEINMOvrSFhwe3n88H lR23mQ9vjWH1bXjd6PExTDDsOXcwIeyVSRSS/J6cldbcLJO6Ir387siaZZA4e8aWuQUk bKU68eOK9Ir5uR/W0Y+NWrNNehdBE/RxZHvCS5x7UXksE4aq5cmuXfw/UFR1TXI9kBLH 2ZPbf1uRR/7QuFL0oKhdt5t+OiMc79PXySWXeGK2ea0mTAVTHhqRN/a3unAf3W3A1Z4A 2oifMgYqdOz8ydcxR6wioA711C5N2WQglhONt3Ax6MulUF21NXL2ByjM8h/itws74DEj CRdQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iheQ0+ts; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138980-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hz4-20020a1709072ce400b00a51e004de4bsi2797209ejc.763.2024.04.10.09.33.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 09:33:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138980-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iheQ0+ts; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138980-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3AF051F24958 for ; Wed, 10 Apr 2024 16:33:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A45AB17B4F3; Wed, 10 Apr 2024 16:33:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iheQ0+ts" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B76411779A9; Wed, 10 Apr 2024 16:33:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712766795; cv=none; b=ad12oPhoDkoweEiyfMFrkMKP2tfIZ6gzlpqLqrnIWAWoVWnI+8wFZMAaCdLixUH5UpbTtJw+EpOpJ/9YGCyCHB3cuhOx7vKRCcXx2UObFqQeBzos15d0SaFarbzDqUd2hvgIY+GaVCzCnrW/xj48bJnYes+kbGjvWqnjOv9RnOw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712766795; c=relaxed/simple; bh=zdTTjqN5WOW+ZJIVOucJmi2IMTJ4bUsqkj4XLk6YKwM=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=fqQFDIUtOkeMQiokNuVbuak+jzk0Fzj6hbf9gSrlpBZnjCgzdZ8mc+3SGg1XgKLeDjqvmBcT1VSTL9n2LEGsu1z1hsoWij1i7ZzbLRzmtHdAtqvUDBmOK0zF6ol4qfazEPnynP2euYsxubXoLuKbJFrSxzwnKS6yAv4xG2AaCB4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iheQ0+ts; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6600BC433F1; Wed, 10 Apr 2024 16:33:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712766795; bh=zdTTjqN5WOW+ZJIVOucJmi2IMTJ4bUsqkj4XLk6YKwM=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=iheQ0+tsS/+/j5Q42qjq17Zxf+AuuDQUSsFT26iJKvJ48IulqrEysb21kIUpm0ruO DznIGY5BTtI+UC0eqoSPCfB6EzHnzLkAK5JjHhZtBgP9CugrwtQqIHYgOo9ForvpSk HLeu3nQCu/pI2fAMJpJ2WrwAlr3OOPNQBpnywduPyBeC94NZI3g9NRb9kPCHOWppfe ZCDGrDUuWcDOA70w58YqoSKqGq2Vb2cpxEuXdBZmfahArE1/WbVgzKMCONUvGFv45L wRh33Wn4rXzNFx7jeExvXXAuH/mBIyDR6Oz41fgDA1b0rMFcBjXNNXUjV66aSHfM6e Z7BCdbJKo7e4Q== From: Benjamin Tissoires To: Jiri Kosina , Benjamin Tissoires , Jonathan Corbet , Shuah Khan , Benjamin Tissoires Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org In-Reply-To: <20240315-b4-hid-bpf-new-funcs-v4-0-079c282469d3@kernel.org> References: <20240315-b4-hid-bpf-new-funcs-v4-0-079c282469d3@kernel.org> Subject: Re: [PATCH v4 0/7] Extend HID-BPF kfuncs (was: allow HID-BPF to do device IOs) Message-Id: <171276679313.377823.15584724900641468692.b4-ty@kernel.org> Date: Wed, 10 Apr 2024 18:33:13 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.4 On Fri, 15 Mar 2024 15:44:37 +0100, Benjamin Tissoires wrote: > New version of the sleepable bpf_timer code, without BPF changes, as > they can now go through the HID tree independantly: > > https://lore.kernel.org/all/20240315-hid-bpf-sleepable-v4-0-5658f2540564@kernel.org/ > > For reference, the use cases I have in mind: > > [...] Applied to hid/hid.git (for-6.10/hid-bpf), thanks! [1/7] HID: bpf/dispatch: regroup kfuncs definitions https://git.kernel.org/hid/hid/c/4171954f56fb [2/7] HID: bpf: export hid_hw_output_report as a BPF kfunc https://git.kernel.org/hid/hid/c/5599f8019661 [3/7] selftests/hid: add KASAN to the VM tests https://git.kernel.org/hid/hid/c/c8a1495947ff [4/7] selftests/hid: Add test for hid_bpf_hw_output_report https://git.kernel.org/hid/hid/c/db624e82c55f [5/7] HID: bpf: allow to inject HID event from BPF https://git.kernel.org/hid/hid/c/9be50ac30a83 [6/7] selftests/hid: add tests for hid_bpf_input_report https://git.kernel.org/hid/hid/c/2c0e8ced7d4b [7/7] HID: bpf: allow to use bpf_timer_set_sleepable_cb() in tracing callbacks. https://git.kernel.org/hid/hid/c/685dadafbde2 Cheers, -- Benjamin Tissoires