Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp474099ybg; Wed, 23 Oct 2019 00:47:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXVyqzbiGmMSsvPPVp1NGdIRvEXPd06+r7iWD1r8XraOi+xW7byEdYiu9eUxXrL/qdcWvo X-Received: by 2002:a50:aa64:: with SMTP id p33mr18772751edc.221.1571816852662; Wed, 23 Oct 2019 00:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571816852; cv=none; d=google.com; s=arc-20160816; b=sL7bxYd2C/zjTW2+lLNTrOqWRj45OmhMs7vjTpYuJE/QbVXvRELiE+eyfOFy1xWYn9 oxnWZj3WDhEM4rtORTT+aFJrCXICuxJ/PPvb5u8AcK44aYVUQWi0rPNyMfbFpArqP1JC vkMaUQ62ZWOlZMrSZmaCFVCjPSWyiZLfVqowW/wQDa3CZrD7YpwhZaf9ytDzjLOzQQZN mV3trgvrqU1ZFdpm6mF1tJWRpt8UmxMHmMosZX3VRuwDSReWNbLJGnfQ4kGZtcyxCYZe LTP2CNyVYFOrclsUqF9g8Di73VRe0H29c08/wKuEtRGX4D6ruCz+GVI0W5wBtk2G7rEA uGHg== 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=jTCcCEyTWzLsA6PZt0F/iewZdpPjA6PgMOIuBrdzh3I=; b=UgKtQd51au1fvrl5gzkdk9qYypqjxsP4I2WJmXcGaeQ1rjCOthgJEg308PYybEFzCp NlPyv32oTRgBFi25OsFxt3k1g5dvEBsjawish+G8CwQkajkqpXrkEYN4865qYJwm7+4N LEeXKOnK4T9u8QOfGerWOvvD4Yrlbbe7rVUEfitRcgNJvGKR4nmLMVhqZVV2c6EsRMEk YAX3W+MMgXMhvQ+A2eDmTO9WFjWBFV5IYwPxPDR8uMxHxfOa10U7gyMiDidvsVa5BWTP nuOKOXmeGTORoOazkYa5gAS/kmSKNHWSIxhqlQl/TEteDbImFsxYjIZnWEZtfb9emtb5 LZww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=cdEy3TTo; 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 h12si4659560ejd.17.2019.10.23.00.47.08; Wed, 23 Oct 2019 00:47:32 -0700 (PDT) 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=cdEy3TTo; 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 S2389933AbfJWHnX (ORCPT + 99 others); Wed, 23 Oct 2019 03:43:23 -0400 Received: from mail.skyhub.de ([5.9.137.197]:55148 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389298AbfJWHnW (ORCPT ); Wed, 23 Oct 2019 03:43:22 -0400 Received: from zn.tnic (p200300EC2F11E8005961F1FA34C94581.dip0.t-ipconnect.de [IPv6:2003:ec:2f11:e800:5961:f1fa:34c9:4581]) (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 A9B5D1EC0C97; Wed, 23 Oct 2019 09:43:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1571816601; 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=jTCcCEyTWzLsA6PZt0F/iewZdpPjA6PgMOIuBrdzh3I=; b=cdEy3TToYVeoDXvYhfp+VeBQPjb9VRyyz6QpXjK783pWJfrUP0z4le2zjQGLZeomi4SP9v b+PUlvkkKoHXtvxtNGkCULnMrZJ5Hfpug6PA3jsOHLKTpSFaX2JLJIQOu7Sbo6B1Q3rUR3 00q04azm4SlI3Jp3T0JjVWpel658k+k= Date: Wed, 23 Oct 2019 09:43:16 +0200 From: Borislav Petkov To: lijiang Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, bhe@redhat.com, dyoung@redhat.com, jgross@suse.com, dhowells@redhat.com, Thomas.Lendacky@amd.com, ebiederm@xmission.com, vgoyal@redhat.com, kexec@lists.infradead.org Subject: Re: [PATCH 1/3 v4] x86/kdump: always reserve the low 1MiB when the crashkernel option is specified Message-ID: <20191023074316.GA16060@zn.tnic> References: <20191017094347.20327-1-lijiang@redhat.com> <20191017094347.20327-2-lijiang@redhat.com> <20191022083015.GB31700@zn.tnic> <0e657965-6f97-84ce-e51d-42d4978c4d88@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <0e657965-6f97-84ce-e51d-42d4978c4d88@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 Wed, Oct 23, 2019 at 01:23:33PM +0800, lijiang wrote: > Kdump kernel will reuse the first 640k region because the real mode > trampoline has to work in this area. When the vmcore is dumped, the > old memory in this area may be accessed, therefore, kernel has to > copy the contents of the first 640k area to a backup region so that > kdump kernel can read the old memory from the backup area of the > first 640k area, which is done in the purgatory(). That sounds better. :) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette