Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758715Ab3DAWRJ (ORCPT ); Mon, 1 Apr 2013 18:17:09 -0400 Received: from mail-ie0-f176.google.com ([209.85.223.176]:64338 "EHLO mail-ie0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758077Ab3DAWRH (ORCPT ); Mon, 1 Apr 2013 18:17:07 -0400 MIME-Version: 1.0 In-Reply-To: <515A03DB.6040107@zytor.com> References: <20130320163131.GE2273@redhat.com> <1363807329-24975-1-git-send-email-yinghai@kernel.org> <20130325194245.GA7357@redhat.com> <20130326181418.GA6775@redhat.com> <20130401133428.GA13499@redhat.com> <5159D2E9.7080707@zytor.com> <20130401192606.GA17951@redhat.com> <5159F27E.7060300@zytor.com> <515A03DB.6040107@zytor.com> Date: Mon, 1 Apr 2013 15:17:06 -0700 X-Google-Sender-Auth: goYEqrIhbRmhljtUMgfoelpzYHI Message-ID: Subject: Re: [PATCH] kexec: use Crash kernel for Crash kernel low From: Yinghai Lu To: "H. Peter Anvin" Cc: Vivek Goyal , Thomas Gleixner , Ingo Molnar , WANG Chao , "Eric W. Biederman" , Linux Kernel Mailing List Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1322 Lines: 36 On Mon, Apr 1, 2013 at 3:02 PM, H. Peter Anvin wrote: > On 04/01/2013 02:10 PM, Yinghai Lu wrote: >> On Mon, Apr 1, 2013 at 1:47 PM, H. Peter Anvin wrote: > It sounds that the "never DMA'd to memory" notion requires that we have > some low memory for the iommu, no? > > Or am I misunderstanding what you are asking here? No. just find where to put second kernel. When vivek raise the problem at beginning, he suggested 1. try 896M under at first, if it fails, will allocate under 4G, and if it still fail try above 4G. 2. or keep crashkernel=XM, only to low, and add crashkernel_high if someone really want it to be high. and then you said, we should keep consistent to keep all above 4G. Now Vivek says we should use crashkernel=XM,low and crashkernel=XM,high , also crashkernel=XM is treated as low. And his last suggestion is just as his old second suggestion. I just check the code again, it looks it is easy to change it to support: 1. crashkernel=XM 2. crashkernel_high=XM 3. crashkernel_high=XM crashkernel_low=YM Yinghai -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/