Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp11245yba; Wed, 17 Apr 2019 18:25:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxsu007eHFFZNu1C3BZjPf8GWVloX0+WWNtT506nSiyj3u0mgXrZC9PNsSbFgtpglXrfHdJ X-Received: by 2002:a63:494f:: with SMTP id y15mr86728492pgk.56.1555550716153; Wed, 17 Apr 2019 18:25:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555550716; cv=none; d=google.com; s=arc-20160816; b=uFVqnJuuiBCMrAGWJIjh/pSr9jboC10XEASkHCkq8IoI58RjHW6xWyBHsAWOHvTIDp OtuLguFuoTx7RvePnBSiBMIvg28gfqTzM0Wt1WXDbOIiOFeVvhZFF4JSWTR/3vpdgYhk +q4a6Z4Psx3IpyLECJp2F08LM3R7MlxStRjc9R+fEys9zWiJH3QFvcPE8Fom2fA464PB CPgPNEz8ByFyDtxppsCIVn8CW7lzoERmD770b2rzY92RN6rp4nvjIDl3+YqpPFV177eE g3ZX/J/lTd3zX+HKK7iFGJDQ5UJCSgv4mJe0vMQjvrbhdHAw1Cfqs9XTXeVsVe23irMe h6Zw== 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; bh=dbaxPYo35JP91wukfCJMS0HuVaakWm0uBeLxA95FZRI=; b=FjWkwuM68U2qkr1GE/Eys82sPXPttRt695N0FM+ow5bLFTUhaj8xIr0J5it54MTvV9 RN+jgOtHRWlMxi9R3TcepKlMsWCta4FyoVaG7mOKiNfYOEl08nRrNpSdUxOGsQeQjFqv 9tHAuclKe+7ObOCl4zLvbW4t/tde4jh3V1V8J7wydV6ofUMYuR63eBdPAm1qQ8OZWBSj Pq/wjt+dkBpG3CMzg5znBaLCT3KfNwt4H+L8HGDidjOyn1uiH7v+Aj1YBUUyVnC6dVRt A0o5wDf8BKloQ9qUSYVZQRzI5twsBaLbVWf4J97PAbywXeoQq4j7StZSni6ycSb1qMe9 MwOg== ARC-Authentication-Results: i=1; mx.google.com; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g67si599672plb.375.2019.04.17.18.25.00; Wed, 17 Apr 2019 18:25:16 -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; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387443AbfDRBYK (ORCPT + 99 others); Wed, 17 Apr 2019 21:24:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55132 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729331AbfDRBYK (ORCPT ); Wed, 17 Apr 2019 21:24:10 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E17D030198A5; Thu, 18 Apr 2019 01:24:09 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-74.pek2.redhat.com [10.72.12.74]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7697919C65; Thu, 18 Apr 2019 01:24:06 +0000 (UTC) Date: Thu, 18 Apr 2019 09:24:02 +0800 From: Dave Young To: Borislav Petkov Cc: Junichi Nomura , Chao Fan , Baoquan He , Kairui Song , "x86@kernel.org" , "kexec@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] x86/boot: Use efi_setup_data for searching RSDP on kexec-ed kernels Message-ID: <20190418012402.GB4977@dhcp-128-65.nay.redhat.com> References: <20190415090717.GA29317@zn.tnic> <20190415102525.GB29317@zn.tnic> <23309b73-d135-a207-564b-6003cee39184@ce.jp.nec.com> <20190416094024.GE27892@zn.tnic> <20190416095209.GG27892@zn.tnic> <20190416114133.GA7541@dhcp-128-65.nay.redhat.com> <20190416132253.GE31772@zn.tnic> <20190417013838.GA8411@dhcp-128-65.nay.redhat.com> <20190417082250.GA20492@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190417082250.GA20492@zn.tnic> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Thu, 18 Apr 2019 01:24:10 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/17/19 at 10:22am, Borislav Petkov wrote: > On Wed, Apr 17, 2019 at 09:38:38AM +0800, Dave Young wrote: > > But if you want to apply it now, I think it is fine as well, probably > > the laptop issue is lenovo firmware specific, we can add rsdp in cmdline > > or boot params via kexec-tools so it should be good by using new kexec-tools. > > I'm not in a hurry to apply it - if you guys wanna debug this further, > sure, we can wait and then tag all the fixes for stable so that they can > get backported. Thanks! According to our debugging this indeed need amending. We tried maping the efi systab/acpi table area with some hardcode changes, and test passed. This means the previous tests people have done probably just happened work, maybe early pg table happen to cover the memory areas in their cases. We noticed in vm guest and some other machines, the systab all fall into memory under 2G, but the systab of T420 sits in area 0xda...... which is 2G ~ 4G area. Kairui is trying to work on some fix so that it can be folded into the current reviewed patch. Thanks Dave