Re: [Qemu-devel] [PATCHv2 07/12] cuda: set timer 1 frequency property to CUDA_TIMER_FREQ

2018-02-10 Thread David Gibson
On Fri, Feb 09, 2018 at 06:51:37PM +, Mark Cave-Ayland wrote: > Now that we have successfully decoupled the timebase frequency and the > hardware > timer frequency, set the timer 1 frequency property to CUDA_TIMER_FREQ and > alter > get_next_irq_time() to use it rather than the hard-coded con

[Qemu-devel] [PATCHv2 07/12] cuda: set timer 1 frequency property to CUDA_TIMER_FREQ

2018-02-09 Thread Mark Cave-Ayland
Now that we have successfully decoupled the timebase frequency and the hardware timer frequency, set the timer 1 frequency property to CUDA_TIMER_FREQ and alter get_next_irq_time() to use it rather than the hard-coded constant. In addition to this we must now switch the tb_diff calculation over to