x86: HPET as CPU-local timer + interrupt remapping = lockup
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
Signature · 2 lines
Siemens AG, Corporate Technology, CT RTC ITP SES-DE Corporate Competence Center Embedded Linux