ARM: Expose some CPU control registers via sysfs
authorMans Rullgard <mans@mansr.com>
Tue, 10 Nov 2009 00:39:21 +0000 (00:39 +0000)
committerKoen Kooi <koen@dominion.thruhere.net>
Sun, 9 May 2010 10:47:43 +0000 (12:47 +0200)
commitbbc04eff26fcd9ecb75069a62a84fa49d83811b8
treee6f30d940bf566244c61f241d52dd97314c2c82f
parentf1f418ef2fd457872e4ca7da1789bcfd8f97bca8
ARM: Expose some CPU control registers via sysfs

This creates sysfs files under /sys/devices/system/cpu/cpuN
exposing the values of the control register, auxiliary control
register, and L2 cache auxiliary control register.  Writing to
the files allows setting the value of bits which are safe to
change at any time.

Signed-off-by: Mans Rullgard <mans@mansr.com>
arch/arm/Kconfig
arch/arm/kernel/Makefile
arch/arm/kernel/sysfs_v7.c [new file with mode: 0644]