Re: [PATCH 1/7] ia64, kdump: Mask MCA/INIT on freezing cpus

From: Robin Holt
Date: Mon Jun 22 2009 - 09:46:11 EST


> To avoid this problem, This patch inserts ia64_set_psr_mc() before the
> deadloop to mask MCA/INIT on cpus going to be frozen. I confirmed that
> weird log like above are disappeared after applying this patch.

Please do not do this. Turning off MCA/INIT is just a horrible idea.
When your code has a bug, the INIT of the cpu is the only tool we have
to find out what it is doing short of putting special hardware onto the
machine and trying to track it down.

Without thinking about it, I have a gut feeling there must be some way
to at least allow the MCA/INIT to make it through PROM and be delivered
to the OS. From there the OS should be able to sort out a way to handle
kdump and MCAs received during a kdump.

Thanks,
Robin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/