diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2010-03-11 11:30:50 +0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-04-12 17:26:12 +0100 |
commit | b846c10da5d6a5c159ab4dea92c1080d5add9fb1 (patch) | |
tree | f02230a549f188f41b7cbd0da25d0b0f70ace7a4 /drivers/serial/jsm | |
parent | 52553664033078102f5f430c861ccd0863b1b708 (diff) |
MIPS: Lemote 2F: Ensure atomic execution of _rdmsr and _wrmsr
On Lemote 2F CS5536 MSRs are accessed through a index / data register pair.
The access sequence must be protected by a spinlock to be atomic.
Without this rebooting in fs2f_reboot() may fail.
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/1058/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/serial/jsm')
0 files changed, 0 insertions, 0 deletions