Re: [Qemu-devel] [PATCHv2 08/12] cuda: factor out timebase-derived counter value and load time

2018-02-10 Thread David Gibson
On Fri, Feb 09, 2018 at 06:51:38PM +, Mark Cave-Ayland wrote: > Commit b981289c49 "PPC: Cuda: Use cuda timer to expose tbfreq to guest" > altered > the timer calculations from those based upon the hardware CUDA clock frequency > to those based upon the CPU timebase frequency. > > In fact we c

[Qemu-devel] [PATCHv2 08/12] cuda: factor out timebase-derived counter value and load time

2018-02-09 Thread Mark Cave-Ayland
Commit b981289c49 "PPC: Cuda: Use cuda timer to expose tbfreq to guest" altered the timer calculations from those based upon the hardware CUDA clock frequency to those based upon the CPU timebase frequency. In fact we can isolate the differences to 2 simple changes: one to the counter read value a