mbox series

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

Message ID 20210922122852.130054-1-danielhb413@gmail.com (mailing list archive)
Headers show
Series fixes in spapr_numa_FORM2_write_rtas_tables() | expand

Message

Daniel Henrique Barboza Sept. 22, 2021, 12:28 p.m. UTC
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(-)

Comments

David Gibson Sept. 23, 2021, 1:42 a.m. UTC | #1
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(-)
>