https://github.com/torvalds/linux
Revision b846c10da5d6a5c159ab4dea92c1080d5add9fb1 authored by Wu Zhangjin on 11 March 2010, 03:30:50 UTC, committed by Ralf Baechle on 12 April 2010, 16:26:12 UTC
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>
1 parent 5255366
History
Tip revision: b846c10da5d6a5c159ab4dea92c1080d5add9fb1 authored by Wu Zhangjin on 11 March 2010, 03:30:50 UTC
MIPS: Lemote 2F: Ensure atomic execution of _rdmsr and _wrmsr
Tip revision: b846c10
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 930 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 166.2 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top