Re: [PATCH v6 01/10] target/ppc: introduce PMUEventType and PMU overflow timers

2021-11-17 Thread David Gibson
On Sat, Nov 13, 2021 at 04:02:02PM -0300, Daniel Henrique Barboza wrote: > > > On 11/12/21 00:02, David Gibson wrote: > > On Mon, Nov 08, 2021 at 07:50:38PM -0300, Daniel Henrique Barboza wrote: > > > This patch starts an IBM Power8+ compatible PMU implementation by adding > > > the representatio

Re: [PATCH v6 01/10] target/ppc: introduce PMUEventType and PMU overflow timers

2021-11-13 Thread Daniel Henrique Barboza
On 11/12/21 00:02, David Gibson wrote: On Mon, Nov 08, 2021 at 07:50:38PM -0300, Daniel Henrique Barboza wrote: This patch starts an IBM Power8+ compatible PMU implementation by adding the representation of PMU events that we are going to sample, PMUEventType. This enum represents a Perf even

Re: [PATCH v6 01/10] target/ppc: introduce PMUEventType and PMU overflow timers

2021-11-11 Thread David Gibson
On Mon, Nov 08, 2021 at 07:50:38PM -0300, Daniel Henrique Barboza wrote: > This patch starts an IBM Power8+ compatible PMU implementation by adding > the representation of PMU events that we are going to sample, > PMUEventType. This enum represents a Perf event that is being sampled by > a specific

[PATCH v6 01/10] target/ppc: introduce PMUEventType and PMU overflow timers

2021-11-08 Thread Daniel Henrique Barboza
This patch starts an IBM Power8+ compatible PMU implementation by adding the representation of PMU events that we are going to sample, PMUEventType. This enum represents a Perf event that is being sampled by a specific counter 'sprn'. Events that aren't available (i.e. no event was set in MMCR1) wi