microblaze: Unprivileged stream instruction awareness
authorJohn A. Williams <john.williams@petalogix.com>
Tue, 24 May 2011 08:57:11 +0000 (18:57 +1000)
committerMichal Simek <monstr@monstr.eu>
Mon, 25 Jul 2011 07:13:42 +0000 (09:13 +0200)
commit8904976e8ca45be3ec75acc71f5d855ef671a079
tree9c76c35266329312ace36ab009d686d5e2cd77f8
parent5db34eb92f5699361de355dcd7958fdd2a9fb98a
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>
arch/microblaze/include/asm/cpuinfo.h
arch/microblaze/include/asm/pvr.h
arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c
arch/microblaze/kernel/cpu/cpuinfo-static.c
arch/microblaze/kernel/cpu/cpuinfo.c
arch/microblaze/kernel/cpu/mb.c