Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4024310pxb; Wed, 13 Oct 2021 18:48:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznWtrHjcgy5ucTmjxmO9dBPYmmgaT2qdWC8GVcdBXUnZek9M/wGUWOaj4KCaQ1KmUn2opc X-Received: by 2002:a17:90a:b794:: with SMTP id m20mr3231145pjr.178.1634176087275; Wed, 13 Oct 2021 18:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634176087; cv=none; d=google.com; s=arc-20160816; b=oMmSAPnwXDTe4zkex4z7R1R3WDJUyuHhQkt8+klF0AFTQO5WeJ7nVirqL05cR9RFSC EL+rEoaXUGzPRYgAEW6uxDO+pj2FlRcvs0ra675KSId+D3fmEqlfg/+/zHbMt35XpZe/ QgWMCy0EOYEGidShFlMRsB1MKI0st2LiG45ztZ53R5xFnWNd2rRL5s4FUwzHiWwhNeKo EiTkMkH2+ANF/MYNdJ5w42Cro3R61085GCrIeYkE93y8Qvs6s431HoL3v+ncg1Gtjx29 XpaBFYrS1iD9IcxQIgw/0hq0e7LwAmcrprTm2x0UWfyp8j1IYu75+sH1LCHAko3LFnOl CUJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=HG/Spck1Oc3ejI38gMNSu8a/Vy/izmk6ksmmnE8labg=; b=DA8w94NwFPMKEkhwnzF+/0/DfLK8GW8BppKMzRllK/Y4mLwiNntPLpkFjRejHfAGzY 4JWjA/xHxEEBFzRQOk4agtC+rdwtHtTRkXm8ReQ6CbYMR2uOaDq6gl1F2F1+hLda69bt 87LZfPvmd/pJuFkk3tFIHWGek37CcEsWM00DA23ynIrvJlO4JFl+XP2I6ch6alEoCBHX 3DmLcQ4kwW4akQCVOEimv5tARQqfbtymjtm0B5huSxTDFTGSUZ00C29gbmwkXyv4Ln+Z 0Aeu/4UbGrVJVhH/1nD2lMJ8o/iEpXThyL4PNIuI7dV4YQKF8AChBovD+InKsT2Qv4Lt 9ZjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J+9z2m9w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v11si2102845pfu.106.2021.10.13.18.47.54; Wed, 13 Oct 2021 18:48:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J+9z2m9w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229834AbhJNBsK (ORCPT + 99 others); Wed, 13 Oct 2021 21:48:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:49140 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbhJNBsK (ORCPT ); Wed, 13 Oct 2021 21:48:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5469960E78; Thu, 14 Oct 2021 01:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634175966; bh=tua+i/uJvDkd/ZtFDkoqVbra2yWlOooBf2r2SG+eGKw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=J+9z2m9wTvKTY6lWS16h6yybTBuwTAZdeEvVgdwQwr+8rOhFKhvXt/C3L71ziMzi4 pe9PAadvDGR0W7Ct7B17451hZIJ5J1bojQ0/Sh2BW5SJrll2mojz6rKLhWiFrhlvCI plmAxHJi1maoiie0XASFiZxFGkz9QCH3LcVKsIEz0od1adpPHbtvsFmOpYhym4KOJX rUV8mcTIXSDAewVsUbvPDau0snmnUXzNU6WqPvk+iXDcAxLYVljCigXXIqlI4oJBLS ddBqVpUhg7RGgcgdUbYcu38VYFe3UUgaasj8+yEjX0wAQc135qz5ja0GOF+lGskNs/ vsZt5/PGPIGew== Date: Thu, 14 Oct 2021 09:45:49 +0800 From: Gao Xiang To: Andrew Morton Cc: linux-erofs@lists.ozlabs.org, LKML , Lasse Collin , Chao Yu , Andrew Morton , Greg KH , Linus Torvalds Subject: Re: [PATCH 0/7] erofs: add LZMA compression support Message-ID: <20211014014548.GA14439@hsiangkao-HP-ZHAN-66-Pro-G1> Mail-Followup-To: Andrew Morton , linux-erofs@lists.ozlabs.org, LKML , Lasse Collin , Chao Yu , Greg KH , Linus Torvalds References: <20211010213145.17462-1-xiang@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211010213145.17462-1-xiang@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 11, 2021 at 05:31:38AM +0800, Gao Xiang wrote: ... > > > Hi Andrew, > > Some XZ embedded (lib/xz) patches by Lasse are sent out together in this series > although they're irrelevant to MicroLZMA but quite coupled. Can I send a pull > request together with EROFS LZMA support for 5.16 then? Many thanks in advance! ping.. I've tested EROFS LZMA support with my own ro_fsstress. I'd like to apply them into -next for wider integration tests even though MicroLZMA itself is relatively independent decoder (it mainly calls raw LZMA decoding functions) thus it should not impact all the current users. Thanks, Gao Xiang > > Thanks, > Gao Xiang > > > Gao Xiang (2): > erofs: rename some generic methods in decompressor > erofs: lzma compression support > > Lasse Collin (5): > lib/xz: Avoid overlapping memcpy() with invalid input with in-place > decompression > lib/xz: Validate the value before assigning it to an enum variable > lib/xz: Move s->lzma.len = 0 initialization to lzma_reset() > lib/xz: Add MicroLZMA decoder > lib/xz, lib/decompress_unxz.c: Fix spelling in comments > > fs/erofs/Kconfig | 16 ++ > fs/erofs/Makefile | 1 + > fs/erofs/compress.h | 16 ++ > fs/erofs/decompressor.c | 73 +++++---- > fs/erofs/decompressor_lzma.c | 290 +++++++++++++++++++++++++++++++++++ > fs/erofs/erofs_fs.h | 14 +- > fs/erofs/internal.h | 22 +++ > fs/erofs/super.c | 17 +- > fs/erofs/zdata.c | 4 +- > fs/erofs/zdata.h | 7 - > fs/erofs/zmap.c | 5 +- > include/linux/xz.h | 106 +++++++++++++ > lib/decompress_unxz.c | 10 +- > lib/xz/Kconfig | 13 ++ > lib/xz/xz_dec_lzma2.c | 182 +++++++++++++++++++++- > lib/xz/xz_dec_stream.c | 6 +- > lib/xz/xz_dec_syms.c | 9 +- > lib/xz/xz_private.h | 3 + > 18 files changed, 725 insertions(+), 69 deletions(-) > create mode 100644 fs/erofs/decompressor_lzma.c > > -- > 2.20.1 >