From: Mukesh Rathor Subject: Re: [PATCH xen-4.6] xen: Remove CONFIG_X86_SUPERVISOR_MODE_KERNEL as x86_32 builds are unsupported Date: Mon, 5 Jan 2015 18:22:51 -0800 Message-ID: <20150105182251.25e29f37@mantra.us.oracle.com> References: <1420225943-20530-1-git-send-email-andrew.cooper3@citrix.com> <1420470993.28863.31.camel@citrix.com> <54AAAF3F.7020706@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <54AAAF3F.7020706@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Keir Fraser , Ian Campbell , Tim Deegan , Xen-devel , Stefano Stabellini , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Mon, 5 Jan 2015 15:35:27 +0000 Andrew Cooper wrote: > On 05/01/15 15:16, Ian Campbell wrote: > > On Fri, 2015-01-02 at 19:12 +0000, Andrew Cooper wrote: > >> supervisor_mode_kernel was an x86_32-only feature which permitted > >> a PV dom0 to run in ring 0, but at the expense of not being able > >> to start any domUs. > >> > >> As the x86_32 Xen build has been removed from tree, removing the > >> remaining supervisor_mode_kernel code. > >> > >> Signed-off-by: Andrew Cooper > >> CC: Keir Fraser > >> CC: Jan Beulich > >> CC: Ian Campbell > >> CC: Stefano Stabellini > >> CC: Tim Deegan > >> > >> --- > >> > >> One complication is that PVH has reused > >> XENFEAT_supervisor_mode_kernel with a modified meaning, and the > >> Linux PVH code actively uses the flag as to indicate running as a > >> PVH guest. > > What is the modification? Doesn't a PVH kernel just use it to > > indicate that it should (or wants) run in ring0 instead of > > ring1/ring3? That was the original intention IIRC. That flag has confused me too, and it was added later to pvh. Since, PVH guest is able to run in ring 0 ir-respective of the flag, imho, XENFEAT_supervisor_mode_kernel can be just removed. The important ones are really: XENFEAT_auto_translated_physmap XENFEAT_hvm_callback_vector thanks Mukesh