Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6980412imu; Thu, 31 Jan 2019 02:59:36 -0800 (PST) X-Google-Smtp-Source: ALg8bN4Yozy+XF8dSdlKHgXjXakNfSj+MtLjsss1AGW9tkTnG3pX2BAxkx1BlMlZxEnWHH8ma3SB X-Received: by 2002:a63:1b1f:: with SMTP id b31mr30742552pgb.66.1548932376786; Thu, 31 Jan 2019 02:59:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548932376; cv=none; d=google.com; s=arc-20160816; b=WZd5RLQ9Nq9l3E3p0b9J6cUPPZqWOxno0MnyEZTIM7qDdo4j+D5TXYsDKuPEwsu2Kj 6AnQ24oHGa9HWwpasbjDSPc5jqwlNU/MHxmLV7AKzsOZ1NQRy9bA+qBBFR+kMZOEed4Y NAUJYZ8OtW693uErzVw0hxFauOSiKZQy1TH+lmxxeQBtP5fMtFDBuku+W67JvTiQAzuy BSlJloL/mQimJsOIBOJCdiU7HJqza/I1wJ6UWdu8r3dmOpFQoX+4xNflUuzosNHTfLAI T8VYeCY8jLgkAIldb/pc1/owdYacwAcA61G9lXfWOVygJmOcdx3HMD6/9VulOdNmRYU8 5gww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=O0xgpUBrruCmEZcMdSUBZ+v15pkz7mxCV1nrHgWcCFM=; b=PDrjOIkZledSGB4vJcIzXzWDkSIDkcyeKBCrnM2cBP4bPZxbtV/TLKKiEW+m3qBZPy b0dI9t6UMDdF6Zqs046bDo9Ourposcvk2wtAzrYWMFmVRPkn0BsMtIrFEpTCQtIVz2Jr T6lUOXNcx/FDiyX4SW1Lj2eeV/yai3t9pSXsrWVV4ye4jiEXG9Vszze8QbjogFLIvQ7n 78kyWD4glAvSZ6odvMtqYfowdkAY9+ju0H2oV5GleqnVgJblJ6Qvb3RtXEOMmSGwrh0g TvfHSVt4QrprdGkktjPNeP1wLU2jIGroxWCB/kIFYKaGMWG1qtbSyV8k3sWWOnpTsvcx tgDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=AZPtvn+j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b18si4289511plz.105.2019.01.31.02.59.21; Thu, 31 Jan 2019 02:59:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=AZPtvn+j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727423AbfAaK5h (ORCPT + 99 others); Thu, 31 Jan 2019 05:57:37 -0500 Received: from mail.skyhub.de ([5.9.137.197]:34898 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726221AbfAaK5h (ORCPT ); Thu, 31 Jan 2019 05:57:37 -0500 Received: from zn.tnic (p200300EC2BCC59000D578CD19F54A2D7.dip0.t-ipconnect.de [IPv6:2003:ec:2bcc:5900:d57:8cd1:9f54:a2d7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 638A71EC027A; Thu, 31 Jan 2019 11:57:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1548932256; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=O0xgpUBrruCmEZcMdSUBZ+v15pkz7mxCV1nrHgWcCFM=; b=AZPtvn+j6oO8yD2eN1UK9iRzEm6i390ECajihAC3AWkgyQ9LHt3U1YIauLXOFuJg1EThaY j5hGYvUEz/k4Yg3Rs33MeQoyJl4+otw8JHaln3VZGV6wOzxBV5WJMKsjDq2xTExhwnNsMQ KV5Q0/qvZww9uBMOBWwp2EE+9dPx7+I= Date: Thu, 31 Jan 2019 11:57:32 +0100 From: Borislav Petkov To: Dave Young Cc: Pingfan Liu , kexec@lists.infradead.org, Baoquan He , Andrew Morton , Mike Rapoport , yinghai@kernel.org, vgoyal@redhat.com, Randy Dunlap , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv7] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr Message-ID: <20190131105732.GC6749@zn.tnic> References: <1548047768-7656-1-git-send-email-kernelfans@gmail.com> <20190125103924.GB27998@zn.tnic> <20190125134518.GA23595@dhcp-128-65.nay.redhat.com> <20190125140823.GC27998@zn.tnic> <20190131075907.GB19091@dhcp-128-65.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190131075907.GB19091@dhcp-128-65.nay.redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 31, 2019 at 03:59:07PM +0800, Dave Young wrote: > As Pingfan/me mentioned in another reply, there are two reasons: > 1. old kexec-tools can not load kernel to high memory > 2. ,high will not work on some systems without some amounts of low > memory so it nees reserve extra low memory, it is bad for people who do > not want it. Let's see: we don't enable high by default because of old kexec-tools and some systems which do some funky reservations. But this patch kinda enables high by trying a couple more regions. So we don't really need this - we simply need to tell people to use high if it fails with KASLR, AFAICT. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.