public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>,
	"H. Peter Anvin" <hpa@zytor.com>, x86 <x86@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: x86: HPET as CPU-local timer + interrupt remapping = lockup
Date: Mon, 11 Aug 2014 21:29:51 +0200	[thread overview]
Message-ID: <53E919AF.1090607@siemens.com> (raw)

Hi all,

just noticed an apparent regression of x86-64 on CPUs without ARAT but a
sufficient number if HPET timers: If you have interrupt remapping
enabled, the kernel will lock up during boot, apparently waiting for
some never-arriving interrupts.

I'm currently adding VT-d interrupt emulation to QEMU and stumbled over
this behavior. It didn't turn out to be an emulation issue, I just
reproduced on real hardware (ARAT patched out) and found some old 3.0
kernel booting fine inside my QEMU version.

FWIW, some further details I found out under QEMU: the HPET timers do
not seem to be switched to MSI mode yet when the lockup happens.

I suppose the issue is uncritical as the combination of hardware feature
(or their absence) is probably untypical, correct? I can't invest much
into bisecting or debugging right now unfortunately. But maybe someone
has an idea what could case this.

Jan

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

                 reply	other threads:[~2014-08-11 19:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=53E919AF.1090607@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox