From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 336F1C433FE for ; Wed, 19 Oct 2022 06:55:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229559AbiJSGzA (ORCPT ); Wed, 19 Oct 2022 02:55:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbiJSGy7 (ORCPT ); Wed, 19 Oct 2022 02:54:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE9B5167E9; Tue, 18 Oct 2022 23:54:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3F08861781; Wed, 19 Oct 2022 06:54:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36AD1C433D6; Wed, 19 Oct 2022 06:54:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666162489; bh=BTjN8/vHiLlG0kTIDnGngNJWeQFrbpyDTe47K92Vnrc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pJ1tjDMDb8rsqydH1d6s5sVKTMESDopiFgVlg8Da+yuwTX/yBqapvSbKs/ZyYIxaT s8Tm8ZBJwhyFLra8576orlK4TXGgwzsEg038WyJYDlqDGHFZskJDkuoiiCiZV8Md47 xnhnvSpkBsgkEJRdlRd6nFJaK42P/TeN9KNTajSU= Date: Wed, 19 Oct 2022 08:54:46 +0200 From: Greg KH To: Ard Biesheuvel Cc: linux-efi@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH for-stable] efi: libstub: drop pointless get_memory_map() call Message-ID: References: <20221018182545.143757-1-ardb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221018182545.143757-1-ardb@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org On Tue, Oct 18, 2022 at 08:25:45PM +0200, Ard Biesheuvel wrote: > commit d80ca810f096ff66f451e7a3ed2f0cd9ef1ff519 upstream > > Currently, the non-x86 stub code calls get_memory_map() redundantly, > given that the data it returns is never used anywhere. So drop the call. > > Cc: # v4.14+ > Fixes: 24d7c494ce46 ("efi/arm-stub: Round up FDT allocation to mapping size") > Signed-off-by: Ard Biesheuvel > --- > drivers/firmware/efi/libstub/fdt.c | 8 -------- > 1 file changed, 8 deletions(-) > > This is a backport for v5.4 and older, where the patch in question did > not apply cleanly on the first attempt. Please apply. Thanks, now queued up. greg k-h