Re: No 8254 PIT & no HPET on new Intel N3350 platforms causes kernel panic during early boot

From: Daniel Drake
Date: Thu Jun 27 2019 - 23:33:45 EST


On Thu, Jun 27, 2019 at 10:07 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> Nah. That extra timer works thing is just another bandaid.
>
> What I had in mind is something like the below. That's on top of
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/apic
>
> Be warned. It's neither compiled nor tested, so keep a fire extinguisher
> handy. If it explodes you own the pieces.

Thanks, it works, and makes sense!

I'll add a commit message and send it as a patch, just one quick
function naming question... did you mean apic_and_tsc_needs_pit() or
apic_needs_pit()? That's the only compile fix needed.

Daniel