KVM: PPC: e500: Emulate TMCFG0 TMRN register
authorTudor Laurentiu <b10716@freescale.com>
Fri, 25 Sep 2015 15:02:23 +0000 (18:02 +0300)
committerPaul Mackerras <paulus@samba.org>
Thu, 15 Oct 2015 04:58:16 +0000 (15:58 +1100)
commit2daab50e17997424af57d1ab14042a51e9a368ab
treeea73f9fc71fda941d4ac6f1861abd00859967157
parentd4cd4f9586f87a5fc828b4c4698aa4faf56c96fc
KVM: PPC: e500: Emulate TMCFG0 TMRN register

Emulate TMCFG0 TMRN register exposing one HW thread per vcpu.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
[Laurentiu.Tudor@freescale.com: rebased on latest kernel, use
 define instead of hardcoded value, moved code in own function]
Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com>
Acked-by: Scott Wood <scotttwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/disassemble.h
arch/powerpc/kvm/e500_emulate.c