From: r.marek@assembler.cz (Rudolf Marek)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [PATCH] coretemp 1/3 Add rdmsr_safe_on_cpu and
Date: Tue, 20 Mar 2007 22:50:39 +0000 [thread overview]
Message-ID: <4600653F.8040000@assembler.cz> (raw)
Hello,
I will spin the new patches here, in this thread. However I dont know whom to
address this patch - after it is well tested. Maybe I will convert the msr.c
driver for this new calls too.
This patch adds support for _safe (exception handled) variants of rdmsr_on_cpu
and wrmsr_on_cpu. This is needed for the new coretemp driver, which might step
into non-existing MSR (poorly documented).
Signed-of-by: Rudolf Marek <r.marek at assembler.cz>
Alexey, are you the right person to pass this to? LKML maybe?
To correct my statement about the include file:
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC arch/x86_64/kernel/asm-offsets.s
In file included from include/asm/processor.h:16,
from include/linux/prefetch.h:14,
from include/linux/list.h:8,
from include/linux/module.h:10,
from include/linux/crypto.h:21,
from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/msr.h: In function 'rdmsr_safe_on_cpu':
include/asm/msr.h:179: error: 'EIO' undeclared (first use in this function)
include/asm/msr.h:179: error: (Each undeclared identifier is reported only once
include/asm/msr.h:179: error: for each function it appears in.)
include/asm/msr.h: In function 'wrmsr_safe_on_cpu':
include/asm/msr.h:183: error: 'EFAULT' undeclared (first use in this function)
Thanks,
Rudolf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-msr-io-safe.patch
Type: text/x-patch
Size: 5442 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070320/0ede87d7/attachment-0001.bin
next reply other threads:[~2007-03-20 22:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-20 22:50 Rudolf Marek [this message]
2007-03-22 10:07 ` [lm-sensors] [PATCH] coretemp 1/3 Add rdmsr_safe_on_cpu and Nicolas Boichat
2007-03-24 19:49 ` Jean Delvare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4600653F.8040000@assembler.cz \
--to=r.marek@assembler.cz \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.