diff options
author | Tony Luck <tony.luck@intel.com> | 2013-03-20 10:30:15 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-07 19:51:54 -0700 |
commit | 5bf457bc84549a0f0a9a499bf9d823f222a5484f (patch) | |
tree | 184978bb92ac24b7ba3a3c9f5aa875b1072c716e /arch/ia64/kernel/perfmon_default_smpl.c | |
parent | 6615e6db12bf29ab3d1062c9144c4e0828d2c588 (diff) |
Fix initialization of CMCI/CMCP interrupts
commit d303e9e98fce56cdb3c6f2ac92f626fc2bd51c77 upstream.
Back 2010 during a revamp of the irq code some initializations
were moved from ia64_mca_init() to ia64_mca_late_init() in
commit c75f2aa13f5b268aba369b5dc566088b5194377c
Cannot use register_percpu_irq() from ia64_mca_init()
But this was hideously wrong. First of all these initializations
are now down far too late. Specifically after all the other cpus
have been brought up and initialized their own CMC vectors from
smp_callin(). Also ia64_mca_late_init() may be called from any cpu
so the line:
ia64_mca_cmc_vector_setup(); /* Setup vector on BSP */
is generally not executed on the BSP, and so the CMC vector isn't
setup at all on that processor.
Make use of the arch_early_irq_init() hook to get this code executed
at just the right moment: not too early, not too late.
Reported-by: Fred Hartnett <fred.hartnett@hp.com>
Tested-by: Fred Hartnett <fred.hartnett@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/ia64/kernel/perfmon_default_smpl.c')
0 files changed, 0 insertions, 0 deletions