Skip to contentSkip to conversation

wired tlb entry?

DISCUSSION Guo Michael 1 participant 1 message Jun 17, 2003 MIPS

lore
Share & tools
lore
#0 lore raw

Hi! You can use add_wired_entry(unsigned long entrylo0, unsigned long entrylo1, unsigned long entryhi, unsigned long pagemask);

for more information you can check include/asm-mips/pgtable.h

-Michael

Quoted 8 lines

From: "Joseph Chiu" <[email protected]>
To: "Linux-MIPS" <[email protected]>
Subject: wired tlb entry?
Date: Mon, 16 Jun 2003 17:36:58 -0700

Hi,
Is there a (proper) way to add a page entry in the TLB it's always valid? Specifically, accesses to memory-mapped hardware (PCMCIA) causes the

kernel

Quoted 14 lines

to oops under heavy interrupt loading.
It seems to me that the page entry in the TLB is getting flushed out under the activity; and when the ioremap'd memory region is accesses, the exception handling for the missing translation does not run.

I'm afraid my two days of googling hasn't turned up the right information. I think I just don't know the right terminology and I hope someone can at least point me in the right direction.
Thanks.
Joseph
(I am running 2.4.18-mips)

Quoted 7 lines

--
Joseph Chiu, Senior Engineer, Omnilux, Inc. [email protected] (626) 535-2819
The sun will come up tomorrow. Bet your bottom dollar that tomorrow, things'll be back.

_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com