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

From: Anshuman Khandual <[email-masked]>
Date: Tue, 04 Jun 2013 14:35:47 +0530

> +	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.