From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Michael Neuling To: Benjamin Herrenschmidt Subject: Re: [PATCH 04/15] powerpc: Define CPU feature for Architected 2.06 HV mode In-reply-to: <1301984051-18413-5-git-send-email-benh@kernel.crashing.org> References: <1301984051-18413-1-git-send-email-benh@kernel.crashing.org> <1301984051-18413-5-git-send-email-benh@kernel.crashing.org> Date: Tue, 05 Apr 2011 16:30:41 +1000 Message-ID: <22009.1301985041@neuling.org> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , In message <1301984051-18413-5-git-send-email-benh@kernel.crashing.org> you wrote: > This bit indicates that we are operating in hypervisor mode on a CPU > compliant to architecture 2.06 or later (currently server only). > > We set it on POWER7 and have a boot-time CPU setup function that > clears it if MSR:HV isn't set (booting under a hypervisor). > +#define CPU_FTR_HVMODE_206 LONG_ASM_CONST(0x0000000800000000) FYI With this patch we could remove MMU_FTR_TLBIE_206. Mikey