Re: [PATCH for-7.0 v7 02/10] target/ppc: PMU basic cycle count for pseries TCG

2021-11-24 Thread Daniel Henrique Barboza
On 11/22/21 02:07, David Gibson wrote: On Fri, Nov 19, 2021 at 03:22:08PM -0300, Daniel Henrique Barboza wrote: This patch adds the barebones of the PMU logic by enabling cycle counting. The overall logic goes as follows: - a helper is added to control the PMU state on each MMCR0 write. This

Re: [PATCH for-7.0 v7 02/10] target/ppc: PMU basic cycle count for pseries TCG

2021-11-21 Thread David Gibson
On Fri, Nov 19, 2021 at 03:22:08PM -0300, Daniel Henrique Barboza wrote: > This patch adds the barebones of the PMU logic by enabling cycle > counting. The overall logic goes as follows: > > - a helper is added to control the PMU state on each MMCR0 write. This > allows for the PMU to start/stop a