Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2255355pxp; Mon, 21 Mar 2022 15:06:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRRHAgbRh7DWcQ2UExi2o5yNSuSY1s9OGwRN06AeZbc1X55cESltiW+1fjOd1DIzLiNEhM X-Received: by 2002:a63:510c:0:b0:378:4f82:9448 with SMTP id f12-20020a63510c000000b003784f829448mr19622015pgb.69.1647900369522; Mon, 21 Mar 2022 15:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647900369; cv=none; d=google.com; s=arc-20160816; b=Eceh6s7QV8n+Hmp0NDfcu9fppHPuP1v21YoCsciVp0Ngvcepgks3AgdG7hJgr0ET4e w5WIUi9hDcN1vdC0/YAk7UonMqnFkdkwKfW+JhxSi/A3K3d2I++4namLmlxSVbgurvEp uX2aDuiSgmF8ifBS/PCpjI4wT6hfiexYQdB12uD/gL26Z7R7rJhp+yKSQrDfjhFkYnC9 j8Zjn44MGEMY9rURky0uNNGTbWRD3I2MQsocvi7QN/zJWEUC92Jjt+m/tTalMGh2QCtH GU43xRS1ugBQpL9MAYYcl+iQFIjccfwd4dEtkZtI/zlDEw8gp2C4un/IQ6KGG4ngoHfQ hdDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=LvZEBiBYK5c76Fh1nfYOiFTUOPuJgsA/4BcyCoqCeDU=; b=VHO7vRO6Lzm37CuztxGkbbCOaFeuPHTEPpmPU8K2SGBNwz7aHaDMXOzu1lNg40r8O+ 7ymG4OA59n6egiSy7i/D5ccMmtc3tujarjpNv7JTMU3YkaI+RO9DVKPjvVIfR/gsHeNO DF6/S9yOsNbqX6k/oHQQy6gFDOvDBDbqf+VMkurEUAmmt0hcK7PWe+UKxufoEgzgwYrG RTFGx4KQetSsicW89yoOsgnjfd0brEX5ML2C2qo5vETFKNWDJhm4DCCtTs4yVe8PfdNj d2k2Lu3N9YhOGfrL3bGwdQZb9RTRqu/++oQ1K9d705Bb+aLdOJQ5BJrGoUxmCMnZSQsZ JALg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f5-20020a63de05000000b003816043f003si13832428pgg.504.2022.03.21.15.06.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:06:09 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D62A03596A4; Mon, 21 Mar 2022 14:28:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344317AbiCUDlx (ORCPT + 99 others); Sun, 20 Mar 2022 23:41:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344046AbiCUDls (ORCPT ); Sun, 20 Mar 2022 23:41:48 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC262574AF for ; Sun, 20 Mar 2022 20:40:22 -0700 (PDT) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4KML1M4859zCqnH; Mon, 21 Mar 2022 11:38:15 +0800 (CST) Received: from dggpemm500007.china.huawei.com (7.185.36.183) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 21 Mar 2022 11:40:20 +0800 Received: from use12-sp2.huawei.com (10.67.189.20) by dggpemm500007.china.huawei.com (7.185.36.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 21 Mar 2022 11:40:20 +0800 From: Jubin Zhong To: CC: , , , , Subject: Re: Re: [PATCH v2] kbuild: Enable armthumb BCJ filter for Thumb-2 kernel Date: Mon, 21 Mar 2022 11:40:17 +0800 Message-ID: <1647834017-23673-1-git-send-email-zhongjubin@huawei.com> X-Mailer: git-send-email 1.8.5.6 In-Reply-To: <20211121233722.708131a8@kaneli> References: <20211121233722.708131a8@kaneli> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.189.20] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500007.china.huawei.com (7.185.36.183) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 >On 2021-11-20 Jubin Zhong wrote: >> xz_wrap.sh use $SRCARCH to detect the BCJ filter. However, assigning >> arm BCJ filter to Thumb-2 kernel is not optimal. In my case, about 5% >> decrease of image size is observed with armthumb BCJ filter: >> >> Test results: >> hardware: QEMU emulator version 3.1.0 >> config: vexpress_defconfig with THUMB2_KERNEL & KERNEL_XZ on >> arm BCJ: 4029808 >> armthumb BCJ: 3827280 >> >> Choose armthumb BCJ filter for Thumb-2 kernel to make smaller images. >> >> Signed-off-by: Jubin Zhong >I still didn't test it but it looks good to me. Hi, this patch is not accepted into the kernel mainline yet. Please let me know if there is any problem with the patch, thanks.