From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id EDA5BB7BCF for ; Tue, 6 Oct 2009 17:45:56 +1100 (EST) Subject: Re: [PATCH 3/6] 8xx: get rid of _PAGE_HWWRITE dependency in MMU. From: Benjamin Herrenschmidt To: Joakim Tjernlund In-Reply-To: References: <1254744999-3158-1-git-send-email-Joakim.Tjernlund@transmode.se> <1254744999-3158-2-git-send-email-Joakim.Tjernlund@transmode.se> <1254744999-3158-3-git-send-email-Joakim.Tjernlund@transmode.se> <1254744999-3158-4-git-send-email-Joakim.Tjernlund@transmode.se> <1254773824.7122.33.camel@pasglop> <1254778643.7122.43.camel@pasglop> <1254780556.7122.47.camel@pasglop> <1254784539.7122.52.camel@pasglop> <1254789255.7122.95.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Date: Tue, 06 Oct 2009 17:45:47 +1100 Message-Id: <1254811547.6035.3.camel@pasglop> Mime-Version: 1.0 Cc: Scott Wood , "linuxppc-dev@ozlabs.org" , Rex Feany List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2009-10-06 at 08:15 +0200, Joakim Tjernlund wrote: > Yes, I would too but TLB Miss knows nothing about load/store, protection etc. > because DSISR isn't set. So I cannot see any other way than the TLB Error way. Hrm... that MMU really sucks more than I thought :-( I'll go read the manual and think about that a bit more. > But I guess BookE knows if it is a load or store in TLB Miss? > Then it can emulate changed bit I guess. Yes, it knows. Cheers, Ben.