On Thu, Dec 18, 2008 at 1:28 PM, Kyle McMartin <kyle@xxxxxxxxxxxxx> wrote: > On Wed, Dec 17, 2008 at 11:04:00PM -0500, Kyle McMartin wrote: >> > There might be a problem restoring access IDs after a cache purge or >> > TLB insertion. >> > >> >> I honestly have no idea how the protection id registers are loaded... I >> thought it had something do with with space registers, but I can't >> remember off the top of my head. > > For future reference, in mmu_context.h. Bloody tricky mtctl() macro > doesn't take a prefix, just the numeric cr #. Evil. Helge, Can you cleanup your patch and resubmit. I think your patch is a good belt-and-suspenders patch. The kernel should not fault on a protection id trap taken while writing to a userspace address (even if such a scenario indicates a possible bug in the mm context switching code). Cheers, Carlos. -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html