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

2021-09-22 Thread David Gibson
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

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

2021-09-22 Thread Daniel Henrique Barboza
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.