ppc/pseries: Reset VPA registration on CPU reset
commit2b15811c8cd4dbe8dcde32320936fe74e51e4279
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 25 Sep 2012 17:12:21 +0000 (25 17:12 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 5 Oct 2012 00:35:11 +0000 (5 02:35 +0200)
tree7a6e0fcc3f11fabc9f6975ae87b61ff4da2e3573
parentefcb9383b974114e5f682e531346006f8f2466c0
ppc/pseries: Reset VPA registration on CPU reset

The ppc specific CPU state contains several variables which track the
VPA, SLB shadow and dispatch trace log.  These are structures shared
between OS and hypervisor that are used on the pseries machine to track
various per-CPU quantities.

The address of these structures needs to be registered by the guest on each
boot, however currently this registration is not cleared when we reset the
cpu.  This patch corrects this bug.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate_init.c