[PATCH v2 14/14] powerpc/8xx: Move SW perf counters in first 32kb of memory

2018-05-16 Thread Christophe Leroy
In order to simplify time critical exceptions handling 8xx specific SW perf counters, this patch moves the counters into the begining of memory. This is possible because .text is readable and the counters are never modified outside of the handlers. By doing this, we avoid having to set a second

[PATCH v2 14/14] powerpc/8xx: Move SW perf counters in first 32kb of memory

2018-05-16 Thread Christophe Leroy
In order to simplify time critical exceptions handling 8xx specific SW perf counters, this patch moves the counters into the begining of memory. This is possible because .text is readable and the counters are never modified outside of the handlers. By doing this, we avoid having to set a second