Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752075AbdGYOIK (ORCPT ); Tue, 25 Jul 2017 10:08:10 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:19307 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751812AbdGYOIJ (ORCPT ); Tue, 25 Jul 2017 10:08:09 -0400 Subject: Re: [PATCH 1/3] x86: provide an init_mem_mapping hypervisor hook To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, x86@kernel.org References: <20170725095013.2939-1-jgross@suse.com> <20170725095013.2939-2-jgross@suse.com> Cc: hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com From: Boris Ostrovsky Message-ID: <801415f5-5802-e890-eb3c-0ec27ab8412d@oracle.com> Date: Tue, 25 Jul 2017 10:09:25 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170725095013.2939-2-jgross@suse.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 369 Lines: 11 On 07/25/2017 05:50 AM, Juergen Gross wrote: > Provide a hook in hypervisor_x86 called after setting up initial > memory mapping. > > This is needed e.g. by Xen HVM guests to map the hypervisor shared > info page. This is not necessarily a problem specific to guests so I wonder whether the hook should be part of x86_platform_ops or some other x86 structure. -boris