Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1957687rwl; Wed, 12 Apr 2023 22:50:20 -0700 (PDT) X-Google-Smtp-Source: AKy350Yws5Hyyny0+mt9/YQ8OQhFyUPh2bAsHNmrBgvsdjCV1feYd75UumXp3kwIWQl9TE7qNFE3 X-Received: by 2002:aa7:d719:0:b0:505:51f:2c95 with SMTP id t25-20020aa7d719000000b00505051f2c95mr1383624edq.10.1681365020136; Wed, 12 Apr 2023 22:50:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681365020; cv=none; d=google.com; s=arc-20160816; b=0Dh3EsXiE2FdqUOWfGJRDjF67qYuWs4Fd72rxNdIinMMJcsiwE26/WNh1XBnMulSiG lNiER14P3ROb0aYrztj0tCps9pEcTa7oRSfhDUTaEn2jnP8fTYY24ZNT0I3R/B1pwBb4 tzt5Np+BwwjsOnT2GEv3D9upCupSnQTHeBtfgnVLF5iWh3xutOmV6trYTyB9DdKqIJ8+ mxloJ6V+nMSd6mmsywBMeIFioq/OQv5qBqmKcHK4bdHY0zXxHJ29Akn1AK17DzO++2zr QBLXFPZ9aBBxWlLchjoaU2ZnKcghKKqtSRi9bVeMurxwRwXdb0nD8nirLzijG6+FuMjJ ZYQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=2vXlwniiuCguYDB0S2oDM66ZeJofSBHXWMnfWhvpDd4=; b=S63Fj197yvw0xVQ6On0UfFW+cU62oPnk8zOd/E/7g/HGxJqqaOE2mezVQd0hoV6Pu8 q3DKiT9X1bYfVJ/W0dT3nhFrYGfQrZXgiZ0/pYQ3+8u/okIw9f05Fnh3yop4DZSE/TyI 7LiMxw115/2FQyRn0SuDEaDkDCrUx8MxBl/5FmdGhKgvWveJdWvYVoWHLiHh3C7Jy3RZ Cwxbd2qor34/3GQyHMcDVWHywLXt5Xyml5tmAsl5l7ri3BNwXBAkFXGVMXY7hH09IRBh eJrNVkoaY3t0SSrp4FAc5BryETPPYFB5mtfO2dgYxKFha9t5mn/ubb17pxst3g2VTSL2 KS7A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n7-20020aa7c787000000b005048061418dsi883785eds.226.2023.04.12.22.49.55; Wed, 12 Apr 2023 22:50:20 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229586AbjDMFU6 (ORCPT + 99 others); Thu, 13 Apr 2023 01:20:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbjDMFUz (ORCPT ); Thu, 13 Apr 2023 01:20:55 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 39039118 for ; Wed, 12 Apr 2023 22:20:52 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 933B580CD; Thu, 13 Apr 2023 05:20:51 +0000 (UTC) Date: Thu, 13 Apr 2023 08:20:50 +0300 From: Tony Lindgren To: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= Cc: linux-arm-kernel@lists.infradead.org, Russell King , Nick Terrell , Arnd Bergmann , Geert Uytterhoeven , Linus Walleij , Sebastian Reichel , Nick Hawkins , Christophe Leroy , Florian Fainelli , Nick Desaulniers , Xin Li , Seung-Woo Kim , Paul Bolle , Bart Van Assche , linux-kernel@vger.kernel.org, "Russell King (Oracle)" Subject: Re: [PATCH 1/3] ARM: compressed: Pass the actual output length to the decompressor Message-ID: <20230413052050.GB9837@atomide.com> References: <20230412212126.3966502-1-j.neuschaefer@gmx.net> <20230412212126.3966502-2-j.neuschaefer@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230412212126.3966502-2-j.neuschaefer@gmx.net> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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 * Jonathan Neuschäfer [230412 21:22]: > --- a/arch/arm/boot/compressed/misc.c > +++ b/arch/arm/boot/compressed/misc.c > +static u32 get_inflated_image_size(void) > +{ > + return get_unaligned_le32(input_data_end - 4); > +} Just something to check.. This patch should not picked for the old stable kernels that did not have the uncompressed image size at the end. Maybe the patch should have a Depends-on tag to prevent possible issues? Other than that looks good to me: Reviewed-by: Tony Lindgren