diff options
author | John A. Williams <john.williams@petalogix.com> | 2011-05-24 08:57:11 (GMT) |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2011-07-25 07:13:42 (GMT) |
commit | 8904976e8ca45be3ec75acc71f5d855ef671a079 (patch) | |
tree | 9c76c35266329312ace36ab009d686d5e2cd77f8 /arch/microblaze/include/asm/cpuinfo.h | |
parent | 5db34eb92f5699361de355dcd7958fdd2a9fb98a (diff) | |
download | linux-fsl-qoriq-8904976e8ca45be3ec75acc71f5d855ef671a079.tar.xz |
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>
Diffstat (limited to 'arch/microblaze/include/asm/cpuinfo.h')
-rw-r--r-- | arch/microblaze/include/asm/cpuinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/cpuinfo.h b/arch/microblaze/include/asm/cpuinfo.h index d8f0133..7d6831a 100644 --- a/arch/microblaze/include/asm/cpuinfo.h +++ b/arch/microblaze/include/asm/cpuinfo.h @@ -38,6 +38,7 @@ struct cpuinfo { u32 use_exc; u32 ver_code; u32 mmu; + u32 mmu_privins; u32 endian; /* CPU caches */ |