|
|
|
|
|
by neoteric
4590 days ago
|
|
Firstly, the Linux kernel already provides easy accessors for the MSRs, see arch/x86/include/asm/msr.h. Secondly, have you investigated the existing msr-tools package, and the existing driver for msr accesses? (see /dev/cpu/<n>/msr in usermode and arch/x86/kernel/msr.c providing the functionality). |
|
It sounds like you have some familiarity with this. If you have thoughts, I'd love to hear on the Likwid developers list: https://groups.google.com/forum/#!forum/likwid-developers