Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1121396pxb; Thu, 7 Oct 2021 00:55:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgDp0v4yBcFFQLalKUqhIiLpQmypcbgVOBKelm67bPibH190fyXixM97JzvgjyJGVU01ly X-Received: by 2002:a50:9d8a:: with SMTP id w10mr4370533ede.163.1633593305169; Thu, 07 Oct 2021 00:55:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633593305; cv=none; d=google.com; s=arc-20160816; b=f8/BPlWsjKy+sjcAFdaG8DyGGEllbqii1PFkRJumvZQdC+wZ4AUdOa5zn3lIhRhbYZ yZcMQUBY7ID0TWPkoKUGYJ4tWTiuy0+R9VPnTuSvC0W9MI2fbj7uuQmpcvmIHakTSjmo Jsu+LHwN659PxdhhFRv+q4vaUCqODDy9EhXrSe7tGqfOg/PzpwwhRCq11UbmoV2h3D73 vxRKKFMu0WrxVSJP/h9LE+LRZYF23wfWBXEP+sc12ie7LqgffVVDfhrM5Z1KkCkCbiF8 ts7AIPpZArcIKjhKlDR1aOU0fQ3dSc3KK56YJBJ7cOPq7kB4z6sT1ZutuSgFbgbAl03S icoQ== 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=4IPCSkbAvxPq+nklOWHrzqvUZ9xghfSrZzbJ+UYpKdI=; b=M7E2W6O9hlMcf1hY9xWpBLOpYGhsOzVDl+yncp3+d+uUmsv8QQPX+tJE3AVRkQqlUQ 1GpJ28AFt4bksHVv9/vz4A/RljFkrALlgnGOAGeEUnzHtYiUp3uT7MGcC7moEypNmEC5 QTT9qF4gAdI7KcrzTywjA7RqDbygUPUO6Qyoq8AWKeTa6ENw+ql1oMFr80lkJS21ur2y gl56lSi2uMpo9Vewq8T087dA6d1MI/f7r5G9GdPubhSjuI7LvbinOF+WKPlCV74GPVuA c5JAojuN+/CCKqi6LKS6R3miU1JbkbWTFJ6X/IHsslp8g8HRGbE0hDKBYfqs0mj9vRJr fZ2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jO+3RwoN; 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 b91si14005040edf.112.2021.10.07.00.54.41; Thu, 07 Oct 2021 00:55:05 -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=jO+3RwoN; 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 S240339AbhJGHWs (ORCPT + 99 others); Thu, 7 Oct 2021 03:22:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:45914 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232530AbhJGHWn (ORCPT ); Thu, 7 Oct 2021 03:22:43 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9E4F76120D; Thu, 7 Oct 2021 07:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633591250; bh=/Hf+4ElDDdwMZ8Ef3ERAZt27nGhCN0OKNqevJQr7QRk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=jO+3RwoN5OnuGS8jZgl8yqOoqyy0LWRewvksi/TPXoaa0XSuyopE+zZvh2rRwGhfj zTkrURgjOU5RL1+0tlC1QrcS7Fn9kv0LHwD1phCqnRNmNEHbsM8l06Vvr3ffrdCzTK C6lWekd3tF3KEXYMvacI+D0UZSLaR3rXX1OpTVq5iBPqVftWcm7l7XwS6am17JBghH XEe0YCVOWFxNy4c4ljSKx2bZC7dflNOr8fDUbleQ2wUNCpcwHIoGIO8XfOHV6FXc4k 7uI85nc03uFnkEAm1h3qxfv1GoQcBWHqh7hsQIwOsE9ofFXa6pi55rDQ8DcGnISxTf jxTncCX97PQdw== Received: by mail-oi1-f179.google.com with SMTP id z11so7765138oih.1; Thu, 07 Oct 2021 00:20:50 -0700 (PDT) X-Gm-Message-State: AOAM530CvZ1fSq8zv6oxfbd7+oinzqYkmVNrq2OKfIBWLKZ4202sV8dW 7Q77LsRhsciVXcAfaA91OpswZg35tz8eoM28zao= X-Received: by 2002:a05:6808:1148:: with SMTP id u8mr1915535oiu.33.1633591250046; Thu, 07 Oct 2021 00:20:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ard Biesheuvel Date: Thu, 7 Oct 2021 09:20:38 +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 Wed, 6 Oct 2021 at 18:28, Andy Shevchenko wrote: > > On Mon, Jun 14, 2021 at 08:27:36PM +0300, 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. > > Any news here? > > Shall I resend my series? > As I said before: """ 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. """