Clean kernel patch for LEON/SPARC
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
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 -------------------------------------------------------------------------
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