James Hogan a517c1ad65 KVM: MIPS: Init timer frequency from callback
Currently the software emulated timer is initialised to a frequency of
100MHz by kvm_mips_init_count(), but this isn't suitable for VZ where
the frequency of the guest timer matches that of the host.

Add a count_hz argument so the caller can specify the default frequency,
and move the call from kvm_arch_vcpu_create() to the implementation
specific vcpu_setup() callback, so that VZ can specify a different
frequency.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
2017-03-28 14:53:48 +01:00
..
2016-05-28 12:35:06 +02:00
2015-06-21 21:52:44 +02:00
2014-08-26 02:18:58 +02:00
2016-05-28 12:35:07 +02:00
2016-04-03 12:32:09 +02:00
2016-05-28 12:35:08 +02:00
2016-04-03 12:32:09 +02:00
2017-01-24 18:30:35 +01:00
2015-05-13 10:55:42 +02:00
2015-11-12 11:35:47 +01:00
2017-03-28 14:49:15 +01:00
2017-03-28 14:48:53 +01:00
2015-05-28 15:31:53 +02:00
2014-08-26 02:18:56 +02:00
2014-05-24 00:07:01 +02:00
2017-03-08 10:38:06 +01:00
2016-05-28 12:35:06 +02:00
2017-01-03 16:34:34 +01:00
2017-02-21 14:21:11 -08:00
2015-09-03 12:08:05 +02:00
2016-05-28 12:35:07 +02:00
2017-02-02 15:06:26 +00:00
2016-10-04 16:13:57 +02:00
2014-08-02 00:06:38 +02:00
2016-04-03 12:32:09 +02:00
2017-01-03 16:34:44 +01:00
2017-01-03 16:34:42 +01:00
2017-01-24 18:30:35 +01:00
2016-05-09 12:00:02 +02:00