Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752082AbdHHGqU (ORCPT ); Tue, 8 Aug 2017 02:46:20 -0400 Received: from mx2.suse.de ([195.135.220.15]:45296 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751918AbdHHGqT (ORCPT ); Tue, 8 Aug 2017 02:46:19 -0400 Subject: Re: [PATCH v2 0/3] fix xen hvm guest with kaslr enabled To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, x86@kernel.org Cc: boris.ostrovsky@oracle.com, hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com References: <20170728102314.29100-1-jgross@suse.com> From: Juergen Gross Message-ID: <8a07a112-ffc2-885a-95d3-bb4ba7658a83@suse.com> Date: Tue, 8 Aug 2017 08:46:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170728102314.29100-1-jgross@suse.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 887 Lines: 28 On 28/07/17 12:23, Juergen Gross wrote: > This patch series fixes a regression introduced in 4.13-rc1: A Xen > HVM guest with KASLR enabled wouldn't boot any longer due to the usage > of __va() before kernel_randomize_memory() was called. > > Changes in V2: > - patch 1: test for x86_hyper being not NULL > > Juergen Gross (3): > x86: provide an init_mem_mapping hypervisor hook > xen: split up xen_hvm_init_shared_info() > xen: fix hvm guest with kaslr enabled > > arch/x86/include/asm/hypervisor.h | 10 +++++++ > arch/x86/mm/init.c | 3 ++ > arch/x86/xen/enlighten_hvm.c | 59 ++++++++++++++++++++++++--------------- > 3 files changed, 50 insertions(+), 22 deletions(-) > Could I have some feedback, please? I'd like to get this regression fixed in 4.13. In case nobody objects this week I'll just add the patches to the Xen tree for rc5. Juergen