Re: [PATCH 02/19] target/ppc: add exclusive user read function for PMU regs

2021-08-09 Thread David Gibson
On Mon, Aug 09, 2021 at 10:10:40AM -0300, Daniel Henrique Barboza wrote: > From: Gustavo Romero > > User read on PowerPC PMU regs requires extra handling in some > instances. Instead of changing the existing read ureg function > (spr_read_ureg) this patch adds a specific read function for > user

[PATCH 02/19] target/ppc: add exclusive user read function for PMU regs

2021-08-09 Thread Daniel Henrique Barboza
From: Gustavo Romero User read on PowerPC PMU regs requires extra handling in some instances. Instead of changing the existing read ureg function (spr_read_ureg) this patch adds a specific read function for user PMU SPRs, spr_read_pmu_ureg(). This function does extra handling of UMMCR0 and