Re: [Qemu-devel] [PATCH v4 17/29] target-ppc: Switch POWER7/8 classes to use correct PMU SPRs

2014-06-03 Thread Tom Musta
On 6/3/2014 4:27 AM, Alexey Kardashevskiy wrote: > This replaces gen_spr_7xx() call (which registers 32bit SPRs) with > gen_spr_book3s_pmu() call. > > This removes SPR_7XX_PMC5/6 as they are for 32bit and gen_spr_book3s_pmu() > already registers correct PMC5/6 SPRs. > > This removes explicit MMCR

[Qemu-devel] [PATCH v4 17/29] target-ppc: Switch POWER7/8 classes to use correct PMU SPRs

2014-06-03 Thread Alexey Kardashevskiy
This replaces gen_spr_7xx() call (which registers 32bit SPRs) with gen_spr_book3s_pmu() call. This removes SPR_7XX_PMC5/6 as they are for 32bit and gen_spr_book3s_pmu() already registers correct PMC5/6 SPRs. This removes explicit MMCRA registration as gen_spr_book3s_pmu() does it anyway. Signed-