All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: Avi Kivity <avi@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>,
	KVM list <kvm@vger.kernel.org>, Gleb Natapov <gleb@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] TSC in qem[-kvm] 1.1+ and in-kernel irqchip
Date: Mon, 13 Aug 2012 15:41:28 +0200	[thread overview]
Message-ID: <50290408.8020404@siemens.com> (raw)
In-Reply-To: <5028FE26.9090504@msgid.tls.msk.ru>

On 2012-08-13 15:16, Michael Tokarev wrote:
> On 13.08.2012 17:07, Jan Kiszka wrote:
> []
>>> The bisecion leads to this commit:
>>>
>>> commit 17ee47418e65b1593defb30edbab33ccd47fc1f8
>>> Merge: 13b0496 5d17c0d
>>> Author: Jan Kiszka <jan.kiszka@siemens.com>
>>> Date:   Tue Apr 10 16:26:23 2012 +0200
>>>
>>>     Merge commit '5d17c0d2df4998598e6002b27b8e47e792899a0f' into queues/qemu-merge
> []
>>> Cc'ing Jan for help.  The short story: tsc timer calibration
>>> broke in 1.1+ with in-kernel irqchip (only) for several
>>> apps (seabios and grub are two examples), the time is ticking
>>> about 100 times faster.  In grub the timer is calibrated
>>> using pit.  The above commit is the result of bisection.
>>
>> Did the versions you tested include the commit 0cdd3d1444 (kvm: i8254:
>> Fix conversion of in-kernel to userspace state)?
> 
> While bisecting I didn't have this commit applied, since it were
> applied past (qemu)-1.1.  It is included into qemu-kvm 1.1.0
> (as 960d355dc60d9), and that version behaves _exactly_ the same -
> the time in grub is ticking 100 times faster.  I mentioned in this
> thread that the problem persists in current qemu (and qemu-kvm)
> git too.
> 
> I can repeat the bisection with this commit applied after the
> above "bad" commit.  Should I?

Don't think this will make a difference. There is some other issue. I
reproduced the bug, will see if I can analyze it.

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux

WARNING: multiple messages have this Message-ID (diff)
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: qemu-devel <qemu-devel@nongnu.org>,
	Gleb Natapov <gleb@redhat.com>, Avi Kivity <avi@redhat.com>,
	KVM list <kvm@vger.kernel.org>, Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] TSC in qem[-kvm] 1.1+ and in-kernel irqchip
Date: Mon, 13 Aug 2012 15:41:28 +0200	[thread overview]
Message-ID: <50290408.8020404@siemens.com> (raw)
In-Reply-To: <5028FE26.9090504@msgid.tls.msk.ru>

On 2012-08-13 15:16, Michael Tokarev wrote:
> On 13.08.2012 17:07, Jan Kiszka wrote:
> []
>>> The bisecion leads to this commit:
>>>
>>> commit 17ee47418e65b1593defb30edbab33ccd47fc1f8
>>> Merge: 13b0496 5d17c0d
>>> Author: Jan Kiszka <jan.kiszka@siemens.com>
>>> Date:   Tue Apr 10 16:26:23 2012 +0200
>>>
>>>     Merge commit '5d17c0d2df4998598e6002b27b8e47e792899a0f' into queues/qemu-merge
> []
>>> Cc'ing Jan for help.  The short story: tsc timer calibration
>>> broke in 1.1+ with in-kernel irqchip (only) for several
>>> apps (seabios and grub are two examples), the time is ticking
>>> about 100 times faster.  In grub the timer is calibrated
>>> using pit.  The above commit is the result of bisection.
>>
>> Did the versions you tested include the commit 0cdd3d1444 (kvm: i8254:
>> Fix conversion of in-kernel to userspace state)?
> 
> While bisecting I didn't have this commit applied, since it were
> applied past (qemu)-1.1.  It is included into qemu-kvm 1.1.0
> (as 960d355dc60d9), and that version behaves _exactly_ the same -
> the time in grub is ticking 100 times faster.  I mentioned in this
> thread that the problem persists in current qemu (and qemu-kvm)
> git too.
> 
> I can repeat the bisection with this commit applied after the
> above "bad" commit.  Should I?

Don't think this will make a difference. There is some other issue. I
reproduced the bug, will see if I can analyze it.

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux

  reply	other threads:[~2012-08-13 13:41 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09 18:27 TSC in qem[-kvm] 1.1+ and in-kernel irqchip Michael Tokarev
2012-08-09 18:27 ` [Qemu-devel] " Michael Tokarev
2012-08-09 19:06 ` Marcelo Tosatti
2012-08-09 19:06   ` [Qemu-devel] " Marcelo Tosatti
     [not found]   ` <20120809204748.GA32346@amt.cnet>
2012-08-09 21:36     ` Michael Tokarev
2012-08-09 21:36       ` [Qemu-devel] " Michael Tokarev
2012-08-10  7:33 ` Gleb Natapov
2012-08-10  7:33   ` Gleb Natapov
2012-08-10  9:24   ` Michael Tokarev
2012-08-10  9:24     ` Michael Tokarev
2012-08-12  8:10     ` Gleb Natapov
2012-08-12  8:10       ` [Qemu-devel] " Gleb Natapov
2012-08-12  9:24       ` Michael Tokarev
2012-08-12  9:24         ` [Qemu-devel] " Michael Tokarev
2012-08-13 13:07         ` Jan Kiszka
2012-08-13 13:07           ` [Qemu-devel] " Jan Kiszka
2012-08-13 13:16           ` Michael Tokarev
2012-08-13 13:16             ` Michael Tokarev
2012-08-13 13:41             ` Jan Kiszka [this message]
2012-08-13 13:41               ` Jan Kiszka
2012-08-13 18:18             ` [PATCH uq/master] kvm: i8254: Finish time conversion fix Jan Kiszka
2012-08-13 18:18               ` [Qemu-devel] " Jan Kiszka
2012-08-13 18:40               ` Michael Tokarev
2012-08-13 18:40                 ` [Qemu-devel] " Michael Tokarev
2012-08-14  7:41                 ` Jan Kiszka
2012-08-14  7:41                   ` [Qemu-devel] " Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50290408.8020404@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=avi@redhat.com \
    --cc=gleb@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mjt@tls.msk.ru \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.