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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 8DBACECAAD1 for ; Wed, 31 Aug 2022 10:27:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=d6ayGsUJcOQSb+VMJMJ2a4d3Ie5fsJaJVDL5zu2cBV0=; b=mqcnux0Wmu2W10 mTorsDAUvjryLzpNSa8OqkOUkmandUbMlkv2rFRnzIwLTn6djrj6u5TP8CiMBCzGOKiUXGbipm4Q7 NdqwZgqTJoNIXNxScq//nBBQlJeQLAGBMmJI+mdalNiFpRyiiDrLLMCeijWoy7uPTXf397N+9Dn34 3yAGRXVG1uF7xoOJY5eYwXcMvr6hXtYNNljCLLl45cdmAGObVYXXQ6G8YQAaOV6yfQI/hoZjxDr2P 5IR9H1jd4j/1HLCGPkhz4SxkRmqAYLrWOAwecjhQ5lnkwox/Tc3c8PBF0kOSjeqWiUd+2FOwnn/d1 CyaHdHsa89b0UBZai1Sw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTKvw-005fIB-Na; Wed, 31 Aug 2022 10:26:56 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTKvs-005fH1-O9; Wed, 31 Aug 2022 10:26:54 +0000 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 ams.source.kernel.org (Postfix) with ESMTPS id 895C6B81DB7; Wed, 31 Aug 2022 10:26:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A33BC433D6; Wed, 31 Aug 2022 10:26:47 +0000 (UTC) Date: Wed, 31 Aug 2022 11:26:33 +0100 From: Catalin Marinas To: Yun Levi Cc: Baoquan He , will@kernel.org, nramas@linux.microsoft.com, thunder.leizhen@huawei.com, linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List , kexec@lists.infradead.org Subject: Re: [PATCH v2-RESEND] arm64/kexec: Fix missing extra range for crashkres_low. Message-ID: References: <20220830092839.3197-1-ppbuk5246@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220831_032652_954812_59855FCE X-CRM114-Status: GOOD ( 17.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Aug 31, 2022 at 10:49:30AM +0900, Yun Levi wrote: > Like crashk_res, Calling crash_exclude_mem_range function with > crashk_low_res area would need extra crash_mem range too. > > Add one more extra cmem slot in case of crashk_low_res is used. > > Signed-off-by: Levi Yun > Fixes: 944a45abfabc ("arm64: kdump: Reimplement crashkernel=X") > Cc: stable@vger.kernel.org To be even more precise, it should be: Cc: # 5.19.x > Acked-by: Baoquan He > Reviewed-by: Catalin Marinas > --- > arch/arm64/kernel/machine_kexec_file.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/kernel/machine_kexec_file.c > b/arch/arm64/kernel/machine_kexec_file.c > index 889951291cc0..a11a6e14ba89 100644 > --- a/arch/arm64/kernel/machine_kexec_file.c > +++ b/arch/arm64/kernel/machine_kexec_file.c > @@ -47,7 +47,7 @@ static int prepare_elf_headers(void **addr, unsigned long *sz) > u64 i; > phys_addr_t start, end; > > - nr_ranges = 1; /* for exclusion of crashkernel region */ > + nr_ranges = 2; /* for exclusion of crashkernel region */ > for_each_mem_range(i, &start, &end) > nr_ranges++; Something happened to the whitespace here, so the patch can't be applied. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel