diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-03-11 21:07:00 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-13 02:02:45 (GMT) |
commit | 91219bcbdcccc1686b0ecce09e28825c93619c07 (patch) | |
tree | 524b5f18804d4697ef95a7a766aed85fbfce0dba /mm/mm_init.c | |
parent | 02dde8b45c5460794b9052d7c12939fe3eb63c2c (diff) | |
download | linux-fsl-qoriq-91219bcbdcccc1686b0ecce09e28825c93619c07.tar.xz |
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 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions