Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2501137imm; Thu, 23 Aug 2018 23:51:09 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbG+x/2MqrCx8tbg6yZRxA7ncvJNU5aY1JuZAjA6xNOgBsLKZiU3t/MD5vOS5Iafv2/QGpc X-Received: by 2002:a63:9a19:: with SMTP id o25-v6mr395557pge.39.1535093469033; Thu, 23 Aug 2018 23:51:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535093468; cv=none; d=google.com; s=arc-20160816; b=WZc3hodnY/oh+//n6o8qw6R0vbliFCg4lkiie4GuSDDl1vDwKDHhApbnb7kCeVDjNo 8n5+rfzYqkwk1mnXulXDjQCiRy7gon2p+VUWrgPMK06BiylR6tEDE1NLb/N1XS0JfVZD TPklRC+fY6EI15HWP9UoTyHFDOu+WCxKxo17QbggDV2p98z1Zh2dlvxuo07mLmiFOdaK u81LVuQ6QSZdSBhA+wUo6jCFsuHNoKPaVF/mCW6y6uzOEIAiNW5IKkFnHePoQQqETrNO 4KrlYYRDDayN0y3tNcImyQo4JhzsYELy2UMaLTbWtaExxs8G/NdU7W3yf9KBD5Ne1HcZ KZwA== 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:arc-authentication-results; bh=c7P4aZWxWd64SpauY2d2N52+84BSGowhmCM6k5efH4E=; b=PLGijIjjDVj45jT7gJcDKuRQbHXjUPJofNwfDdcvWam/1Slk7NpC4gIrXMamTXYEWn 1G9vO4f4z/QgR3C57fye8cGC/dzwqeiQJG9cX6UiUw70/H9Pi9cnBktA0o1tned1ja+t YUYe83XlvG3DYCGQDLSZV99Z70yANrWVPKuZth73+bHKLqqB/vT0Y1iBjxT5cUvxwmta Nr6Pd5fh+gX800pYK/GVunim6KmPXAxpjf4eA33KgNiRJtoyAYtZurN0Yts33w2w6/WL UKmKOyiPer2WjSZeMzyVRLDVVZFcgGjJJMngUVQgP0wyCDoLUKS9g2AGaO3ZjvrT6FuY lNcA== 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 f8-v6si6250147pln.5.2018.08.23.23.50.53; Thu, 23 Aug 2018 23:51:08 -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 S1727561AbeHXKXE (ORCPT + 99 others); Fri, 24 Aug 2018 06:23:04 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:47930 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726455AbeHXKXC (ORCPT ); Fri, 24 Aug 2018 06:23:02 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EB3DF26A81; Fri, 24 Aug 2018 06:49:47 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-135.pek2.redhat.com [10.72.12.135]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D427C621AA; Fri, 24 Aug 2018 06:49:43 +0000 (UTC) Date: Fri, 24 Aug 2018 14:49:38 +0800 From: Dave Young To: Mike Galbraith Cc: Ard Biesheuvel , Baoquan He , Sebastian Andrzej Siewior , lkml , Kexec Mailing List , linux-efi Subject: Re: [PATCH] x86, kdump: Fix efi=noruntime NULL pointer dereference Message-ID: <20180824064938.GA5316@dhcp-128-65.nay.redhat.com> References: <1533737025.4936.3.camel@gmx.de> <20180809042153.GA4377@dhcp-128-65.nay.redhat.com> <1533800010.5087.71.camel@gmx.de> <20180809091333.GA8008@dhcp-128-65.nay.redhat.com> <20180822102310.GA19827@dhcp-128-65.nay.redhat.com> <20180823035705.GA5743@dhcp-128-65.nay.redhat.com> <1535086138.4661.9.camel@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1535086138.4661.9.camel@gmx.de> User-Agent: Mutt/1.9.5 (2018-04-13) X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 24 Aug 2018 06:49:48 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 24 Aug 2018 06:49:48 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dyoung@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/24/18 at 06:48am, Mike Galbraith wrote: > On Thu, 2018-08-23 at 11:57 +0800, Dave Young wrote: > > > > Mike, since we are going this way, I'm working on a kexec code cleanup, > > but it needs careful testing so still need some time. > > > > Can you help test below efi fix and provide you tested-by if it works? > > While it averts the efi=noruntime oops on kdump kernel load, the kernel > does not boot when kdump is triggered. Bailing in setup_efi_state() in > addition restores functionality. Yes, that is expected. Kexec code need fix and cleanup in other patches. Thanks Dave