From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5Fih-0007hI-89 for kexec@lists.infradead.org; Wed, 26 Sep 2018 19:43:36 +0000 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8QJcxGY072526 for ; Wed, 26 Sep 2018 15:43:03 -0400 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0a-001b2d01.pphosted.com with ESMTP id 2mrf5kutxa-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 26 Sep 2018 15:43:03 -0400 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 26 Sep 2018 20:43:01 +0100 Subject: Re: [PATCH] makedumpfile/ppc64: increase MAX_PHYSMEM_BITS to > 128TB References: <2052418868.38852422.1537989018012.JavaMail.zimbra@redhat.com> From: Hari Bathini Date: Thu, 27 Sep 2018 01:12:55 +0530 MIME-Version: 1.0 In-Reply-To: <2052418868.38852422.1537989018012.JavaMail.zimbra@redhat.com> Content-Language: en-US Message-Id: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Dave Anderson , kexec@lists.infradead.org On Thursday 27 September 2018 12:40 AM, Dave Anderson wrote: > ----- Original Message ----- >> * Required for kernel 4.19 >> >> With kernel commit 7d4340bb92a9 ("powerpc/mm: Increase MAX_PHYSMEM_BITS >> to 128TB with SPARSEMEM_VMEMMAP config"), MAX_PHYSMEM_BITS is bumped up >> to 47. Make the appropriate update here. >> >> Signed-off-by: Hari Bathini >> --- >> arch/ppc64.c | 5 +++++ >> makedumpfile.h | 1 + >> 2 files changed, 6 insertions(+) >> >> diff --git a/arch/ppc64.c b/arch/ppc64.c >> index 8b6f7d5..947a125 100644 >> --- a/arch/ppc64.c >> +++ b/arch/ppc64.c >> @@ -481,6 +481,11 @@ set_ppc64_max_physmem_bits(void) >> || (array_len == (NR_MEM_SECTIONS() / _SECTIONS_PER_ROOT()))) >> return TRUE; >> >> + info->max_physmem_bits = _MAX_PHYSMEM_BITS_4_19; >> + if ((array_len == (NR_MEM_SECTIONS() / _SECTIONS_PER_ROOT_EXTREME())) >> + || (array_len == (NR_MEM_SECTIONS() / _SECTIONS_PER_ROOT()))) >> + return TRUE; >> + >> return FALSE; >> } >> >> diff --git a/makedumpfile.h b/makedumpfile.h >> index d1fcd87..46ebe2e 100644 >> --- a/makedumpfile.h >> +++ b/makedumpfile.h >> @@ -673,6 +673,7 @@ unsigned long get_kvbase_arm64(void); >> #define _SECTION_SIZE_BITS (24) >> #define _MAX_PHYSMEM_BITS_ORIG (44) >> #define _MAX_PHYSMEM_BITS_3_7 (46) >> +#define _MAX_PHYSMEM_BITS_4_19 (47) >> #define REGION_SHIFT (60UL) >> #define VMEMMAP_REGION_ID (0xfUL) > Hari, > > Do you have an accompanying crash utility patch coming along? > Yes, Dave. I am working on the crash utility patch.. _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec