Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3017673img; Mon, 25 Mar 2019 01:55:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwud35EjZ0U6NtvtQ+UPtwzJSAofwMYf8wipsvzNlbt1Q+gNusw3zj0x6EBcL8OO3a37Few X-Received: by 2002:a62:39d6:: with SMTP id u83mr22934391pfj.161.1553504140230; Mon, 25 Mar 2019 01:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553504140; cv=none; d=google.com; s=arc-20160816; b=j2dzY+sQWz6nt4v4tCmppAyN/hzwmo6JwSc/ZtvihdIod33KC5gWf2wysJ9Cu2kZ4n uDywkPObnOCoxLLmZW/rkeOpsEBXLXNspcl02MvnuHCuCF/pqTVntTMnvQfvwmhsYsUP gnm4xw/kDdl7DMtKYJzoSaeemE/+hI5mGqZ2ZqDEGbZMCTQ97LkbAlgzhkBjB3m8xNbA /x6uOwHqCvqd6jxVqkWyZaWxmCX6npwf+zQIv7g/bFH3US3yXTDSxRYSC2hbsjc2uOXq nBCfS6qo13scvsBwek/EwtktL3hj54FS1Yp+IRc73UVrwSHGLjs9EFCwCYodJV7KgSvR QPrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=z53EwizmjIyxN10SgYjxj3UycnodzftL3CAyddh94Xs=; b=V0UqOEUoPGQGR9p+AH6YRLEkzz9CA/x9KPvPd3R5ayfnvx/4EfnbN6Uz6nz0MEuWgy YU4nDVX/6w7It8paUvQ+RUe37Fvv+681n12H2AUfTmh24RiNnDg8kqfMbl9hJCdaZIL9 QOlGLw6Ptd57skCD2KdzLXZUVUWbl2d0rsipJA97MlbVSJSlUJGjAiAufSJ+z8APv+Pv 9jgFCoMyHy7QfyNIRZkVNSvi7dtn+6Z+duPQgb0xSobmuAvpxXzxV4G0KhKREF3XuGIC 9hRribIFa4atFU1gRKMAd6jSVg12WOjnVf6wHRKJmnYuLlmJ9m6GmyBqXUcbv23glew7 67vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@alien8.de header.s=dkim header.b=edUGzOpp; 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=fail (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 f6si14414525plf.356.2019.03.25.01.55.25; Mon, 25 Mar 2019 01:55:40 -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=fail header.i=@alien8.de header.s=dkim header.b=edUGzOpp; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730115AbfCYIyX (ORCPT + 99 others); Mon, 25 Mar 2019 04:54:23 -0400 Received: from mail.skyhub.de ([5.9.137.197]:43766 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726234AbfCYIyW (ORCPT ); Mon, 25 Mar 2019 04:54:22 -0400 Received: from [192.168.0.14] (pd95c0187.dip0.t-ipconnect.de [217.92.1.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 7E5231EC02D1; Mon, 25 Mar 2019 09:54:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1553504061; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z53EwizmjIyxN10SgYjxj3UycnodzftL3CAyddh94Xs=; b=edUGzOppLyx7tUFB94Vly2sQwm9VqtBIhYlkOP49RBq6xI8o56blNZ//T/TDKm0Wg6L7Gi pb8rwxi7g41CLCfq/uN2wBqO2NgH+XEAERA2Dpr0ivOGPmLXGK67T//PcbZGz7C/ObHnds OOy8a0bvScJZFHQ32kXGHGJqtxv71HE= Date: Mon, 25 Mar 2019 09:54:19 +0100 User-Agent: K-9 Mail for Android In-Reply-To: <20190325082720.GA20771@jeru.linux.bs1.fc.nec.co.jp> References: <20190322110342.GA16202@jeru.linux.bs1.fc.nec.co.jp> <20190322152328.GD12472@zn.tnic> <20190325002740.GA6637@jeru.linux.bs1.fc.nec.co.jp> <20190325060128.GB9385@dhcp-128-65.nay.redhat.com> <20190325061929.GC9385@dhcp-128-65.nay.redhat.com> <20190325065921.GA11096@dhcp-128-65.nay.redhat.com> <20190325082720.GA20771@jeru.linux.bs1.fc.nec.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v2] x86/boot: Use EFI setup data if provided To: Junichi Nomura , Dave Young , "fanc.fnst@cn.fujitsu.com" , "bp@suse.de" , "bhe@redhat.com" , "kasong@redhat.com" CC: "x86@kernel.org" , "kexec@lists.infradead.org" , "linux-kernel@vger.kernel.org" From: Boris Petkov Message-ID: <51D9A7D1-49BF-4679-B102-0FC5AC300C9F@alien8.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On March 25, 2019 9:27:21 AM GMT+01:00, Junichi Nomura wrote: >On 3/25/19 3:59 PM, Dave Young wrote: >> On 03/25/19 at 06:47am, Junichi Nomura wrote: >>> On 3/25/19 3:19 PM, Dave Young wrote: >>>> On 03/25/19 at 02:01pm, Dave Young wrote: >>>> I think normally people do not see this bug, because kernel will >set the >>>> rsdp in boot_params->acpi_rsdp_addr=2E Maybe you are testing with >>> >>> I think it's only done for file-based kexec interface=2E >>=20 >> Saw Kairui's another reply, yes, kexec-tools need a patch to fill the >> value as well then=2E >>=20 >> I would vote for a repost of your old patch with some #ifdef > >Thanks for comments, Dave, Kairui and Baoquan=2E > >The problem for me is it's a regression in v5=2E1-rc1, that breaks >existing setup=2E If early parsing of RSDP is required only for newly >supported configuration, I'm fine such configuration requires >new tools or new options=2E > >This is the 1st version plus #ifdef around the EFI code=2E I'm going to repeat that again until you get it: If the kexec kernel should continue to use efi_systab_init() then you should make efi_get_rsdp_addr() exit early in the kexec-ed kernel=2E --=20 Sent from a small device: formatting sux and brevity is inevitable=2E