On 16.03.2016 14:13, Cédric Le Goater wrote: > From: Benjamin Herrenschmidt <b...@kernel.crashing.org> > > The masks weren't chosen nor applied properly. The architecture specifies > that writes to AMR are masked by UAMOR for PR=1, otherwise AMOR for HV=0. > > The writes to UAMOR are masked by AMOR for HV=0 > > Signed-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org> > [clg: moved gen_spr_amr() prototype change to next patch ] > Signed-off-by: Cédric Le Goater <c...@fr.ibm.com> > --- > target-ppc/translate_init.c | 74 > ++++++++++++++++++++++++++++++++++++--------- > 1 file changed, 59 insertions(+), 15 deletions(-)
Reviewed-by: Thomas Huth <th...@redhat.com>