Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751387AbdL0MZW (ORCPT ); Wed, 27 Dec 2017 07:25:22 -0500 Received: from mail.skyhub.de ([5.9.137.197]:42908 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970AbdL0MZU (ORCPT ); Wed, 27 Dec 2017 07:25:20 -0500 Date: Wed, 27 Dec 2017 13:25:23 +0100 From: Borislav Petkov To: Baoquan He Cc: Jiri Bohac , Toshi Kani , David Airlie , Dave Young , joro@8bytes.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Ingo Molnar , "H. Peter Anvin" , Bjorn Helgaas , Thomas Gleixner , yinghai@kernel.org, Vivek Goyal Subject: Re: [PATCH v2] x86/kexec: Exclude GART aperture from vmcore Message-ID: <20171227122523.GC13909@nazgul.tnic> References: <20171216001514.x5eg37ad4aa2fwqt@dwarf.suse.cz> <20171216010142.GK12442@x1> <20171217214735.nuxq5zo2eknqpbpi@pd.tnic> <20171218134736.GA4035@x1> <20171218143753.k7xyq6yiyjisnonh@pd.tnic> <20171219015804.GC4035@x1> <20171219175827.oqfskuax6zzm2ljq@dwarf.suse.cz> <20171227074449.GA15255@x1> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171227074449.GA15255@x1> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 684 Lines: 21 On Wed, Dec 27, 2017 at 03:44:49PM +0800, Baoquan He wrote: > > yes, instead of crashing the machine (because GART may be initialized in the > > 2nd kernel, overlapping the 1st kernel memory, which the 2nd kernel with its > > fake e820 map sees as unused). > > > > I'd say this is an improvement. > > I don't get what you said. If 'iommu=off' only specified in 1st kernel, > kdump kernel will think the memory which GART bar pointed as a hole. > This is incorrect. I don't see the improvement. So he says, this memory is unused. Why is that incorrect?!? Wh do I care about dumping unused memory?!?! -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --