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 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-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

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

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,

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,

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

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

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

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

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

2017-11-15 Thread Jan Kiszka
From: Jan Kiszka 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. Signed-off-by: Jan Kiszka

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

2017-11-15 Thread Jan Kiszka
From: Jan Kiszka 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. Signed-off-by: Jan Kiszka --- arch/x86/include/asm/tsc.h |