Hi, In certain conditions, MIPS R4K TLB invalidation can lead to an infinite loop. If 'end' address is 0xffffffffffffffff, invalidation loop should stop once 'addr' has flushed address 0xfffffffffffff000. Attached patch fixes this issue. Hervé