spapr_hcall: Add address-translation-mode-on-interrupt resource in H_SET_MODE
commitd5ac4f543352c3412172fb72256137defb13a4b1
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 4 Jun 2014 12:51:05 +0000 (4 22:51 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:45 +0000 (16 13:24 +0200)
tree3152964851f905c3fb93ff30889657ba03e74b4f
parentc4015bbd502d670d88e5689e1143e36ea097c76f
spapr_hcall: Add address-translation-mode-on-interrupt resource in H_SET_MODE

This adds handling of the RESOURCE_ADDR_TRANS_MODE resource from
the H_SET_MODE, for POWER8 (PowerISA 2.07) only.

This defines AIL flags for LPCR special register.

This changes @excp_prefix according to the mode, takes effect in TCG.

This turns support of a new capability PPC2_ISA207S flag for TCG.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr_hcall.c
include/hw/ppc/spapr.h
target-ppc/cpu.h
target-ppc/excp_helper.c