From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: HYBRID: set_page_prot() (make pte readonly) Date: Fri, 07 Oct 2011 08:46:52 -0700 Message-ID: <4E8F1EEC.9000205@goop.org> References: <20111006191241.0866625f@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20111006191241.0866625f@mantra.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mukesh Rathor Cc: "Xen-devel@lists.xensource.com" , stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On 10/06/2011 07:12 PM, Mukesh Rathor wrote: > So, I'm at a loss on how to make set_page_prot() work during > xen_map_identity_early(). I tried few things, but no luck. The fixmap > is not setup during this time, so can't use that. > > Have any ideas? Why do you need set_page_prot() at all? It's only being used to mark pagetable entries RO, but you presumably don't need to do that with EPT. J