diff options
author | Paul Mackerras <paulus@samba.org> | 2012-11-04 18:15:43 (GMT) |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-12-06 00:34:01 (GMT) |
commit | b0a94d4e23201c7559bb8f8657cfb629561288f2 (patch) | |
tree | 33a2706900728e9218fca06bde3c8a47fb86254a /fs/9p | |
parent | 1cc8ed0b13ae6e076a1dd1f18da508b48c7aa05a (diff) | |
download | linux-fsl-qoriq-b0a94d4e23201c7559bb8f8657cfb629561288f2.tar.xz |
KVM: PPC: Book3S PR: Emulate PURR, SPURR and DSCR registers
This adds basic emulation of the PURR and SPURR registers. We assume
we are emulating a single-threaded core, so these advance at the same
rate as the timebase. A Linux kernel running on a POWER7 expects to
be able to access these registers and is not prepared to handle a
program interrupt on accessing them.
This also adds a very minimal emulation of the DSCR (data stream
control register). Writes are ignored and reads return zero.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions