Re: [PATCH 07/10] spapr: create helper to set ibm,associativity

2020-08-20 Thread Daniel Henrique Barboza
On 8/20/20 12:00 AM, David Gibson wrote: On Fri, Aug 14, 2020 at 05:54:21PM -0300, Daniel Henrique Barboza wrote: We have several places around hw/ppc files where we use the same code to set the ibm,associativity array. This patch creates a helper called spapr_set_associativity() to do that i

Re: [PATCH 07/10] spapr: create helper to set ibm,associativity

2020-08-19 Thread David Gibson
On Fri, Aug 14, 2020 at 05:54:21PM -0300, Daniel Henrique Barboza wrote: > We have several places around hw/ppc files where we use the > same code to set the ibm,associativity array. This patch > creates a helper called spapr_set_associativity() to do > that in a single place. It'll also make it sa

[PATCH 07/10] spapr: create helper to set ibm,associativity

2020-08-15 Thread Daniel Henrique Barboza
We have several places around hw/ppc files where we use the same code to set the ibm,associativity array. This patch creates a helper called spapr_set_associativity() to do that in a single place. It'll also make it saner to change the value of ibm,associativity in the next patches. After this pat