Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3483733pxv; Mon, 19 Jul 2021 00:55:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6RfTs/WzQ2jH7qIWD0z1lBKWvpJpGXRT4G243k+GjkmR17aCnnZHjExS1nmSeMXfdeycf X-Received: by 2002:a05:6402:548:: with SMTP id i8mr33219309edx.250.1626681343264; Mon, 19 Jul 2021 00:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626681343; cv=none; d=google.com; s=arc-20160816; b=ilO6IlwX0ix7EuJti+S8jXNeu0CFD7NQ1/x73jr+R3JhMBNMERP7Sfg7jKULBEBVk/ loPTwZJSDZY0lhIL+gC2lxdXIfgdD+J5K0AeMJv97E6sgk/PKB+u/NYT4bsdtadWaOC4 yUU8Av6HaNsL0izAtlaiJz3Qkp/tJHPCP4Saz6llsXG/D2iA1aAEDVhjRAbC8/ehWI// VxB2pw3zpjBTvIptnukSDYgiEOML5JEOahO5zLjHtSi+LLTXWZUhbgAapXKkvkQ2N+rc qZBy79iUBVYiYeQpPGN4nTYlPc6Xh2sA6iMNXbqfNmoFHqLTzPA9J4x53tOos2cuWu31 zRUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ORMrcnx/zNNnj8VH8wM12JnGd7Qk4iaJg+qVzsiTM2E=; b=KGX9Mjq2298QvPDpVaDMroOBMIpxtOhjomDm1YGJ1ohahYbf+bN/UWAierWb/QjFoa XeXyYT9uEd+wqrHfWDI5h39wXcftk2K2PBGnz8N60bBvLqogyDVPTswJNbuz0O/1PR17 +swvyv3DnFCc37P3ShFT44by6ji+V8LWeYOS8r6mIDBCHa436KgNbJGCCbJV5WDMgj2l dMSeCRt7R1IHE3Q0mg2rE9qy5vYakorXcmLo/Kwk46skeiLlHTO72vkCkQuAU0/4uRpf jsM1BNBrzyaZhXkVHORpmjqsYhz0fX4n1VJLE4/LIDCxdJT0lKJo4reva0LLitvuvsuh cxKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hyxTyfs2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si19751101edw.18.2021.07.19.00.55.20; Mon, 19 Jul 2021 00:55:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hyxTyfs2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234937AbhGSH4W (ORCPT + 99 others); Mon, 19 Jul 2021 03:56:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:55944 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234778AbhGSH4V (ORCPT ); Mon, 19 Jul 2021 03:56:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D033F611B0; Mon, 19 Jul 2021 07:53:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626681201; bh=xiP3w8WpsWKPUtCCWunp0nP5etaDOOBzPlAC6e3dtis=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=hyxTyfs2Xbc5QrhmU11PpDL0UBkKqdlfAY5GNLqsvaCTSufq5Bq8qkuoCcyVqPHT7 KpBMAuhrU7bqrynUfECtesdBbopecog2BPUaQWA6v2Tlmv8Z1IB/9AsJs0/+0Me8Tk cn4R5LYSRK5aEPGtWksq7WQhb2drFmCwV3cV+uiUUdewknCMraSEP72ghoMFMJj0XJ VeO3unrbiW3gZucH10cPO4joedvBtvVt8CAg1bE05KgP4ob4Ozm52dxlFKKV4IHPuD X5UmCvhkmf3Q06s3UXieDcdFXwxQuKXhy1ebKIar6+rgufr3i+7101UrlaGlvUdwZe SFV+SRb05ORJg== Received: by mail-oi1-f175.google.com with SMTP id s23so4089343oiw.12; Mon, 19 Jul 2021 00:53:21 -0700 (PDT) X-Gm-Message-State: AOAM532+PUAnFwI6tMGR3RPJh46GTPCPclp5T5qzJ08QxFNxETwU8ycs rA0BcPJgKCkq0kmBLhQkobV6OqtnxZ9t5Za0iyY= X-Received: by 2002:aca:5a04:: with SMTP id o4mr16671836oib.33.1626681201119; Mon, 19 Jul 2021 00:53:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ard Biesheuvel Date: Mon, 19 Jul 2021 09:53:10 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 0/2] firmware: dmi_scan: Make it work in kexec'ed kernel To: Andy Shevchenko Cc: Dave Young , Jean Delvare , Linux Kernel Mailing List , Mika Westerberg , =?UTF-8?Q?Javier_Ti=C3=A1?= , kexec@lists.infradead.org, Eric Biederman , linux-efi , Matt Fleming Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Jun 2021 at 19:27, Andy Shevchenko wrote: > > On Mon, Jun 14, 2021 at 08:07:33PM +0300, Andy Shevchenko wrote: > > On Mon, Jun 14, 2021 at 06:38:30PM +0300, Andy Shevchenko wrote: > > > On Sat, Jun 12, 2021 at 12:40:57PM +0800, Dave Young wrote: > > > > > Probably it is doable to have kexec on 32bit efi working > > > > > without runtime service support, that means no need the trick of fixed > > > > > mapping. > > > > > > > > > > If I can restore my vm to boot 32bit efi on this weekend then I may provide some draft > > > > > patches for test. > > > > > > > > Unfortunately I failed to setup a 32bit efi guest, here are some > > > > untested draft patches, please have a try. > > > > > > Thanks for the patches. > > > > > > As previously, I have reverted my hacks and applied your patches (also I > > > dropped patches from previous mail against kernel and kexec-tools) for both > > > kernel and user space on first and second environments. > > > > > > It does NOT solve the issue. > > > > > > If there is no idea pops up soon, I'm going to resend my series that > > > workarounds the issue. > > > > Hold on, I may have made a mistake during testing. Let me retest this. > > Double checked, confirmed that it's NOT working. > Apologies for chiming in so late - in my defence, I was on vacation :-) So if I understand the thread correctly, the Surface 3 provides a SMBIOS entry point (not SMBIOS3), and it does not get picked up by the second kernel, right? I would still prefer to get to the bottom of this before papering over it with command line options. If the memory gets corrupted by the first kernel, maybe we are not preserving it correctly in the first kernel.