Re: [PATCH] KVM: PPC: hypervisor large decrementer support

2017-05-21 Thread Oliver O'Halloran
Just FYI, this was written over a year ago and never tested since it pre-dated KVM support on P9. It's possible the real mode KVM bits have grown an extra decremented usages since then. If so they will probably need updating to use the GET_DEC() macro. On Mon, May 22, 2017 at 1:55 PM, Oliver

[PATCH] KVM: PPC: hypervisor large decrementer support

2017-05-21 Thread Oliver O'Halloran
Power ISAv3 extends the width of the decrementer register from 32 bits. The enlarged register width is implementation dependent, but reads from these registers are automatically sign extended to produce a 64 bit output when operating in large mode. The HDEC always operates in large mode while the