aboutsummaryrefslogtreecommitdiff
path: root/tests/test-rcu-slist.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2020-03-25 16:25:30 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2020-05-07 11:10:50 +1000
commit86962462f89b2abbba18e5c2243d59bd408f04d4 (patch)
treeb2b3742fc7527aa5e36d319c2703d8e80a9515a5 /tests/test-rcu-slist.c
parent6dc6b557913f29e012880e381c0a3f452b415f1d (diff)
spapr: Don't check capabilities removed between CAS calls
We currently check if some capability in OV5 was removed by the guest since the previous CAS, and we trigger a CAS reboot in that case. This was required because it could call for a device-tree property or node removal, that we didn't support until recently (see commit 6787d27b04a7 "spapr: add option vector handling in CAS-generated resets" for details). Now that we render a full FDT at CAS and that SLOF is able to handle node removal, we don't need to do a CAS reset in this case anymore. Also, this check can only return true if the guest has already called CAS since the last full system reset (otherwise spapr->ov5_cas is empty). Linux doesn't do that so this can be considered as dead code for the vast majority of existing setups. Drop the check. Since the only use of the ov5_cas_old variable is precisely the check itself, drop the variable as well. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <158514993021.478799.10928618293640651819.stgit@bahia.lan> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/test-rcu-slist.c')
0 files changed, 0 insertions, 0 deletions