Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp578207lqo; Wed, 8 May 2024 08:32:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVbAIpCjjNYepTso84lzufmJyOOBKxVqNgMGyZR7zlPh5pOeFQEFYBF4bRpHRgFqqXeBPNCBPAv80XkrjW0Amx7V6cFUORgX6GaJp92EQ== X-Google-Smtp-Source: AGHT+IEyd8jbhbfAZNw4KgRVeb9PlLfDmZG2kdF8T1C0tjDYWZ/ITID4cZT3h6djTbO+fn4z0fay X-Received: by 2002:a05:6a00:6105:b0:6ea:e2d8:468 with SMTP id d2e1a72fcca58-6f49c2a7f5emr3086465b3a.26.1715182357303; Wed, 08 May 2024 08:32:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715182357; cv=pass; d=google.com; s=arc-20160816; b=IDlxyWbDBkYtDoK9UJD39zw/IUGi5DBhr6I6zrnZQ7cgwv/kuyhOHudBPcLFBeNWkB Len8LIMs/UNgxSEonnfzig4tFwPxQ+9HPP7JryV7LZgi1TJkADEWXUxUMBQDJocQrd9h 9O3XmHFVjWCog1G5pcosoCdmEwlk1IgMPzYvIy18o6mbWp1Xin40rjpdTOsnvNQiVElR NDWTdl1wIosMu2nMic60C+sPkquePVR1Dx2nJQu7thQQx+7oFMdlFCZ5fPZQYdzxGEhE DRIDSFYiL87zr7RdGzKmoSfZO6k0dqZIG1DLa/zgEvFoiLED8/iv1aSBHqqa45uv5bLF ZjWw== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=/4nP1+QckRF8/SCerBUyyFiz2tWvOKKDzdFVq/ZtbE8=; fh=7Vek+laWpHf1S6HEVZZEPfG2Q3rOwUwKKSawt39Omr0=; b=Rg8JBf3bob/p0z5edGvGpKx4PCwY6RCXX7BfXfniqROT25pyK3HFd2YzkkPdDrzSGs 8COw5SxlljNguZkYYnN7pYBP3Z3brEKsNOWKgyJb/TFJopUYGpkwFN9FINZ9vwwwkvJ3 7e2hDvH0B+d31gbap48roAiT6AQqNFbQ/rkqohjUzPmhT4rxIKso7D6Ki6x3QqZFou/p 30Tsj5a0b/kmntntL409ktlM7Kfy341i0O/uuRB1ChckMDBcL1RHgpUhC1ZCt5xZ30Y0 XLeBLyWNfOl5shtXe96utAtHaImICFaoeXH3N4yAdjUafexXP8FuO6XGd1qbKB/RthXR 9vKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oaOq8vT8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173481-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173481-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d11-20020a656b8b000000b00632be9989c8si227837pgw.746.2024.05.08.08.32.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 08:32:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173481-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oaOq8vT8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173481-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173481-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9E2D3B22B6C for ; Wed, 8 May 2024 15:25:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7FE6127E37; Wed, 8 May 2024 15:25:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oaOq8vT8" 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 CEE08127B68; Wed, 8 May 2024 15:25:35 +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=1715181935; cv=none; b=sl5540E9vxXYqmPaSROmg1D62JQV5ydixl/i+O3NermhtdB0sfsgttwCNmdZ5dGLjtNStIUvR1gXebNUvehBcC2iFR37jTuSWzF5KIqqDr8RjWp5w5eL5031uiM0HZ7QhXDlDMv++wQ6cePrtPDer0uv4eYZVyf2kPFYBZ/DOk4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715181935; c=relaxed/simple; bh=v+LCBawZUinlZ/kH4yoHavtuY3E/hIPj7ZijTmY1JXQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=t2sJKWW/lK78qF8mD6Qw/smLiqVTfCqG5fVuxHkm0W+l2ciruAL2vQuFyp10E3Iu2KEszLWy7ph5a+OO2Spj2Y2QlDdpXhu5q6Q/o+30D7r7NjIEykCWWG/MFJPnvQiiSg1UbwxGuiLIaltyLNndXWrDh/5jy/J8kwbsvAIJcow= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oaOq8vT8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7703C113CC; Wed, 8 May 2024 15:25:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715181935; bh=v+LCBawZUinlZ/kH4yoHavtuY3E/hIPj7ZijTmY1JXQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=oaOq8vT8Mf1zifKh4rJMDX7eO4brejCkk3w/sN9cphWeDS7Dcdj5ACO+sBEntms8V Svm3sFFhm1mxlbV8cn5nqmWCm6AqR6AQ4m2H7GyZ4u5HdzKDtSMyy2dHvB91245RDR iWvdFHieCkNyT29GOiNZMmrWGYN6+/BPqSXJKzBEx8TZfdEXbUrpQLXo4WhZSZwBLD G2ZzYnZKZbHCzRx0l27d7HALcrz+43p2FxgJ8jo+bt2UTtXLNLf2K9xXUk0hWc2qci r9zBPGjNwycVLsHgtcGqBsr5NuW5cE0YqpdfbnYdn8Q9mA7DuGipT6jgufaTsNcyzy D5nF0L+FBAm1Q== Date: Wed, 8 May 2024 08:25:33 -0700 From: Jakub Kicinski To: Joe Damato Cc: linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, nalramli@fastly.com, "David S. Miller" , Eric Dumazet , Paolo Abeni , Shuah Khan Subject: Re: [PATCH net-next v3] selftest: epoll_busy_poll: epoll busy poll tests Message-ID: <20240508082533.37a49678@kernel.org> In-Reply-To: References: <20240508004328.33970-1-jdamato@fastly.com> 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-Transfer-Encoding: 7bit On Tue, 7 May 2024 19:21:50 -0700 Joe Damato wrote: > On Wed, May 08, 2024 at 12:43:26AM +0000, Joe Damato wrote: > > Add a simple test for the epoll busy poll ioctls, using the kernel > > selftest harness. > > > > This test ensures that the ioctls have the expected return codes and > > that the kernel properly gets and sets epoll busy poll parameters. > > > > The test can be expanded in the future to do real busy polling (provided > > another machine to act as the client is available). > > Ah, built and worked for me, but of course fails remotely: > > epoll_busy_poll.c:20:10: fatal error: sys/capability.h: No such file or directory > 20 | #include > | ^~~~~~~~~~~~~~~~~~ > > Looks like selftests/bpf/cap_helpers.c avoids a similar-ish issue? Not sure if > there's a better way or if I should do something like that? > > I assume it is not possible to add deps like libcap-dev to the test harness somehow? Ah sorry, CI builder was missing the libcap-devel package. I can't retrigger the CI easily, unfortunately, could you repost? (without the 24h wait)