Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp367248rwe; Wed, 31 Aug 2022 04:21:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR5JKUtpw9ZatiVAMjEQz4GREQf0G6FvccjKs/UfRvLKvU+6HhBYItZyiEe/LR1/fwO1kQAA X-Received: by 2002:a63:2fc7:0:b0:42c:3683:7e50 with SMTP id v190-20020a632fc7000000b0042c36837e50mr10944334pgv.534.1661944901154; Wed, 31 Aug 2022 04:21:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661944901; cv=none; d=google.com; s=arc-20160816; b=akwMcfg+wZsnsIdM+2ChKafmUfpmtv3wT57muBcDnlRvjH2rtcpfHqGdGHEdOfosAF WfQfBajpvbivo+ClwhnXLTHgm83qdXrALdhHysitvDirRhS5/QrgzDkgoMnY9+8XiUNr qoaMxrCTi1rWq1VQgBvuFeEzd/8EoBtS2xUIluD+23n6gOOTatM6fFf/PWWn9bq1k5e0 XmyYyR50wHJQgUD9QtI3xOY1NmGN61/g1FE802sXRQI8+AnkP45pB9HwDO7kl1G+Gr7r KqBCQ6Latffpyqb0N2B7QAFxVVGS3Wn75ZBIpvaW+rpYPPGZeL5ZLHnM9o5C8u/VPFZY ESeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=JtUe231ScKnZZsv1scR1HDTAYqZvJhxRELB+mbC/erg=; b=RwsHd8zdNLRwZy9iJdBpVht48hZkY5KeTaYeO1epvx612JPiDKAbq1rONLJV2a2d45 7jhY+NuVCr0nEqzXYA1UxumhLs/JxgWxrHG7RRjuMjJX4LUV4zsrFhy9CpvL7li+86vR t0M1l0mTcCPiGMcEbit1Gd13SRB8aKG9DTGtrIarDB/l8368H7n1gNPYotM2wCU6qSBL JvT3RKe4hjv4/aD/IrfJi0dYt+vexaLhS2owZvIrC0HHNt+42ib786sta7ZLs36u1jWV lnYvIJoU93MybCxUJvKR7NUUGhWwtAflWS7IcQZUxiMDkbR24DkZECyoUUES7pi8jYfE m7/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mWhAoBVM; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lk11-20020a17090b33cb00b001fb7f988858si1940965pjb.130.2022.08.31.04.21.29; Wed, 31 Aug 2022 04:21:41 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mWhAoBVM; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231172AbiHaK3a (ORCPT + 99 others); Wed, 31 Aug 2022 06:29:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230055AbiHaK31 (ORCPT ); Wed, 31 Aug 2022 06:29:27 -0400 Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A246B9F97 for ; Wed, 31 Aug 2022 03:29:27 -0700 (PDT) Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-340f82c77baso187230187b3.1 for ; Wed, 31 Aug 2022 03:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=JtUe231ScKnZZsv1scR1HDTAYqZvJhxRELB+mbC/erg=; b=mWhAoBVM0lwZyI1sH4kD3oX7WXZLDc+gi00olyO/QOzC0P684xrcgzgK6q/pjqoLHc Eks24hDrkJB/Bm0cKceUEOcyM/wq8BUZluENZJJvHTc7ugj5TrAMQkigt9vN/130vWyZ Sj/FmjGyCq38iBXtNDLB76Oba5SLylD5ocj7+x0BEpOwguzPjC0WQ2BXC3GDtJbEu8F9 5471l4UlL6vZPWrCfBxHIIhl0EAhF+ZQgEHYA73mXUg1SrkMkJkqBUFf59ice3rI/qt+ 745AoSfcVN4ZJ0GHTQIgBdq5xgZlnm+m99Ek+whN7+UKSMAktpq6RVwNeArIlMrTFZFG 0fQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=JtUe231ScKnZZsv1scR1HDTAYqZvJhxRELB+mbC/erg=; b=Hzaw5D02sMNf52Q8VxocHQiU64CNAeaino1F6S30WxXigPgr9Jnw/zz1DiG5IBE+HZ 2ElKYRYvOkBboaIOBI3FKQHRE2KzQOq78jPW9Nt3/vJN5I3T+bCBW1Ht4sZOpWnNv1hB fijXvbpFR1Mz7a5enrBWxhvW8PFCliC/na5XXkzDHQ011Lq2c6nNcQeLLSdZEzY+b76z K/VJrSM+hf/GKqQrmHYDPAZp1w/FGDmWzDveMgxeM6kYhKS8nSh9CbtYjeoh0JRuZYEd 1ls3Kqr5cqn2KuRCxIzCJAzcMjdMSMTVlRg+f1I/LlJIGYhC24ujw/MbLrI5Ybwh6RX9 k5tg== X-Gm-Message-State: ACgBeo2MRcoNVa5HFCxZDLhUw4tQxAmrxcLHbyOEH+34fwWLCJg0Wq9W rISclO08qTPRX1uWIsKE/jx7lXH9swfJiCrt6zo= X-Received: by 2002:a0d:cc47:0:b0:340:cf17:9362 with SMTP id o68-20020a0dcc47000000b00340cf179362mr14990924ywd.127.1661941766239; Wed, 31 Aug 2022 03:29:26 -0700 (PDT) MIME-Version: 1.0 References: <20220830092839.3197-1-ppbuk5246@gmail.com> In-Reply-To: From: Yun Levi Date: Wed, 31 Aug 2022 19:29:15 +0900 Message-ID: Subject: Re: [PATCH v2-RESEND] arm64/kexec: Fix missing extra range for crashkres_low. To: Catalin Marinas 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 > > To be even more precise, it should be: > > Cc: # 5.19.x Thanks! I'll fix it! > Something happened to the whitespace here, so the patch can't be > applied. Sorry, I'll check and send again :). Thanks! On Wed, Aug 31, 2022 at 7:26 PM Catalin Marinas wrote: > > 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