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

2018-02-06 Thread Mark Cave-Ayland
On 05/02/18 19:44, Philippe Mathieu-Daudé wrote: On 02/03/2018 07:37 AM, 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 fr

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

2018-02-05 Thread Philippe Mathieu-Daudé
On 02/03/2018 07:37 AM, 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 can isolate the dif

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

2018-02-03 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