Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp16175911ybl; Tue, 31 Dec 2019 23:24:54 -0800 (PST) X-Google-Smtp-Source: APXvYqxb6fOyVmcUvrIPRI1suOPbHUqAGZis2EHRDyRv4nJcm+jFug3X3HVi2tTtvFzLFrGcWroW X-Received: by 2002:a17:906:198b:: with SMTP id g11mr81439963ejd.271.1577863494109; Tue, 31 Dec 2019 23:24:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577863494; cv=none; d=google.com; s=arc-20160816; b=Uk8OF5w30ki4flFBK8wLQXDZKkjT5nBOIp37kxXDim3HKDk5l8BuwH1+HEz3GPnmdi pcPGqAOCeWRjNYwQYeJRuW5N+Rec4fI4b2+/utlRCFhLmHb1YNfp6PQspJ9IVyuMR1EP hLse3sjSHojG0XEc2avpVOj3hgFdwPZoiGjaazPnDIydfD579LD4SHpfxw3UX7kYdXn2 bHCEGwGdP7BtEspkrxolMtuSCYSArJ9dR8EFk88pO5ZO1RHr22C6WrpHZhvEO60CZQe8 GFAZ1cd30LbJuC15a42tAxuuIO/hepObK+xfHz4VhM6/w30SKlIM4CBvDq2d4qUUeBBc 5sqg== 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=ZkJ1mIbTrrBOlKZUoQPdf32Q2bHvXxd3EaQrbVcK/wk=; b=ocFEy3AgFKNvNBdl7ptlykvH0/j73+i14jrlXheo5YQeUM9+xIyXm7Bkfj7dhfvIkx gj2Ft6yVL3GO57GqdBJ6Wr/BlrikbAwL0nTP5qQ9Xw3NG5jFKKFJ6zQ8qUTQpj4IdNiX bagzqtX/zK2e3agiCzWWI4OMrDwRMWvj3C0q8u/W9kaA4tbae8/XwUxv+ATTfuKUi2+b QPdOLBkH6aq+bHjOjTvakQSlFGG6KUGZxJeQkpDLrpg/W+USEdQQ1yjX3bupzN4m/QJl kh/PUYQrkZVv7N3WNMGNoCXCIml4HBuWRq0eJQmmWplz5RY4kk9e23NQV7fTtLc47B12 uzUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HMTmPSu5; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p5si32581722ejf.174.2019.12.31.23.24.30; Tue, 31 Dec 2019 23:24:54 -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=@redhat.com header.s=mimecast20190719 header.b=HMTmPSu5; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725900AbgAAHXC (ORCPT + 99 others); Wed, 1 Jan 2020 02:23:02 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:43360 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725787AbgAAHXC (ORCPT ); Wed, 1 Jan 2020 02:23:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1577863381; 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: in-reply-to:in-reply-to:references:references; bh=ZkJ1mIbTrrBOlKZUoQPdf32Q2bHvXxd3EaQrbVcK/wk=; b=HMTmPSu5gdMK/K5C9ATTLOARBM7Og2aKuM3vrOVm4lws9KzxwNXrCm+0EM855oDzxcM1bE 2pgRk2E6BRZrKuOU0n0kbBo7Iq3fwu/vHy+8N559a3j4VY/HL+2T/2COpK9I4hC3RSvObk KLYhgOqWqaGGd+HSDwtdD0YWboNEE7U= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-52-FPJNVcs3Ocm2QR97esNbTQ-1; Wed, 01 Jan 2020 01:20:58 -0500 X-MC-Unique: FPJNVcs3Ocm2QR97esNbTQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 36F75185432D; Wed, 1 Jan 2020 06:20:56 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-60.pek2.redhat.com [10.72.12.60]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5BE2A5D9E2; Wed, 1 Jan 2020 06:20:51 +0000 (UTC) Date: Wed, 1 Jan 2020 14:20:47 +0800 From: Dave Young To: Dan Williams Cc: Ingo Molnar , Taku Izumi , Michael Weiser , Ard Biesheuvel , Thomas Gleixner , Ingo Molnar , Linux Kernel Mailing List , linux-efi , kexec@lists.infradead.org, X86 ML Subject: Re: [PATCH v2 4/4] efi: Fix handling of multiple efi_fake_mem= entries Message-ID: <20200101062047.GA16393@dhcp-128-65.nay.redhat.com> References: <157782985777.367056.14741265874314204783.stgit@dwillia2-desk3.amr.corp.intel.com> <157782987865.367056.15199592105978588123.stgit@dwillia2-desk3.amr.corp.intel.com> <20200101045141.GA15155@dhcp-128-65.nay.redhat.com> <20200101061505.GA15717@dhcp-128-65.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200101061505.GA15717@dhcp-128-65.nay.redhat.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Does kexec preserve iomem? I.e. as long as the initial translation of > > efi entries to e820, and resulting resource tree, is preserved by > > successive kexec cycles then I think we're ok. > > It will not preserve them automatically, but that can be fixed if > needed. > > There are two places: > 1. the in kernel loader, we can do similar with below commit (for Soft > Reseved instead): > commit 980621daf368f2b9aa69c7ea01baa654edb7577b > Author: Lianbo Jiang > Date: Tue Apr 23 09:30:07 2019 +0800 > > x86/crash: Add e820 reserved ranges to kdump kernel's e820 table Oops, that is for kdump only, for kexec, should update the kexec e820 table. But before doing that we need first to see if this is necessary. Thanks Dave