From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1207C43387 for ; Fri, 18 Jan 2019 10:26:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ACF1020823 for ; Fri, 18 Jan 2019 10:26:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="OPtvKWRe" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726880AbfARK0k (ORCPT ); Fri, 18 Jan 2019 05:26:40 -0500 Received: from mail.skyhub.de ([5.9.137.197]:59966 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726288AbfARK0j (ORCPT ); Fri, 18 Jan 2019 05:26:39 -0500 Received: from zn.tnic (p200300EC2BCB1B0039C8CE17CD8BEE66.dip0.t-ipconnect.de [IPv6:2003:ec:2bcb:1b00:39c8:ce17:cd8b:ee66]) (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 C3DDB1EC0B3D; Fri, 18 Jan 2019 11:26:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1547807197; 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=9t7Qh4ghsH7dI4ahwxl7mrVeisUELj6yp1iL1v7CF2A=; b=OPtvKWRekffbpdeGlWALOm5YG4MWWlcQNltCrJYYF2jx5WIAcYE7OlNr1674yzM2Y+8I9v ZAkZjinyhVBRPNgKuJ/QXzcoXnZZUn/J4twVbJ6AYnV7MgXUhCD6NlQDD/IB34Nf2fmvyE XoIYEFtxFPY5cIIbx8QnavXe+DKsVVc= Date: Fri, 18 Jan 2019 11:26:36 +0100 From: Borislav Petkov To: Kairui Song Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, Dave Young , Baoquan He , kexec@lists.infradead.org, akpm@linux-foundation.org, robert.moore@intel.com, erik.schmauss@intel.com, rafael.j.wysocki@intel.com, Len Brown , Chao Fan Subject: Re: [PATCH v2 2/2] x86, kexec_file_load: make it work with efi=noruntime or efi=old_map Message-ID: <20190118102636.GB622@zn.tnic> References: <20190115095834.22617-1-kasong@redhat.com> <20190115095834.22617-3-kasong@redhat.com> <20190115231005.GF6596@zn.tnic> <20190116094619.GB15409@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 17, 2019 at 03:41:13PM +0800, Kairui Song wrote: > How about we refill the boot_params.acpi_rsdp_addr if it is not valid > in early code, so it could be used as a reliable RSDP address source? > That should make things easier. > > But if early code should parse it and store it should be done in > Chao's patch, or I can post another patch to do it if Chao's patch is > merged. Chao's stuff does the as early as possible parsing of RDSP. Then, it should be saved into boot_params and everything else should read it from there. Simple. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.