[PATCH v2 0/1] fixes in spapr_numa_FORM2_write_rtas_tables()

Daniel Henrique Barboza posted 1 patch 2 years, 7 months ago
Failed in applying to current master (apply log)
hw/ppc/spapr_numa.c | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
[PATCH v2 0/1] fixes in spapr_numa_FORM2_write_rtas_tables()
Posted by Daniel Henrique Barboza 2 years, 7 months ago
Hi,

This new version contains suggestions from Greg, Phillipe and Zoltan
that were made in the v1.

Changes from v1:
- keep the heap allocation of both arrays;
- use stl_be_p();
- use sizeof(uint32_t) instead of hardcoding '4' when skipping the
length;
- use the existing NUMA_DISTANCE_MIN macro.
- v1 link: https://lists.gnu.org/archive/html/qemu-devel/2021-09/msg05464.html


Daniel Henrique Barboza (1):
  spapr_numa.c: fixes in spapr_numa_FORM2_write_rtas_tables()

 hw/ppc/spapr_numa.c | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

-- 
2.31.1


Re: [PATCH v2 0/1] fixes in spapr_numa_FORM2_write_rtas_tables()
Posted by David Gibson 2 years, 7 months ago
On Wed, Sep 22, 2021 at 09:28:51AM -0300, Daniel Henrique Barboza wrote:
> Hi,
> 
> This new version contains suggestions from Greg, Phillipe and Zoltan
> that were made in the v1.

Applied to ppc-for-6.2, thanks.

> 
> Changes from v1:
> - keep the heap allocation of both arrays;
> - use stl_be_p();
> - use sizeof(uint32_t) instead of hardcoding '4' when skipping the
> length;
> - use the existing NUMA_DISTANCE_MIN macro.
> - v1 link: https://lists.gnu.org/archive/html/qemu-devel/2021-09/msg05464.html
> 
> 
> Daniel Henrique Barboza (1):
>   spapr_numa.c: fixes in spapr_numa_FORM2_write_rtas_tables()
> 
>  hw/ppc/spapr_numa.c | 19 +++++++++----------
>  1 file changed, 9 insertions(+), 10 deletions(-)
> 

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson