]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba2c4bcf01ca66625413f12874387e892f45df47
tree9c76c35266329312ace36ab009d686d5e2cd77f8
parentb1ae035c4d9ba77da05d8595510e869bbafc7e3b
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