[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] hw/intc/arm_gicv3: fix an extra left-shift when
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] hw/intc/arm_gicv3: fix an extra left-shift when reading IPRIORITYR |
Date: |
Fri, 15 Jun 2018 16:38:56 +0100 |
On 14 June 2018 at 06:48, Amol Surati <address@hidden> wrote:
> When either GICD_IPRIORITYR or GICR_IPRIORITYR is read as a 32-bit
> register, the post left-shift operator in the for loop causes an
> extra shift after the least significant byte has been placed.
>
> The 32-bit value actually returned is therefore the expected value
> shifted left by 8 bits.
>
> Signed-off-by: Amol Surati <address@hidden>
Oops; thanks for the bugfix.
Applied to target-arm.next, thanks.
-- PMM