Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp60464rbb; Fri, 23 Feb 2024 11:43:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWqI4Se7KaJeI/d7K3kGQG//9e4cnhn7Uy+0vIg3nbIceoyphJ2MmYE3tgd7NMo9QSkRT1aNdB3+CW/fjf06DHl4t+Z22dDWtMvEf3iuw== X-Google-Smtp-Source: AGHT+IGl3cEVam1glz4uDr1v5JUZbcj3cEDILtERBu1A0vm2xiT1bhMIs5DfWt1+Wlf/krartptN X-Received: by 2002:a05:620a:10af:b0:787:ad35:cf64 with SMTP id h15-20020a05620a10af00b00787ad35cf64mr796570qkk.75.1708717402797; Fri, 23 Feb 2024 11:43:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708717402; cv=pass; d=google.com; s=arc-20160816; b=uH6M5lU3YWk3/JxY4PP27KruzakOZvpzwdrfTBeSsqr/voXnFVz9M4EN/wTv7EjxEY umfS9Mj/VY3znL9O/HTIy+DdQCsJNsL+jxQupacynnkH6MQ3oeriKBubzRlJufFQ3K9J Jy01o88J8A5Fi6hNQO73l8LQrKIelvZmBpZPhqI/o7hoMgut1T30cDDND2wIoqS+j/n0 6e5SPVXTRu3xhsCy9esaaBKW25wBHKZks4ARJ0qsAxBVdhqJiuwnnfK2/9VlOJHrNeNo u7dW0rN8QbaEIqHl2V8G2KxpSOfb/MaOMu9oKjFV9G2XEL1aNlJTFFG2ImjKI7v+hWm+ n9Tw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fcXO44ZLy2si6MsDwK4O4ApwHVUd3FRTn9cxyB9Yp2g=; fh=nRK4yoTKg1+cQ3tvzSbLaTNNdRWe7mZSggDF7kMMBLg=; b=jvjH2YnVp2EsubvSIuwZSGNxToMGjSkI9sIIO50FHasqpaFVTE+x+Auc5h3CZylBo8 S/+tVRbBoL/qZxmaHPRTz8qoDhMESxFMIWM/dnDsXXoEu6nCtcYierRj9/OJIV0T2lGN SfZZ7fJuF1vfQB2LypKeTcsbNhmhna2m1iVKfXKBhbOTY0tgff8fQD575gNDY1oZ14Le PVgjdMIqB6ooRPKy4FZJ77m055Tq+h8SCSr48H6VkQWVwXMd4ziKY7NJQW51iwqs7H9t rKU+fGEopHa4JJU8XW5dzG6qQJdMrTVfFOCLB8AYJ2fI2TEu0/iT80W9HyE2koW4A1/s fImQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ojtNWE2w; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79047-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79047-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f14-20020a05620a15ae00b0078730d3edd3si15995576qkk.605.2024.02.23.11.43.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 11:43:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79047-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ojtNWE2w; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79047-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79047-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7B4A21C23EAF for ; Fri, 23 Feb 2024 19:43:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9180014535B; Fri, 23 Feb 2024 19:43:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ojtNWE2w" 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 9FCE512A16D; Fri, 23 Feb 2024 19:42:59 +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=1708717379; cv=none; b=uTgsfnr9+p0ZFG6FGojDrO3PwGiI3yZSIFJDWsSjMmklnbfSyqCCBbGogSXfV//5JBJljbKBcWSnSdM85hRiKESsiu5xkKmdAJSIsupH90qhadLiIpbe71e2r/bQU/LwZkrlkucUItPtXXH/78Ppm/BjMK4y3x8hIY1wzqRNBRw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708717379; c=relaxed/simple; bh=Ipxh6K6T10/ohVhxiV2SK9ec9fDPFVvmnOAmFP8wfZE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UbaPxTAZVzVq/FjCxijguysk489d2E+e0ecANFJ+edVEfIni3bi+lgGO/QhuH775QrowB2pU6P9OXdZv4V8usupED26huVq5lM8IlWNFR7NfkPEXKbW4CVPJyWNb/gBmW5BdFqbCykpflzkVpZLYW5Qpm5KcyRWVf5BIEboFHAE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ojtNWE2w; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DC6AC433F1; Fri, 23 Feb 2024 19:42:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708717379; bh=Ipxh6K6T10/ohVhxiV2SK9ec9fDPFVvmnOAmFP8wfZE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ojtNWE2wdRFt+1j/swp6GIN84oNoqsmVHCqt8kAJcr1X0psbceKeigwliGHV/E+4v t87KvjNjrMHBvCqnWHMdMNBXi81BcTJpLS7pHfMybYNDl17vsV7MSzaBijxnQf6m7n GJ4oyk/gugH1jkxTOeaO+y/ncw9eOMFjN4Q09m90jnonyYOPlb7KtCISkvUnrzGUm7 SJKLpMcdbUlaavhb6A0JruxKOXUjroun5IJsVkDXm5cYMcOCoSNFoJX7E8DGUAgI8n OTv2hVS0IXdDOOg6ujyzPvgo2uL61TaUezvNiOQxeY5Lt1O9wsmlMZADEyNmtHgTBO 0+nNvHTKTDaNA== Date: Fri, 23 Feb 2024 20:42:51 +0100 From: Benjamin Tissoires To: Eduard Zingerman Cc: Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Jiri Kosina , Benjamin Tissoires , Jonathan Corbet , Shuah Khan , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH RFC bpf-next v3 00/16] sleepable bpf_timer (was: allow HID-BPF to do device IOs) Message-ID: References: <20240221-hid-bpf-sleepable-v3-0-1fb378ca6301@kernel.org> 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=us-ascii Content-Disposition: inline In-Reply-To: Hi, On Feb 23 2024, Eduard Zingerman wrote: > On Wed, 2024-02-21 at 17:25 +0100, Benjamin Tissoires wrote: > > [Partly a RFC/formal submission: there are still FIXMEs in the code] > > [Also using bpf-next as the base tree for HID changes as there will > > be conflicting changes otherwise, so I'm personaly fine for the HID > > commits to go through bpf-next] > > [...] > > Could you please also add verifier selftests, e.g. extend > tools/testing/selftests/bpf/progs/timer.c (bpf side) > tools/testing/selftests/bpf/prog_tests/timer.c (userspace side triggering > bpf side) > Negative tests could be added in > tools/testing/selftests/bpf/progs/timer_failure.c > > Please let me know if you need any help setting up local BPF test > environment, I have a short writeup on how to set it up in chroot. Thanks a lot for your review (and Alexei's). I was actually off today and will be off next Monday too, but I'll work on those tests next week. Cheers, Benjamin