• Marc Zyngier's avatar
    irqchip/gic-v3-its: Refactor command encoding · 4d36f136
    Marc Zyngier authored
    The way we encode the various ITS command fields is both tedious
    and error prone. Let's introduce a helper function that performs
    the encoding, and convert the existing encoders to use that
    helper. It also has the advantage of expressing the encoding in
    a way that matches the architecture specification.
    Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
    4d36f136
irq-gic-v3-its.c 45.6 KB