spapr: Introduce spapr_drc_reset_all()
commitbabb819f945a0f279e021e3fc09283080bace61d
authorGreg Kurz <groug@kaod.org>
Fri, 18 Dec 2020 10:33:57 +0000 (18 11:33 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 6 Jan 2021 00:09:59 +0000 (6 11:09 +1100)
treec2fb8e8f992700bd765420041fafa110bc2fa13f
parent930ef3b5c212bf8056bd265cc43ed9fff2e31b08
spapr: Introduce spapr_drc_reset_all()

No need to expose the way DRCs are traversed outside of spapr_drc.c.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <20201218103400.689660-4-groug@kaod.org>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_drc.c
hw/ppc/spapr_hcall.c
include/hw/ppc/spapr_drc.h