Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935205Ab3DJTjn (ORCPT ); Wed, 10 Apr 2013 15:39:43 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:31144 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765005Ab3DJTjk (ORCPT ); Wed, 10 Apr 2013 15:39:40 -0400 From: Yinghai Lu To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Cc: WANG Chao , Vivek Goyal , "Eric W. Biederman" , linux-kernel@vger.kernel.org Subject: [PATCH -v4 0/4] x86, kdump: Fix crashkernel high with old kexec-tools Date: Wed, 10 Apr 2013 12:39:15 -0700 Message-Id: <1365622759-2133-1-git-send-email-yinghai@kernel.org> X-Mailer: git-send-email 1.8.1.4 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1036 Lines: 25 Vivek found some problems with old kexec-tools. We keep the old crashkernel=X to old behavoir, so it will not break old kexec-tools. Add crashkernel=X,high to support new kexec-tools that supports loading high. when high is used, memblock will search from top to low. if the allocated one is above 4G, kernel will try to auto allocate 72M under 4G for swiotlb. user could crashkernel=Y,low to change 72M to other value. -v2: reorder the patch sequences crashkernel=X,high, crashkernel=Y,low only handle simple form. crashkernel=X will override crashkernel=X;high crashkernel=Y;low -v3: update description in kernel-parameters.txt update get_last_crashkernel and _simple checking about suffix. -v4: update to use ,high again, and also not abuse parse_crashkernel_simple Thanks 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/