A log of a session where the kernel hangs after masking the 5th CPU
(there should be 7 masked) is at: https://pastebin.com/Zud6S73C See lines 192-163.
(The pastebins are live for 30 days.)
My debugging shows that the function setup_local_APIC(void) completes
So the failure is occurring at a higher level. setup_local_APIC(void)
starts at line 524 and ends at line 691.
(Note, my patched version is from Gentoo's 4.11.1-rc1 and
has slightly different numbering since I added some lines.)
I am assuming that "setup_local_APIC()" is the same call to the same
as "setup_local_APIC(void)" and that these are two different way of
calling the same function.
Can someone help me by pointing me to the code that operates after the
of setup_local_APIC(void). It appears setup_local_APIC(void) is called
in an iterative
fashion to loop through all the remaining CPUs, and I do not seem to be
able to find
that loop point if there is one. Or is there some sort of callback that