[PATCH] 2.6.11.7 MPC8xx Swap Band-Aid

Dan Malek dan at embeddededge.com
Thu May 5 23:31:41 EST 2005


On May 5, 2005, at 8:45 AM, Jason McMullan wrote:

> First off, this patch works.

Well ..... if you invalidate TLBs and flush cache often enough,
you can mask lots of problems :-)


> Secondly, I don't know exactly why. I just found all the band-aids I
> could for MPC8xx swap functionality, applied them, and fixed the places
> where it still bled.

We shouldn't have the 8xx as a special case for the swap flags and
information.  We need to take a closer look at this.  I guess I'll do 
that
as part of fixing up the PTEs for the BDI2000 as well.

> It's more of a dancing bear, than a real fix, but I now have working
> swap (using ATA over Ethernet) on my MPC885 ADS.

IIRC, ATA over Ethernet isn't the same as disk doing DMA due to the
data copies involved.

Thanks.

	-- Dan




More information about the Linuxppc-embedded mailing list