Linux MIPS Architecture development
 help / color / mirror / Atom feed
* wired tlb entry?
@ 2003-06-17  0:36 Joseph Chiu
  2003-06-17 17:18 ` Pete Popov
  0 siblings, 1 reply; 12+ messages in thread
From: Joseph Chiu @ 2003-06-17  0:36 UTC (permalink / raw)
  To: Linux-MIPS

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
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)



--
Joseph Chiu, Senior Engineer, Omnilux, Inc.
joseph@omnilux.net  (626) 535-2819
The sun will come up tomorrow.  Bet your bottom dollar that tomorrow,
things'll be back.

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: wired tlb entry?
@ 2003-06-17  3:28 Guo Michael
  0 siblings, 0 replies; 12+ messages in thread
From: Guo Michael @ 2003-06-17  3:28 UTC (permalink / raw)
  To: joseph; +Cc: linux-mips

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

>From: "Joseph Chiu" <joseph@omnilux.net>
>To: "Linux-MIPS" <linux-mips@linux-mips.org>
>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
>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)
>
>
>
>--
>Joseph Chiu, Senior Engineer, Omnilux, Inc.
>joseph@omnilux.net  (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  

^ permalink raw reply	[flat|nested] 12+ messages in thread
* bootloader problem
@ 2003-06-16  9:32 He Jin
  2003-06-16 23:49 ` Wired TLB entry? Joseph Chiu
  0 siblings, 1 reply; 12+ messages in thread
From: He Jin @ 2003-06-16  9:32 UTC (permalink / raw)
  To: linux-mips

Hi, everybody,

I met a problem when debuging a bootloader in IT8172G+RM5231A platform, it's like this:

the bootloader had 2 parts, the first part executes in ROM (0xbfc00000-0xbfc0xxxx) and
it move another part from ROM into SDRAM, then jump to the SDRAM entry point to continue.

In the ROM resident code, if I initialized&flushed the cache, it can jump to SDRAM entry
continue normally. However,if I comment out those cache related code and make cache disabled, 
it seems can not jump to SDRAM entry. 

Who can tell me why I must initialize&flush when cache disabled ? 

Thanks a lot!

He Jin	

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-06-27 17:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-17  0:36 wired tlb entry? Joseph Chiu
2003-06-17 17:18 ` Pete Popov
2003-06-17 18:12   ` Joseph Chiu
2003-06-17 18:16     ` Pete Popov
2003-06-17 18:51       ` Joseph Chiu
2003-06-25  4:59         ` Ralf Baechle
2003-06-25 18:05           ` Joseph Chiu
2003-06-27  1:02             ` Steven J. Hill
2003-06-27 17:38               ` Joseph Chiu
  -- strict thread matches above, loose matches on Subject: below --
2003-06-17  3:28 Guo Michael
2003-06-16  9:32 bootloader problem He Jin
2003-06-16 23:49 ` Wired TLB entry? Joseph Chiu
2003-06-16 23:49   ` Joseph Chiu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox