From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hasUU-000137-9B for kexec@lists.infradead.org; Wed, 12 Jun 2019 01:55:55 +0000 Date: Wed, 12 Jun 2019 09:55:49 +0800 From: Baoquan He Subject: Re: [PATCH 0/3 v11] add reserved e820 ranges to the kdump kernel e820 table Message-ID: <20190612015549.GI26148@MiWiFi-R3L-srv> References: <20190423013007.17838-1-lijiang@redhat.com> <12847a03-3226-0b29-97b5-04d404410147@redhat.com> <20190607174211.GN20269@zn.tnic> <20190608035451.GB26148@MiWiFi-R3L-srv> <20190608091030.GB32464@zn.tnic> <20190608100139.GC26148@MiWiFi-R3L-srv> <20190608100623.GA9138@zn.tnic> <20190608102659.GA9130@MiWiFi-R3L-srv> <20190610113747.GD5488@zn.tnic> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190610113747.GD5488@zn.tnic> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Borislav Petkov Cc: Thomas.Lendacky@amd.com, x86@kernel.org, lijiang , peterz@infradead.org, dave.hansen@linux.intel.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, mingo@redhat.com, luto@kernel.org, hpa@zytor.com, tglx@linutronix.de, dyoung@redhat.com, akpm@linux-foundation.org On 06/10/19 at 01:37pm, Borislav Petkov wrote: > On Sat, Jun 08, 2019 at 06:26:59PM +0800, Baoquan He wrote: > > OK, I see. Then it should be the issue we have met and talked about with > > Tom. > > https://lkml.kernel.org/r/20190604134952.GC26891@MiWiFi-R3L-srv > > > > You can apply Tom's patch as below. I tested it, it can make kexec > > kernel succeed to boot, but failed for kdump kernel booting. The kdump > > kernel can boot till the end of kernel initialization, then hang with a > > call trace. I have pasted the log in the above thread. Haven't got the > > reason. > > http://lkml.kernel.org/r/508c2853-dc4f-70a6-6fa8-97c950dc31c6@amd.com > > I can confirm the same observation. With further investigation, the failure after applying Tom's patch is caused by OOM. When increase crashkernel reservation to 512M, kdump kernel can boot successfully. I noticed your crashkernel reservation is 256M, that will fail and stuck there very possibly. So Tom's patch can fix the issue. We need further check why much more crashkernel memory is needed on those AMD boxes with sme support.. Thanks Baoquan _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec