Skip to contentSkip to conversation

Clean kernel patch for LEON/SPARC

DISCUSSION Jiri Gaisler 2 participants 2 messages Aug 20, 2003 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 6 lines · Pete Zaitcev

The serial has to go to Russell King, but I can look, too. Best of all is to cc to linux-kernel.

About Ethernet, it probably ought to go to [email protected]. I am not quite sure.

I have made three patches that makes up the leon/sparc port for linux-2.5.75:

* linux-2.5.75_kernel_only.diff - leon support in kernel

* linux-2.5.75_open_eth.diff - opencores ethernet driver

* linux-2.5.75_leon_uart.diff - leon uart driver

The total size is about 150 Kbyte, so to avoid a large email the patches can be downloaded from:

http://www.gaisler.com/patches.html

I don't have Russell King's email address, maybe you could forward this mail to him?

Quoted 2 lines

Did you guys figure out the cause of the severe problem with cache corruption?

Yes, this was a virtual address aliasing problem. Leon2 has virtual caches but the MMU has no aliasing detection, so we are forced to flush the cache on each task switch. Our next processor (leon3) will have to switch to either physical caches or have some form of aliasing detection ...

Regards, Jiri.

Signature · 4 lines
-------------------------------------------------------------------------
Gaisler Research, Stora Nygatan 13, 41108 Goteborg, Sweden, +46-31802405
fax: +46-31802407 email: [email protected], home page: www.gaisler.com
-------------------------------------------------------------------------
#3 lore raw
Quoted 11 lines

Date: Wed, 20 Aug 2003 19:31:13 +0200
From: Jiri Gaisler <[email protected]>

Quoted 2 lines

Did you guys figure out the cause of the severe problem with cache corruption?

Yes, this was a virtual address aliasing problem. Leon2 has virtual caches but the MMU has no aliasing detection, so we are forced to flush the cache on each task switch. Our next processor (leon3) will have to switch to either physical caches or have some form of aliasing detection ...

Physical cache is always welcome, but I'm wondering if it's really that needed, as you're not doing SMP. Do you have the Schimmel's book?

-- Pete