target/ppc: Add SPR ASDR
commit32d0f0d8de37519bcaa720c41f0f693b66016f1b
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Thu, 28 Nov 2019 13:46:56 +0000 (28 14:46 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Dec 2019 23:39:48 +0000 (17 10:39 +1100)
treed2c96d88ead142f7c9e126e2118e8eebb814c617
parent5cc7e69f6da5c52a0ac9f48ace40caf91fce807d
target/ppc: Add SPR ASDR

The Access Segment Descriptor Register (ASDR) provides information about
the storage element when taking a hypervisor storage interrupt. When
performing nested radix address translation, this is normally the guest
real address. This register is present on POWER9 processors and later.

Implement the ADSR, note read and write access is limited to the
hypervisor.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191128134700.16091-4-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/cpu.h
target/ppc/translate_init.inc.c