summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/cpu
Commit message (Collapse)AuthorAgeFilesLines
* microblaze: Add define for ASM_LOOPMichal Simek2010-03-111-43/+161
| | | | | | It is default option but both options must be measured. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: remove trailing space in messagesFrans Pop2010-03-111-1/+1
| | | | | | | Signed-off-by: Frans Pop <elendil@planet.nl> Cc: microblaze-uclinux@itee.uq.edu.au Cc: Michal Simek <monstr@monstr.eu> Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Move cache function to cache.cMichal Simek2010-03-111-0/+5
| | | | | | It is better to have init cache handling on one place. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Fix cache loop function for cache rangeMichal Simek2010-02-241-19/+8Star
| | | | | | | | | | I create wrong asm code but none test shows that this part of code is wrong. I am not convinces that were good idea to create asm optimized macros for caches. The reason is that there is not optimization with previous code that's why make sense to add old code and do some benchmarking which functions are faster. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Support for WB cacheMichal Simek2009-12-141-186/+477
| | | | | | | | | | | Microblaze version 7.20.d is the first MB version which can be run on MMU linux. Please do not used previous version because they contain HW bug. Based on WB support was necessary to redesign whole cache design. Microblaze versions from 7.20.a don't need to disable IRQ and cache before working with them that's why there are special structures for it. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Add PVR for Microblaze v7.30.aMichal Simek2009-12-141-0/+1
| | | | | | Microblaze v7.30.a will have 0x10 version string. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Remove ancient and fake microblaze version from cpu_ver tableMichal Simek2009-12-141-5/+0Star
| | | | | | | | | | We need to continue with next microblaze PVR version that's why I have to remove that ancient version. These version strings not match any versions. From Microblaze v5.00.a is possible to use this style. I believe that none use ancients versions. If yes they will be just labeled as unknown version. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Checking DTS against PVR for write-back cacheMichal Simek2009-12-141-0/+11
| | | | | | | WB cache has special flag in PVR. There is added checking mechanism for PVR and DTS. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Extend cpuinfo for support write-back cachesMichal Simek2009-12-142-2/+7
| | | | | | | There is missing checking agains PVR but this is not important for now. There are some missing checking too. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Fix cache_line_lenghtMichal Simek2009-12-143-18/+18
| | | | | | | We used cache_line as cache_line_lenght. For this reason we did cache flushing 4 times longer than was necessary. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Detect new 7.20.d versionMichal Simek2009-12-141-0/+1
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: ftrace: add static function tracerMichal Simek2009-12-141-0/+4
| | | | | | | | | | | | | | | | If -pg of gcc is enabled with CONFIG_FUNCTION_TRACER=y. a calling to _mcount will be inserted into each kernel function. so, there is a possibility to trace the kernel functions in _mcount. This patch add the specific _mcount support for static function tracing. by default, ftrace_trace_function is initialized as ftrace_stub(an empty function), so, the default _mcount will introduce very little overhead. after enabling ftrace in user-space, it will jump to a real tracing function and do static function tracing for us. Commit message from Wu Zhangjin <wuzhangjin@gmail.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Add TRACE_IRQFLAGS_SUPPORTMichal Simek2009-12-141-1/+1
| | | | | | | | | | There are just two major changes Renamed local_irq functions to raw_local_irq in irq.c. Added TRACE_IRQFLAGS_SUPPORT to Kconfig.debug. Look at Documentation/irqflags-tracing.txt Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Updated CPU version and FPGA family codes in PVRJohn Williams2009-09-221-0/+3
| | | | | Signed-off-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Typo fix for cpu param inconsistencyMichal Simek2009-07-272-2/+2
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Detect new Microblaze 7.20 versionsMichal Simek2009-07-271-0/+2
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Storage class should be before const qualifierTobias Klauser2009-05-011-2/+2
| | | | | | | | | | | The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Do not check use_dcacheMichal Simek2009-04-231-3/+0Star
| | | | | | | It is not necessary to check cpuinfo.use_dcache because this checking is done in function which call that functions Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Do not use PVR configuration for broken MB versionMichal Simek2009-04-232-3/+8
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Fix USR1/2 pvr printing messageMichal Simek2009-04-231-2/+2
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze_v8: Makefiles for Microblaze cpuMichal Simek2009-03-271-0/+8
| | | | | | | | | Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze_v8: PVR support, cpuinfo supportMichal Simek2009-03-272-0/+229
| | | | | | | | Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze_v8: cache supportMichal Simek2009-03-271-0/+258
| | | | | | | | Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze_v8: Cpuinfo handlingMichal Simek2009-03-273-0/+331
Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>