Re: [PATCH 05/10] x86: jailhouse: Set up timekeeping

2017-11-23 Thread Jan Kiszka
On 2017-11-23 19:36, Thomas Gleixner wrote: > On Mon, 20 Nov 2017, Jan Kiszka wrote: >> On 2017-11-20 12:24, Thomas Gleixner wrote: >>> On Sat, 18 Nov 2017, Jan Kiszka wrote: On 2017-11-17 23:49, Thomas Gleixner wrote: > On Thu, 16 Nov 2017, Jan Kiszka wrote: >> Calibrate the TSC and,

Re: [PATCH 05/10] x86: jailhouse: Set up timekeeping

2017-11-23 Thread Thomas Gleixner
On Mon, 20 Nov 2017, Jan Kiszka wrote: > On 2017-11-20 12:24, Thomas Gleixner wrote: > > On Sat, 18 Nov 2017, Jan Kiszka wrote: > >> On 2017-11-17 23:49, Thomas Gleixner wrote: > >>> On Thu, 16 Nov 2017, Jan Kiszka wrote: > Calibrate the TSC and, where necessary, the APIC timer against the > >

Re: [PATCH 05/10] x86: jailhouse: Set up timekeeping

2017-11-20 Thread Jan Kiszka
On 2017-11-20 12:24, Thomas Gleixner wrote: > On Sat, 18 Nov 2017, Jan Kiszka wrote: >> On 2017-11-17 23:49, Thomas Gleixner wrote: >>> On Thu, 16 Nov 2017, Jan Kiszka wrote: Calibrate the TSC and, where necessary, the APIC timer against the TMTIMER. We need our own implementation as neit

Re: [PATCH 05/10] x86: jailhouse: Set up timekeeping

2017-11-20 Thread Thomas Gleixner
On Sat, 18 Nov 2017, Jan Kiszka wrote: > On 2017-11-17 23:49, Thomas Gleixner wrote: > > On Thu, 16 Nov 2017, Jan Kiszka wrote: > >> Calibrate the TSC and, where necessary, the APIC timer against the > >> TMTIMER. We need our own implementation as neither the PIC nor the HPET > >> are available, an

Re: [PATCH 05/10] x86: jailhouse: Set up timekeeping

2017-11-18 Thread Jan Kiszka
On 2017-11-17 23:49, Thomas Gleixner wrote: > On Thu, 16 Nov 2017, Jan Kiszka wrote: >> Calibrate the TSC and, where necessary, the APIC timer against the >> TMTIMER. We need our own implementation as neither the PIC nor the HPET >> are available, and the standard calibration routines try to make u

Re: [PATCH 05/10] x86: jailhouse: Set up timekeeping

2017-11-17 Thread Thomas Gleixner
On Thu, 16 Nov 2017, Jan Kiszka wrote: > Calibrate the TSC and, where necessary, the APIC timer against the > TMTIMER. We need our own implementation as neither the PIC nor the HPET > are available, and the standard calibration routines try to make use of > them. Why is this needed at all? The ho