Commit Graph
7 Commits
Author SHA1 Message Date
John A. Williams 8904976e8c 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 <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
2011-07-25 09:13:42 +02:00
Michal Simek 8e2ad016b2 microblaze: Add PVR for endians plus detection
Upcomming microblaze version will support little-endian.

Signed-off-by: Michal Simek <[email protected]>
Acked-by: Grant Likely <[email protected]>
2010-10-21 15:51:57 +10:00
Michal Simek e051af576a 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 <[email protected]>
2009-12-14 08:44:58 +01:00
Michal Simek 44e4e196a9 microblaze: Fix cache_line_lenght
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 <[email protected]>
2009-12-14 08:44:57 +01:00
Michal Simek 65d3db0601 microblaze: Typo fix for cpu param inconsistency
Signed-off-by: Michal Simek <[email protected]>
2009-07-27 09:03:19 +02:00
Tobias Klauser 595e8fabea microblaze: Storage class should be before const qualifier
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 <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
2009-05-01 16:38:13 +02:00
Michal Simek 406107dacd microblaze_v8: Cpuinfo handling
Reviewed-by: Ingo Molnar <[email protected]>
Acked-by: Stephen Neuendorffer <[email protected]>
Acked-by: John Linn <[email protected]>
Acked-by: John Williams <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
2009-03-27 14:25:11 +01:00