Jaswinder Singh Rajput
f20ab9c38f
x86: cpu_debug remove execute permission
...
It seems by mistake these files got execute permissions so removing it.
Signed-off-by: Jaswinder Singh Rajput <[email protected] >
LKML-Reference: <[email protected] >
Signed-off-by: Ingo Molnar <[email protected] >
2009-04-09 06:34:02 +02:00
Jaswinder Singh Rajput
f4c3c4cdb1
x86: cpu_debug add support for various AMD CPUs
...
Impact: Added AMD CPUs support
Added flags for various AMD CPUs.
Signed-off-by: Jaswinder Singh Rajput <[email protected] >
Signed-off-by: Ingo Molnar <[email protected] >
2009-03-14 18:07:58 +01:00
Jaswinder Singh Rajput
91219bcbdc
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 <[email protected] >
Signed-off-by: Ingo Molnar <[email protected] >
2009-03-13 03:02:45 +01:00
Jaswinder Singh Rajput
9b779edf4b
x86: cpu architecture debug code
...
Introduce:
cat /sys/kernel/debug/x86/cpu/*
for Intel and AMD processors to view / debug the state of each CPU.
By using this we can debug whole range of registers and other
cpu information for debugging purpose and monitor how things
are changing.
This can be useful for developers as well as for users.
Signed-off-by: Jaswinder Singh Rajput <[email protected] >
LKML-Reference: <[email protected] >
Signed-off-by: Ingo Molnar <[email protected] >
2009-03-10 18:39:45 +01:00