From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932897AbcITJ4Z (ORCPT ); Tue, 20 Sep 2016 05:56:25 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:36586 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932862AbcITJ4W (ORCPT ); Tue, 20 Sep 2016 05:56:22 -0400 Date: Tue, 20 Sep 2016 10:56:18 +0100 From: Matt Fleming To: Chao Gao Cc: "linux-efi@vger.kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "x86@kernel.org" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/efi: Add necessary checks before iterating over efi.memmap Message-ID: <20160920095618.GH2892@codeblueprint.co.uk> References: <20160913032813.GA11652@localhost.localdomain> <20160920052514.GA41801@g.c> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160920052514.GA41801@g.c> User-Agent: Mutt/1.5.24+41 (02bc14ed1569) (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Sep, at 01:25:14PM, Chao Gao wrote: > Sorry for bothering you. There is a regression since commit 78ce248f that if > booting xen in UEFI mode, dom0 will crash and xen reboot constantly. > This patch tries to fix it. Please take a look at it. Can you try commit d4c4fed08f31 ("efi: Make for_each_efi_memory_desc_in_map() cope with running on Xen") and see if that fixes things for you? That patch is already in Linus' tree and is included in v4.8-rc7.