[PATCH 3/6] 8xx: get rid of _PAGE_HWWRITE dependency in MMU.

Joakim Tjernlund joakim.tjernlund at transmode.se
Wed Oct 7 02:40:35 EST 2009

Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote on 06/10/2009 08:45:47:
> 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.

I realise now that for an ITLB Miss I can work out everything I need.
an ITLB must be a read en everything else is in the linux pte.
Just check present and user, add accessed if not already there.
I blame that on too little sleep :)

I don't think I will dwell on that ATM.


More information about the Linuxppc-dev mailing list