On Fri, 30 Apr 2021 at 00:42, Shashi Mallela <shashi.mall...@linaro.org> wrote: > > This patchset implements qemu device model for enabling physical > LPI support and ITS functionality in GIC as per GICv3 specification. > Both flat table and 2 level tables are implemented.The ITS commands > for adding/deleting ITS table entries,trigerring LPI interrupts are > implemented.Translated LPI interrupt ids are processed by redistributor > to determine priority and set pending state appropriately before > forwarding the same to cpu interface. > The ITS feature support has been added to sbsa-ref platform as well as > virt platform,wherein the emulated functionality co-exists with kvm > kernel functionality. > > Changes in v3: > - review comments addressed > > Shashi Mallela (8): > hw/intc: GICv3 ITS initial framework > hw/intc: GICv3 ITS register definitions added > hw/intc: GICv3 ITS command queue framework > hw/intc: GICv3 ITS Command processing > hw/intc: GICv3 ITS Feature enablement > hw/intc: GICv3 redistributor ITS processing > hw/arm/sbsa-ref: add ITS support in SBSA GIC > hw/arm/virt: add ITS support in virt GIC
This fails to build with clang, which has spotted a missing set of brackets in two places: ../../hw/intc/arm_gicv3_redist.c:568:10: error: logical not is only applied to the left hand side of this bitwise operator [-Werror,-Wlogical-not-parentheses] if ((!cs->gicr_ctlr & GICR_CTLR_ENABLE_LPIS) || !cs->gicr_propbaser || ^ ~ ../../hw/intc/arm_gicv3_redist.c:568:10: note: add parentheses after the '!' to evaluate the bitwise operator first if ((!cs->gicr_ctlr & GICR_CTLR_ENABLE_LPIS) || !cs->gicr_propbaser || ^ ( ) ../../hw/intc/arm_gicv3_redist.c:568:10: note: add parentheses around left hand side expression to silence this warning if ((!cs->gicr_ctlr & GICR_CTLR_ENABLE_LPIS) || !cs->gicr_propbaser || ^ ( ) ../../hw/intc/arm_gicv3_redist.c:657:10: error: logical not is only applied to the left hand side of this bitwise operator [-Werror,-Wlogical-not-parentheses] if ((!cs->gicr_ctlr & GICR_CTLR_ENABLE_LPIS) || !cs->gicr_propbaser || ^ ~ ../../hw/intc/arm_gicv3_redist.c:657:10: note: add parentheses after the '!' to evaluate the bitwise operator first if ((!cs->gicr_ctlr & GICR_CTLR_ENABLE_LPIS) || !cs->gicr_propbaser || ^ ( ) ../../hw/intc/arm_gicv3_redist.c:657:10: note: add parentheses around left hand side expression to silence this warning if ((!cs->gicr_ctlr & GICR_CTLR_ENABLE_LPIS) || !cs->gicr_propbaser || ^ ( ) thanks -- PMM