Alexey Kardashevskiy
a0840240c0
KVM: PPC: Book3S: Fix LPCR one_reg interface
...
Unfortunately, the LPCR got defined as a 32-bit register in the
one_reg interface. This is unfortunate because KVM allows userspace
to control the DPFD (default prefetch depth) field, which is in the
upper 32 bits. The result is that DPFD always get set to 0, which
reduces performance in the guest.
We can't just change KVM_REG_PPC_LPCR to be a 64-bit register ID,
since that would break existing userspace binaries. Instead we define
a new KVM_REG_PPC_LPCR_64 id which is 64-bit. Userspace can still use
the old KVM_REG_PPC_LPCR id, but it now only modifies those fields in
the bottom 32 bits that userspace can modify (ILE, TC and AIL).
If userspace uses the new KVM_REG_PPC_LPCR_64 id, it can modify DPFD
as well.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Cc: stable@vger.kernel.org
Signed-off-by: Alexander Graf <agraf@suse.de>
2014-07-28 15:23:16 +02:00
..
auxvec.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
bitsperlong.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
bootx.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
byteorder.h
powerpc: Include the appropriate endianness header
2013-10-11 16:48:33 +11:00
cputable.h
powerpc: Add AT_HWCAP2 to indicate V.CRYPTO category support
2014-06-11 16:31:20 +10:00
elf.h
powerpc: Handle new ELFv2 module relocations
2014-04-23 10:05:29 +10:00
epapr_hcalls.h
PPC: ePAPR: Convert hcall header to uapi (round 2)
2012-10-31 13:45:32 +01:00
errno.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
fcntl.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
ioctl.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
ioctls.h
tty, ioctls -- Add new ioctl definitions for tty flags fetching
2012-10-25 12:07:18 -07:00
ipcbuf.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
Kbuild
powerpc: Remove non-uapi linkage.h export
2014-05-20 10:54:05 +10:00
kvm.h
KVM: PPC: Book3S: Fix LPCR one_reg interface
2014-07-28 15:23:16 +02:00
kvm_para.h
KVM: PPC: Disable NX for old magic page using guests
2014-05-30 14:26:24 +02:00
mman.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
msgbuf.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
nvram.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
param.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
perf_event.h
powerpc/perf: Export PERF_EVENT_CONFIG_EBB_SHIFT to userspace
2013-08-01 13:11:46 +10:00
poll.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
posix_types.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
ps3fb.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
ptrace.h
powerpc/ptrace: Add DAWR debug feature info for userspace
2013-04-18 15:59:55 +10:00
resource.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
seccomp.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
sembuf.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
setup.h
powerpc: Bump COMMAND_LINE_SIZE to 2048
2014-04-28 16:31:58 +10:00
shmbuf.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
sigcontext.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
siginfo.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
signal.h
powerpc: switch to generic old sigaction()
2013-02-03 18:16:10 -05:00
socket.h
net: introduce SO_BPF_EXTENSIONS
2014-01-18 19:08:58 -08:00
sockios.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
spu_info.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
stat.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
statfs.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
swab.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
termbits.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
termios.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
tm.h
KVM: PPC: Book3S HV: Add software abort codes for transactional memory
2014-01-27 16:01:22 +01:00
types.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
ucontext.h
UAPI: (Scripted) Disintegrate arch/powerpc/include/asm
2012-10-09 09:47:26 +01:00
unistd.h
powerpc: Wire renameat2() syscall
2014-06-02 09:24:27 +10:00