RE: [PATCH 1/2] x86/fred: Always install system interrupt handler into IDT
From: Li, Xin3
Date: Tue Jun 25 2024 - 13:08:19 EST
> >>> And please put a comment here to explain why this is unconditionally
> >>> done for IDT.
> >>
> >> Wait. If we need this during early boot, then why don't we enable
> >> FRED earlier?
> >
> > Unconditionally call idt_install_sysvec() is still needed, right?
>
> Not when we enable FRED early enough.
>
What if FRED is disabled in the kernel command line?
"fred=off" gets parsed in a later stage of the kernel initialization sequence.
Thanks!
Xin