It is my hope that the device driver interfaces are sufficiently
generic that they will be appropriate for other CPU architectures. I'd
welcome feedback from the non-x86 hackers out there.
The idea behind this patch is to provide the basic minimum services
needed to allow userspace access to MSRs and PMCs. I've also written a
user space programming library which is designed to give easy access
to the facilities provided by the kernel drivers, and provides the
same programming interface to MSRs as in the kernel. This means that
writing MSR drivers can be done in user space and once tested can be
wrapped up in a kernel driver.
The patch and documentation is now available from:
http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html
This also points to the user space programming library and a simple
utility (scanmsr) which reads and displays all your MSRs.
This is against 2.2.0-pre9.
Note that the patch requires a devfs kernel.
Regards,
Richard....
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/