commit | 4d36f136d57aea6f6440886106e246bb7e5918d8 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Mon Dec 19 17:11:52 2016 +0000 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Wed Feb 08 13:48:22 2017 +0000 |
tree | 56455b930ef706f38e48679df7caec78dcca1572 | |
parent | 2fd632a00383e812db7186f903ebed808d9951bd [diff] |
irqchip/gic-v3-its: Refactor command encoding 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: Marc Zyngier <marc.zyngier@arm.com>