diff options
| author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-03-21 13:52:37 +0100 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2016-03-24 11:17:34 +1100 |
| commit | 97eaf30ec68eab6efdedf32ad210581d074bcb03 (patch) | |
| tree | 0d483872cf2509b6423cc252e64cd9b9aa0eb367 /hw/timer/omap_gptimer.c | |
| parent | 6a9c4ef452c98060e919aa49db49c09ed8c37745 (diff) | |
| download | focaccia-qemu-97eaf30ec68eab6efdedf32ad210581d074bcb03.tar.gz focaccia-qemu-97eaf30ec68eab6efdedf32ad210581d074bcb03.zip | |
ppc: Fix writing to AMR/UAMOR
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 <benh@kernel.crashing.org> [clg: moved gen_spr_amr() prototype change to next patch ] Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/timer/omap_gptimer.c')
0 files changed, 0 insertions, 0 deletions