On 16.03.2016 18:57, Cédric Le Goater wrote: > From: Benjamin Herrenschmidt <[email protected]> > > With appropriate AMR-like masks. Not actually used by the translation > logic at that point > > Signed-off-by: Benjamin Herrenschmidt <[email protected]> > [clg: changed spr_register_hv(SPR_IAMR) to spr_register_kvm_hv(SPR_IAMR) > changed gen_spr_amr() prototype ] > Signed-off-by: Cédric Le Goater <[email protected]> > --- > > Changes since v2: > > - fixed has_iamr condition in gen_spr_amr() > > target-ppc/cpu.h | 1 + > target-ppc/translate_init.c | 41 +++++++++++++++++++++++++++++++++++++++-- > 2 files changed, 40 insertions(+), 2 deletions(-)
Reviewed-by: Thomas Huth <[email protected]>
