From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from hr2.samba.org (hr2.samba.org [144.76.82.148]) by gnuweeb.org (Postfix) with ESMTPS id 228DD8163C for ; Wed, 16 Nov 2022 20:03:25 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (3072-bit key; secure) header.d=samba.org header.i=@samba.org header.a=rsa-sha256 header.s=42 header.b=PrXf1Fly; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=samba.org; s=42; h=From:Cc:To:Date:Message-ID; bh=YigzlxxeJjxXIbL/TgXgAM5VzyMGwLAab2ukVyPPzhM=; b=PrXf1Flye6WZoQud15lA/kOMVw smxOr1ZkohIfIVZwLTVKFVEqkhZe1+jLW4HNiR+oLyJpw7XQ3F6BoWlgj+r2hZg7O5rXlhPvEDu0B eMTnJ0JdUvvZjGrCV19PIqM5Kud4Vyn0gjcBjfP0zavV53Cx/OFVSxJvxxsJP+73soP0QIS5rF82w SDaxwyFpT7fTeN1VrDOGYbmEzIIGm7ttFsIVzTPZD3s+UgEwD8BW8OSlohXtwXUG1nmH5HTdoaBz1 wXZLTZ6th16Q1NLmDIFALb8zUTDIlcFVxp95TzGnbnXkQ+1lQG1+1839PXLKYl4ksdrRdZrSRdmg5 tT5bo4UForV42qV004cG9R0OX9WXikdjQv/qla8HzUW0DThjxFb2AWgkvD9pHSzyvKm+o7RZhVacs 9N19+Ws8gTznagiP4eP9PRtxn5d5dNACJ6Wp1JXMAZGOt+zA9ksEIrGkDKrUo4GAIO6shbk3Wsuzj mEeASCbjo8kbyEfZSdrL8B4X; Received: from [127.0.0.2] (localhost [127.0.0.1]) by hr2.samba.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__ECDSA_SECP256R1_SHA256__CHACHA20_POLY1305:256) (Exim) id 1ovOd0-008wht-Nm; Wed, 16 Nov 2022 20:03:22 +0000 Message-ID: Date: Wed, 16 Nov 2022 21:03:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: (subset) [PATCH v1 0/2] io_uring uapi updates Content-Language: en-US To: Jens Axboe , Ammar Faizi Cc: GNU/Weeb Mailing List , io-uring Mailing List , Pavel Begunkov , Linux Kernel Mailing List , Stephen Rothwell References: <20221115212614.1308132-1-ammar.faizi@intel.com> <166855408973.7702.1716032255757220554.b4-ty@kernel.dk> <61293423-8541-cb8b-32b4-9a4decb3544f@gnuweeb.org> <69d39e98-71fb-c765-e8b9-b02933c524a9@samba.org> From: Stefan Metzmacher In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: Am 16.11.22 um 20:46 schrieb Jens Axboe: > On 11/16/22 7:22 AM, Stefan Metzmacher wrote: >> Am 16.11.22 um 14:50 schrieb Jens Axboe: >>> On 11/15/22 11:34 PM, Ammar Faizi wrote: >>>> On 11/16/22 6:14 AM, Jens Axboe wrote: >>>>> On Wed, 16 Nov 2022 04:29:51 +0700, Ammar Faizi wrote: >>>>>> From: Ammar Faizi >>>>>> >>>>>> Hi Jens, >>>>>> >>>>>> io_uring uapi updates: >>>>>> >>>>>> 1) Don't force linux/time_types.h for userspace. Linux's io_uring.h is >>>>>> ???? synced 1:1 into liburing's io_uring.h. liburing has a configure >>>>>> ???? check to detect the need for linux/time_types.h (Stefan). >>>>>> >>>>>> [...] >>>>> >>>>> Applied, thanks! >>>>> >>>>> [1/2] io_uring: uapi: Don't force linux/time_types.h for userspace >>>>> ??????? commit: 958bfdd734b6074ba88ee3abc69d0053e26b7b9c >>>> >>>> Jens, please drop this commit. It breaks the build: >>> >>> Dropped - please actually build your patches, or make it clear that >>> they were not built at all. None of these 2 patches were any good. >> >> Is it tools/testing/selftests/net/io_uring_zerocopy_tx.c that doesn't build? > > Honestly not sure, but saw a few reports come in. Here's the one from > linux-next: > > https://lore.kernel.org/all/20221116123556.79a7bbd8@canb.auug.org.au/ Yes, but the output is pretty useless as it doesn't show what .c file and what command is failing. >> and needs a '#define HAVE_LINUX_TIME_TYPES_H 1' Just guessing, but adding this into the commit has a chance to work... --- a/tools/testing/selftests/net/io_uring_zerocopy_tx.c +++ b/tools/testing/selftests/net/io_uring_zerocopy_tx.c @@ -15,6 +15,7 @@ #include #include #include +#define HAVE_LINUX_TIME_TYPES_H 1 #include #include #include >> BTW, the original commit I posted was here: >> https://lore.kernel.org/io-uring/c7782923deeb4016f2ac2334bc558921e8d91a67.1666605446.git.metze@samba.org/ >> >> What's the magic to compile tools/testing/selftests/net/io_uring_zerocopy_tx.c ? > > Some variant of make kselftests-foo? > >> My naive tries both fail (even without my patch): > > Mine does too, in various other tests. Stephen? Pavel, as you created that file, do you remember how you build it? metze