[PATCH] powerpc/perf: Fix deadlock caused by calling printk() in PMU exception

Anshuman Khandual khandual at linux.vnet.ibm.com
Tue Jun 4 19:05:47 EST 2013


> +	seq_printf(p, "%*s: ", prec, "PMS");

Lets make this PMIS or PMI_S instead of PMS.


> +	for_each_online_cpu(j)
> +		seq_printf(p, "%10u ", per_cpu(irq_stat, j).pmu_irqs);

This would be pmu_spurious_irqs instead of pmu_irqs.



More information about the Linuxppc-dev mailing list