Re: [PATCH v3] powerpc/kernel/sysfs: cleanup set up macros for PMC/non-PMC SPRs

2013-10-07 Thread Michael Ellerman
On Thu, Oct 03, 2013 at 02:57:35PM +0530, Madhavan Srinivasan wrote: Currently PMC (Performance Monitor Counter) setup macros are used for other SPRs. Since not all SPRs are PMC related, this patch modifies the exisiting macro and uses it to setup both PMC and non PMC SPRs accordingly. V3

[PATCH v3] powerpc/kernel/sysfs: cleanup set up macros for PMC/non-PMC SPRs

2013-10-03 Thread Madhavan Srinivasan
Currently PMC (Performance Monitor Counter) setup macros are used for other SPRs. Since not all SPRs are PMC related, this patch modifies the exisiting macro and uses it to setup both PMC and non PMC SPRs accordingly. V3 changes: 1) No logic change, just renamed generic macro and removed #define

Re: [PATCH v3] powerpc/kernel/sysfs: cleanup set up macros for PMC/non-PMC SPRs

2013-10-03 Thread Olof Johansson
On Thu, Oct 3, 2013 at 2:27 AM, Madhavan Srinivasan ma...@linux.vnet.ibm.com wrote: Currently PMC (Performance Monitor Counter) setup macros are used for other SPRs. Since not all SPRs are PMC related, this patch modifies the exisiting macro and uses it to setup both PMC and non PMC SPRs