Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1134683rwb; Wed, 16 Nov 2022 12:36:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf6cYYLKe768qBEuUy0/iCbio+ogA8Ml5c6I1TiyzoxA8eeICBjnM0lCUljfH253lAFfC1D4 X-Received: by 2002:a63:521a:0:b0:457:7285:fd2d with SMTP id g26-20020a63521a000000b004577285fd2dmr21484262pgb.580.1668630991290; Wed, 16 Nov 2022 12:36:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668630991; cv=none; d=google.com; s=arc-20160816; b=yRbi0qay/vrq+w88qHof1GK0PhL5zIGJ6KCi9eEjlFEri5BWZlAFEiBEw6RyfrqIjo rQA6DysMaYPPHgaxC6TWJw7Loke1c68z3iSCIB3yz+JbfUoH+EZ1w9LovG67hl+hxJuC K3Fw7o0x2BZHmmwQQ5uJpKuxM3a9x+eWBdl7oSslQHe2XIFRvrFoFvrRykVU67HnB6h5 JkaLbQckw68jGrq4epthebovR/sPmg3CSI2AEDss4Fl6vzbmam/hP/XZXRO0DmlNnPQE 9rhcks7tapHdha1kSgwMtJ4Efdy3rCQvMC5K+Fwl8PX/FY8rrvZUyvxt1CPohoU6O3iR JWgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=YigzlxxeJjxXIbL/TgXgAM5VzyMGwLAab2ukVyPPzhM=; b=O2obKNTSDbtMrnQv0W+ALlq1IZfcFOycsZYyz/XlCk0MXAmiv/Xq3HP5cQ4MRBefQs zj51al6qv8joXaH00IpUQuiSStjAl/YDaJgvYTRE+3uzE8i8TUWfF5uCsJVNVc1pFPgS ulmbC7pXa9SSuxnxZIPDqEoL/VbWw6zmDM4Z61lHxayN0y9u3nkK0CFAEH5foZ7VHXaN zHhythX39t58NlSUPEo1ftG+Qe5PxhYRKs7DpZfha2Mrz+2suJES6PHKcAu9NHaRlx1W URpQMUmJmTb2WGs19gvo622+LHtRth7IwtRjo5Rf7Llbi2ZwPfUzVgT/o7odMPvN7Khd 2M9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samba.org header.s=42 header.b=PrXf1Fly; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=samba.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k4-20020a170902c40400b001782a6fbc7csi18230087plk.463.2022.11.16.12.36.19; Wed, 16 Nov 2022 12:36:31 -0800 (PST) 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=@samba.org header.s=42 header.b=PrXf1Fly; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=samba.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234270AbiKPUEB (ORCPT + 90 others); Wed, 16 Nov 2022 15:04:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238503AbiKPUD1 (ORCPT ); Wed, 16 Nov 2022 15:03:27 -0500 Received: from hr2.samba.org (hr2.samba.org [IPv6:2a01:4f8:192:486::2:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A69ABD6; Wed, 16 Nov 2022 12:03:25 -0800 (PST) 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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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 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