From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4983 198.175.64.0/23 X-Spam-Status: No, score=-3.0 required=3.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id C86181F44D for ; Fri, 12 Apr 2024 23:59:58 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=RnTr8tk2; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712966399; x=1744502399; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=usgWP84/OIwqnGCkyuFx7e96C6xgCLiirXjZe83kV/g=; b=RnTr8tk2tsgE2Ys+gfOEW0pQQBI/K1u9AC71sBXuDglY8EbHu3Bqde+y JdadHlFLw8dwOhTCHW5WlcaNbiISPpKlmuozm+QDlZkEA6PB4Ma3W3/La TIjdGtZ66PjM6T2m4dNviNnc2qkw01g7HzgTRVpXbtJbIoxJdpDRX4rty PC9KR3aJH8SBBQuHiPICEoXHqtGsElH2n4A6KepFvtoeBJv3JMg66y36e 5vISWHvD4xusUS3SwYyVm7qcuMT7q8sxHRR8im6HGuaPo3OQZp8my0Xr9 wDURXD+VKyuiRBxDtdSNoLxVSR95kPmAUTsFeYbnFLpMxnD1PUXM6Yleg g==; X-CSE-ConnectionGUID: IyEupu9bRqiQ2nBlQJ1d3Q== X-CSE-MsgGUID: RVOzSJ+4Qp+HZDH3FRaX2w== X-IronPort-AV: E=McAfee;i="6600,9927,11042"; a="8308233" X-IronPort-AV: E=Sophos;i="6.07,197,1708416000"; d="scan'208";a="8308233" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2024 16:59:41 -0700 X-CSE-ConnectionGUID: rtce0V84RNOVmWm6UAfbdw== X-CSE-MsgGUID: io7S+/SlQpWEetJEuSWOoA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,197,1708416000"; d="scan'208";a="21868244" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa007.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 12 Apr 2024 16:59:41 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 12 Apr 2024 16:59:40 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Fri, 12 Apr 2024 16:59:40 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.41) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 12 Apr 2024 16:59:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZJgZ0/WI3o8YTTAb0iHMcdqDGoGVUoLlnCoi0zcKc/Bo5ZsrGPKRBaT+Akxb+baD0Is/x70PtBd8GEEKcKV32RC8Ienx2YVVaFrf61qV4Q5LGz5vcelUEWE5D5Yz9oheAbLRfYo2hWDGcs6/AYEeVgkO9iITu3r8rToJtDc7kqF0eXmMopXzB1XgF4hqZFBFdHVzl+hbZV/AiYs4Fi4IenH00/Z1LcrHp4pO548+IcnREb41+iyzs80cy0t/REjxYgx94okvOJNyN9Kzq+dk8HcS/BZCdcBausDrK2wjajGzrdT2VyVn0Z8jzH9eXRdXAQa445ubyuN7lH674cLpMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YhjIhmD7HimAXlkhCgCzVDv3Fap58SX0/WyJy0Fg4Mg=; b=HDY8/o5+QJHnO6peqBD7YpVZmlSGjVBTp9cMN0n5gnd3a1dFWOobQak48L2/QWx+vAbzn4YivNxIfaW4tQd/4jrgDzNhCGfcLYUEIPa2BlYlMhqHuljTp/gHrOgbnjAGrW9zW4bbtUUoF+MFm7Elc1MHjaPoB6B9AcfxkieywSMs+KxtS00/zdTXDial/rMsSEGqsTGjMuDtTobmnQZab849IA0mLunjqvm8FVx6sqTR79zwC9Y6GCaRNND7Ve42aBW531AEnm2jdMNsHPFyZOzTo+uiNHfnSz409mopzq5b3oqE0TzqrM4EbfsFpxpUYtR/h5cRoue9TvNIxk27bw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from CO1PR11MB5089.namprd11.prod.outlook.com (2603:10b6:303:9b::16) by BL3PR11MB6410.namprd11.prod.outlook.com (2603:10b6:208:3b9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.27; Fri, 12 Apr 2024 23:59:37 +0000 Received: from CO1PR11MB5089.namprd11.prod.outlook.com ([fe80::b383:e86d:874:245a]) by CO1PR11MB5089.namprd11.prod.outlook.com ([fe80::b383:e86d:874:245a%5]) with mapi id 15.20.7452.019; Fri, 12 Apr 2024 23:59:37 +0000 Message-ID: Date: Fri, 12 Apr 2024 16:59:35 -0700 User-Agent: Mozilla Thunderbird Subject: Re: downloading t.mbox.gz messages are not sorted in expected order To: Konstantin Ryabitsev CC: References: <3c335d9a-f0dd-43c3-b1e1-ce94cc291ecb@intel.com> <20240411-dancing-pink-marmoset-f442d0@meerkat> Content-Language: en-US From: Jacob Keller In-Reply-To: <20240411-dancing-pink-marmoset-f442d0@meerkat> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: MW4PR02CA0007.namprd02.prod.outlook.com (2603:10b6:303:16d::33) To CO1PR11MB5089.namprd11.prod.outlook.com (2603:10b6:303:9b::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR11MB5089:EE_|BL3PR11MB6410:EE_ X-MS-Office365-Filtering-Correlation-Id: 41ce3c75-6855-4329-8315-08dc5b4c9bfc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sr/9xxnZQxNjxWMSNSSHO+dLj9GHA5hg70sz9GEneosyMlRZZ1+Fi5t/ToFoGLsLgZHcwiFrr1vrcvGAPynHhL5gR8SxF+wR68l0qciZELTv6Pv8XFAVb++zTDly3CWnGSW5KpOpb68FoL1lTqJJ3UsjTMDEdKCiTVDljAJrheaJOUnaw41A6kJc2O6d1+p5YUCQTDApZE/oCkm85pfUrd+OPJt1KgJQWlv0Qctw2xMs7d3DPSA8VpVbe1YCf0vxaeo02JIpJwvpaNLylJ0YxD2T5Ht/CCiBLhWLtwf9LGiOepP5Jm/fNVSu4N3AuNlPlXwYpVsQ1x1q2zgjXbw+NG8v2CrMdzfk6JJzO4qjy77LtIhq3C4/a7w1+KAtB05wGEW2XcO8qOTHwG7INxsaK/TtvzjbRN0XNCpxkNWXcqniQ+D1sZYchlkWxLHB9Cujjb54TOjH9WovxRVHVwlMTyB0R/m6NsdpaXX3h59yxespqvU0u6Ny+dnMeA+iBj73sT2lOqcyelrLRxQI8WHGPniyY/5FSV31pPZP+OA0LIEw81/FS/Plb7T1p0iTqefAJgpWXq6SzIHAaOsa4ct0Dljfncuir19++LeJQSCLe3pYtPdBUaAVVUO14MmsOhYV X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR11MB5089.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cmd3MkdMRWRqSXJWVWZqc2pjSHZOUE5LVWFnN25jbEZ5dXg3M0drVHZnb3Qz?= =?utf-8?B?QTlWVXJlLzNtTEZxZU9NU2lOMXdjUFNRT0dIRUwyZlhvYi81dHZmcVl5cWs1?= =?utf-8?B?Mk1sNFI5MTJLdEpNRjQ2RVRNK3NRS1lVQVh3bWtneWwzbkYzR05tTHBHenNB?= =?utf-8?B?VU4yS3BVSXVkaENEOVZKbXY1YWhuK0hOdXhBTXpWbFE4M29LcXFqUDVrSXda?= =?utf-8?B?MHNLUWY5NzFDVlE5TE14ZjlnYzh0RVZwaUtuNmtKcmdFL01KNFc0VlZyMldE?= =?utf-8?B?SDh6bmsxeFV3Sk1MTk1KdDV2SlZsSXBwTkZqTWhCM0xHN1ZYa0ttK2t0NGtw?= =?utf-8?B?a1ZFMXVuUFd5bWdDMVVTQUF1bDVKQk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wd3RPQkhxUk5u?= =?utf-8?B?d3c9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 41ce3c75-6855-4329-8315-08dc5b4c9bfc X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB5089.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2024 23:59:37.3322 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: VTpQ4t0GsG8QDurJFQJtzwA/uNeel9v/iXBcDU6v8ZLEnZAWY9NZFUTUGx1RtJsSOITtPf/aMAz/ap1EL4AytU8ejIYvzMz84HLemAVrF14= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR11MB6410 X-OriginatorOrg: intel.com List-Id: On 4/11/2024 3:42 PM, Konstantin Ryabitsev wrote: > On Thu, Apr 11, 2024 at 03:32:43PM -0700, Jacob Keller wrote: >> I sometimes download patch series off of public inbox hosted servers to >> apply with git-am. Occasionally I have found that these do not apply >> cleanly because the thread is not sorted in patch order. > > It's more than just the order -- if there are replies in the thread, the mbox > file won't apply either. > If the order was correct, it is usually easy enough to just "git am --skip" the patches which have no content. However... > This is the reason why the b4 tool exists: > https://b4.docs.kernel.org/ > This is extremely useful and I was unaware of its existence. Thanks!! >> For an example, see >> https://lore.kernel.org/lkml/20240308230557.805580-1-alex.williamson@redhat.com/ > > $ b4 am -o/tmp https://lore.kernel.org/lkml/20240308230557.805580-1-alex.williamson@redhat.com/ > Grabbing thread from lore.kernel.org/all/20240308230557.805580-1-alex.williamson@redhat.com/t.mbox.gz > Analyzing 20 messages in the thread > Looking for additional code-review trailers on lore.kernel.org > Checking attestation on all messages, may take a moment... > --- > ✓ [PATCH v2 1/7] vfio/pci: Disable auto-enable of exclusive INTx IRQ > ✓ [PATCH v2 2/7] vfio/pci: Lock external INTx masking ops > + Reviewed-by: Eric Auger (✓ DKIM/redhat.com) > ✓ [PATCH v2 3/7] vfio: Introduce interface to flush virqfd inject workqueue > + Reviewed-by: Eric Auger (✓ DKIM/redhat.com) > ✓ [PATCH v2 4/7] vfio/pci: Create persistent INTx handler > + Reviewed-by: Eric Auger (✓ DKIM/redhat.com) > ✓ [PATCH v2 5/7] vfio/platform: Disable virqfds on cleanup > + Reviewed-by: Kevin Tian (✓ DKIM/intel.com) > + Reviewed-by: Eric Auger (✓ DKIM/redhat.com) > ✓ [PATCH v2 6/7] vfio/platform: Create persistent IRQ handlers > + Reviewed-by: Kevin Tian (✓ DKIM/intel.com) > + Reviewed-by: Eric Auger (✓ DKIM/redhat.com) > + Tested-by: Eric Auger (✓ DKIM/redhat.com) > ✓ [PATCH v2 7/7] vfio/fsl-mc: Block calling interrupt handler without trigger > + Reviewed-by: Kevin Tian (✓ DKIM/intel.com) > + Reviewed-by: Eric Auger (✓ DKIM/redhat.com) > --- > ✓ Signed: DKIM/redhat.com > --- > Total patches: 7 > --- > Cover: /tmp/v2_20240308_alex_williamson_vfio_interrupt_eventfd_hardening.cover > Link: https://lore.kernel.org/r/20240308230557.805580-1-alex.williamson@redhat.com > Base: not specified > git am /tmp/v2_20240308_alex_williamson_vfio_interrupt_eventfd_hardening.mbx > > -K