Re: [PATCH v2 03/16] target/ppc: add exclusive user write function for MMCR0

2021-08-25 Thread Daniel Henrique Barboza
On 8/25/21 1:37 AM, David Gibson wrote: On Tue, Aug 24, 2021 at 01:30:19PM -0300, Daniel Henrique Barboza wrote: From: Gustavo Romero Similar to the previous patch, user write on some PowerPC PMU regs, in this case, MMCR0, is limited. Create a new function to handle that. Ok.. ok, this fi

Re: [PATCH v2 03/16] target/ppc: add exclusive user write function for MMCR0

2021-08-24 Thread David Gibson
On Tue, Aug 24, 2021 at 01:30:19PM -0300, Daniel Henrique Barboza wrote: > From: Gustavo Romero > > Similar to the previous patch, user write on some PowerPC > PMU regs, in this case, MMCR0, is limited. Create a new > function to handle that. Ok.. ok, this fixes my concern on the previous patch.

[PATCH v2 03/16] target/ppc: add exclusive user write function for MMCR0

2021-08-24 Thread Daniel Henrique Barboza
From: Gustavo Romero Similar to the previous patch, user write on some PowerPC PMU regs, in this case, MMCR0, is limited. Create a new function to handle that. CC: Gustavo Romero Signed-off-by: Gustavo Romero Signed-off-by: Daniel Henrique Barboza --- target/ppc/cpu_init.c | 2 +- target/p