From patchwork Mon Dec 6 13:29:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 12658417 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 17959C433F5 for ; Mon, 6 Dec 2021 13:30:23 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.238912.414055 (Exim 4.92) (envelope-from ) id 1muE43-0001lB-0F; Mon, 06 Dec 2021 13:29:55 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 238912.414055; Mon, 06 Dec 2021 13:29:54 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1muE42-0001l4-TV; Mon, 06 Dec 2021 13:29:54 +0000 Received: by outflank-mailman (input) for mailman id 238912; Mon, 06 Dec 2021 13:29:53 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1muE41-0001ky-BH for xen-devel@lists.xenproject.org; Mon, 06 Dec 2021 13:29:53 +0000 Received: from de-smtp-delivery-102.mimecast.com (de-smtp-delivery-102.mimecast.com [194.104.111.102]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 97674f77-5698-11ec-a5e1-b9374ead2679; Mon, 06 Dec 2021 14:29:51 +0100 (CET) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04lp2055.outbound.protection.outlook.com [104.47.13.55]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-16-IFcU3Z6rN2SdMgnKV-E19g-1; Mon, 06 Dec 2021 14:29:50 +0100 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) by VI1PR0402MB2829.eurprd04.prod.outlook.com (2603:10a6:800:bb::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23; Mon, 6 Dec 2021 13:29:48 +0000 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::5951:a489:1cf0:19fe]) by VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::5951:a489:1cf0:19fe%6]) with mapi id 15.20.4755.021; Mon, 6 Dec 2021 13:29:48 +0000 Received: from [10.156.60.236] (37.24.206.209) by AM6PR10CA0046.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:80::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.16 via Frontend Transport; Mon, 6 Dec 2021 13:29:47 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 97674f77-5698-11ec-a5e1-b9374ead2679 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1638797391; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XaFqQ/j5v8nVoRuIcB8FLvaeesWu7Z2skNYq1vYcRGw=; b=cCSr6i0mr5JWwKfSt7NviYs7Dw8XSEHvPyNcgScIDn9A7755GwWhvXS2u2aE4NaEockijS qQm1pV0qVPjTSDC98WFSfYLEOZ65GEhl3dBuSu1xEsjSiOBhxP5VnHQeuXIBUL/oPk3OdK 2fHaS3uCHe0be9UIfFD1SAvip1tGJqA= X-MC-Unique: IFcU3Z6rN2SdMgnKV-E19g-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h7RtipHL6iWBdo3rgFUxdxA1UhHnAcINeyn488UbnWt0CM8Ux/rYPWDdzuvz4G6wUX9vckE6z340VWDDJ7+mZ+DSJF3pzHlC8V3EBqt+z1C1VI7/K9rHKdXxy3WADlFcXz4svH28R5uR/CSXLHAuRIh8jP8pJiYQnI8sWlhJD8vOMQrD6dMLkixCw2R9Q3vHJZ1iexhb5td72ctbIKPAm4/aKlHZR1SxCQW0NJYu8X47x4XGFc+JKf0oUPPv5aW2FFvFo0Q19Oomfit5oaa8QbG0dML+86m1cAiYiqB1LRGu9wQd1cxmj82d9nP6SLolfZMXkWhZS9IrpGMCe4mo6Q== 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=XaFqQ/j5v8nVoRuIcB8FLvaeesWu7Z2skNYq1vYcRGw=; b=TJ+48e3cy+9SlFXJlG9a96hKZ93/7zR23aeXUXzfshEaKrQuAlmgPAQCW4VGBZXmQm/XELFYzWLuOItOsUzB0H1Ff2ZuwbYe3a3Zhdy7AVdnPehAXYvjw8yd8M8VNKx6yfAVFEXgIeLi8Yr6GVnv4/36jYYR4urW996wcvRBi96Udd/Wyfy1KAVmn3Pb0IpOW/WmNkPo9745FDzMlNa9I9hF8LZ0v/xXsgJrmWV+BaLZRoCkoA6vq28C8qt5cogJp9Oi7XjqKQBV7rQdfVVZFvPfNx4g6SvUlfprWhbIiKzUeCr0at21s+xEha/Pctpk5aAGvXeewvx7Jx+GXEmR8Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: Date: Mon, 6 Dec 2021 14:29:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 From: Jan Beulich Subject: [PATCH v2 0/7] (mainly) xz imports from Linux To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , George Dunlap , Ian Jackson , Julien Grall , Stefano Stabellini , Wei Liu Content-Language: en-US X-ClientProxiedBy: AM6PR10CA0046.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:80::23) To VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: eb9bbc42-789e-4c37-aa8a-08d9b8bc7975 X-MS-TrafficTypeDiagnostic: VI1PR0402MB2829:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z9Im3KAz/2WgTu6CAoifqhFOf9k8LV3uY8C76NkPupChGWjPwdXw7m9WsxxHu4UIU8pfZ7T5X6hqylvriPU/Ikh+yw5pssw292D7uVeTwZQ+JCeu5yfSQuG0xxh79NZXPCcm1d9kEebj2lS7OIJCKilgNgqW40uVFxlJ3I4LBPRjGZLFPZ1izR9YAD4eYgP7ol5jRrNEgAYAC1PpOOL+Es98C337H9QyqEXnTNDH5lrSyH4i6c8iVHH5ns4rHX23ea6YHkg7LCGkfto06OEqfqj4viK9yfOzBAun2L5Xiqh7WgU5sCjKzeZNQ91d1XL/wbhccqzzVKXw8eGOmmGIBvPtv8N2NYSHhYqPQ01BXMX5vel1PuU02SYlZJQX59sVBDc5fCEeVLlYSNEp4p4G7DsiHk3cN+2XDm9cKsvDW2hrh4w5AKxOLjhnUmU4LSeBCO4dFQVOocLv9fK0sJvkho6ca2pjE6uaMeIpZqgVbRJ1hGtiPlzNt2Gg1C8LWwyNbu45bNflY0Vx4YVbDcWPkPlS5iV/ctdfdJlI/tYYDmGi3AsvzJOvOu4KkciDR+y/T1ffpCZd9reRf1BjIM3zeK7yM1VHi32pdFfm1iZMZUgv1pxMGmkuHNaGNbD8CnY5malyg3WBBQhypihZykY1gQsTklgSRNbOAPlo0X/H773d6Jpj+hHs9ppgIIoOpjOB/HhXGNmCy4V01Q7a6MbMOlC3xmia0LzNdZ7zDYMMJIMflnYyPb32O2mzoAjH4hL0 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5600.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(86362001)(31696002)(2906002)(5660300002)(6486002)(66476007)(316002)(6916009)(83380400001)(54906003)(4326008)(66946007)(508600001)(16576012)(66556008)(26005)(8936002)(4744005)(38100700002)(956004)(2616005)(36756003)(8676002)(186003)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?7zJIg1CAmMuuXFCR7nB0IKG37nEw?= =?utf-8?q?X4NsDlExRMAM53e2r4QOY/Mrer9O1W3uxKmG2uNav0ofP2jMf90h9D1EdUTrIdZfK?= =?utf-8?q?xuQE/3526zcBLE8vaAGNenRDx8a3i9mGlWA+Ur/Pj+yezGAsgH1zBpuGLr+cPBW7U?= =?utf-8?q?YRYCU2BdUhrDCjVN3+3p6vQkELT9tRYIcUd/Nt5Cw9ygv+aukx+KER5SGTkDilYX+?= =?utf-8?q?sBSP4VaivpatIBqiYIJBQ5z4YGbOtvp3IH3ol3NsmLOF/pD1Tit53L6lBr6rw1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VlNgFsnf?= =?utf-8?q?aU6qsGFfHo1UXC4nnTuKJ5gctlJliPWg62wJrjFIlAF1LypHZwMEnaEx3CFVX0ZBs?= =?utf-8?q?CPjzXIAwBgl5NBYp50Wogb23MFoy0ZOc+IaDj/IYTd7PTlG0kw9vBpq2crtYuyVWq?= =?utf-8?q?jtlUVxhtUkxzvdxtw6LPX+mrUC0a/xnxEUzpeKVoYjHd0nnHJ+ox2h/+h68FWTr3W?= =?utf-8?q?d992JqBkxpnyy/gWZfZ559CPReG6Bp2IEKj6b3mkQp9qTFC6sIHH05E9Fc420ACRB?= =?utf-8?q?DtXwP6oNCaxfPqM6BMOFzxSQqsEV4vxVO7RmW55UVqb2oAT9gr6KwZ8INZ+lfjfgY?= =?utf-8?q?JU1fDBU1ag1nyFzb02aYM28mPwpzKuVhBq+Tn2w4EkQYOEauQ0UMddkSxPzD55/OM?= =?utf-8?q?G5qIEb+SyJJdYMXd1uPzpm0xZe5TlXrC3roCptehR7n26yikaqqjkPg=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: eb9bbc42-789e-4c37-aa8a-08d9b8bc7975 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5600.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2021 13:29:48.2401 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: cBj/S64UzSrpdUEPe8XVeFo0kWefFsVhI/YTm7FAIyJRR2lTeRmBvXk5Od25YkjMRnXuYSF4zPDp7bEYK/jHMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2829 While going through their 5.15.3 log I did notice two changes, which made me go check what else we might be missing. The series here is the result. Linux has also updated zstd, but that includes a pretty large change which I'm not ready to deal with right now. Them moving closer to the upstream zstd sources is certainly a good thing, so I suppose sooner or later we will want to follow them in doing so. The only change in v2 is the re-adding of some previously dropped S-o-b representing the original, documentable submission flow. 1: xz: add fall-through comments to a switch statement 2: xz: fix XZ_DYNALLOC to avoid useless memory reallocations 3: decompressors: fix spelling mistakes 4: xz: avoid overlapping memcpy() with invalid input with in-place decompression 5: xz: fix spelling in comments 6: xz: move s->lzma.len = 0 initialization to lzma_reset() 7: xz: validate the value before assigning it to an enum variable Jan