diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-03-12 02:37:00 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-13 03:02:45 +0100 |
commit | 91219bcbdcccc1686b0ecce09e28825c93619c07 (patch) | |
tree | 524b5f18804d4697ef95a7a766aed85fbfce0dba /arch/arm/mach-imx | |
parent | 02dde8b45c5460794b9052d7c12939fe3eb63c2c (diff) |
x86: cpu_debug add write support for MSRs
Supported write flag for registers.
currently write is enabled only for PMC MSR.
[root@ht]# cat /sys/kernel/debug/x86/cpu/cpu1/pmc/0x300/value
0x0
[root@ht]# echo 1234 > /sys/kernel/debug/x86/cpu/cpu1/pmc/0x300/value
[root@ht]# cat /sys/kernel/debug/x86/cpu/cpu1/pmc/0x300/value
0x4d2
[root@ht]# echo 0x1234 > /sys/kernel/debug/x86/cpu/cpu1/pmc/0x300/value
[root@ht]# cat /sys/kernel/debug/x86/cpu/cpu1/pmc/0x300/value
0x1234
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/arm/mach-imx')
0 files changed, 0 insertions, 0 deletions