]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/hppa/dino: Fix bitmask for the PCIROR register
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 18 Feb 2020 06:33:54 +0000 (07:33 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 18 Feb 2020 19:22:10 +0000 (11:22 -0800)
Only 24 bits of the PCIROR register are documented
(see pp. 37 of datasheet referenced in this file header).

Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200218063355.18577-4-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/hppa/dino.c

index 8868e31793298c35d9cc866923600eaf780357cf..be799aad436b66ee2a501f6f92a3e297ae116365 100644 (file)
@@ -94,7 +94,7 @@ static const uint32_t reg800_keep_bits[DINO800_REGS] = {
     MAKE_64BIT_MASK(0, 32), /* Undefined */
     MAKE_64BIT_MASK(0, 8),  /* MLTIM */
     MAKE_64BIT_MASK(0, 30), /* BRDG_FEAT */
-    MAKE_64BIT_MASK(0, 25), /* PCIROR */
+    MAKE_64BIT_MASK(0, 24), /* PCIROR */
     MAKE_64BIT_MASK(0, 22), /* PCIWOR */
     MAKE_64BIT_MASK(0, 32), /* Undocumented */
     MAKE_64BIT_MASK(0, 9),  /* TLTIM */