CR[TPR] initialization in test12 kernel
Hi Hirofumi,
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Hirofumi Fujita
Hirofumi> Hi, In test12 kernel, CR[TPR] is not initialized for APs Hirofumi> (application processors).
Hirofumi> SAL spec says nothing about it's value at SAL to OS Hirofumi> handoff, but we cannot expect it has been set to 0. So it Hirofumi> should be set to 0 when interrupts are enabled in Hirofumi> smp_callin().
Hirofumi> BSP's CR[TPR] is correctly initialized in init_IRQ().
Good point. I moved the initialization of the CPU-local irq sources into init_cpu(), where it should have been in the first place.
Thanks!
--david