Commit graph android_kernel_sony_sdm845/arch/microblaze/kernel/cpu/mb.c
Message SHA1
microblaze: Standardise cpuinfo output for cache policy
The current cpuinfo output for the cache policy has no leading tag:, making
it difficult to parse.  Add a leaning "Dcache-policy:" tag to this field.

Signed-off-by: John A. Williams <john.williams@petalogix.com>

John A. Williams   authored and   Michal Simek   commited 2011-07-25 09:13:43 +02:00
95ce618f85
microblaze: Unprivileged stream instruction awareness
Add cpuinfo support for the new MicroBlaze option permitting userspace
(unprivileged) access to the streaming instructions (FSL / AXI-stream).

Emit a noisy warning at bootup if this is enabled, because bad user code
can potentially lockup the CPU.

Signed-off-by: John A. Williams <john.williams@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>

John A. Williams   authored and   Michal Simek   commited 2011-07-25 09:13:42 +02:00
8904976e8c
microblaze: Add PVR for endians plus detection
Upcomming microblaze version will support little-endian.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Grant Likely <grant.likely@secretlab.ca>

Michal Simek   commited 2010-10-21 15:51:57 +10:00
8e2ad016b2
microblaze: Allow PAGE_SIZE configuration
Allow developer to configure memory page size at compile time.
Larger pages can improve performance on some workloads.

Based on PowerPC code.

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>

Steven J. Magnani   authored and   Michal Simek   commited 2010-08-04 10:22:34 +02:00
ba9c4f88d7
microblaze: cpuinfo shows cache line length
Show cache line length in /proc/cpuinfo.

Signed-off-by: Michal Simek <monstr@monstr.eu>

Michal Simek   commited 2010-05-06 11:21:59 +02:00
77543cebab
microblaze: Extend cpuinfo for support write-back caches
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>

Michal Simek   commited 2009-12-14 08:44:58 +01:00
e051af576a
microblaze: Fix USR1/2 pvr printing message
Signed-off-by: Michal Simek <monstr@monstr.eu>

Michal Simek   commited 2009-04-23 16:09:18 +02:00
79533fd4cb
microblaze_v8: PVR support, cpuinfo support
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>

Michal Simek   commited 2009-03-27 14:25:18 +01:00
b0c62724a5