aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/misc.S
Commit message (Collapse)AuthorAgeFilesLines
* microblaze: Remove "cache" optimized copy_page functionMichal Simek2010-05-061-36/+0
| | | | | | | | | | | Current implementation doesn't handle dcache_line_length correctly that's why is better to use generic memcpy. Cache optimized function could be good way howto improve performance but must be based on benchmarking not blind function like this. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Use MICROBLAZE_TLB_SIZE in asm codeMichal Simek2010-04-011-2/+2
| | | | | | | TLB size was hardcoded in asm code. This patch brings ability to change TLB size only in one place. (mmu.h). Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Add .type and .size to ASM functionsMichal Simek2010-04-011-0/+11
| | | | | | Cachegrind analysis need this fix to be able to log asm functions. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Fix problem with early_printk in startupMichal Simek2009-05-301-1/+1
| | | | | | | | | | | | | | | | | Problem arise when is incopatibility between kernel/dts/pvr and kernel tries to announce it. Early printk device (uartlite in our case) was in TLB 2 and when kernel extract DTB it necessary to allocate at least one TLB at the end of memory. First free TLB was number two where was early printk. But checking mechanism (kernel/dts/pvr) was after extrahing but TLB 2 was different. This caused that kernel hung up. Moving early printk device to TLB 63 solve it and we don't protect it which means that we can use early_printk messages only for initial parts of kernel then we rewrite TLB 63. Reported-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze_mmu_v2: TLB low level codeMichal Simek2009-05-261-0/+120
Signed-off-by: Michal Simek <monstr@monstr.eu>