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>
Wed, 21 Jul 2010 10:23:08 +0000 (12:23 +0200)
commit47b0cf1c14c45a548c88296ab5aa71e5741896a7
treeb43902331cf563db2e2c6a60a388444e4da72217
parent9517262056f0c8cb9c71de8906cd2b6ad423e7c0
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]