diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-10-27 15:28:35 +0100 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2017-11-10 08:51:15 +0100 |
commit | bebfd2a203736a42510ecf48ae82c9d7e801eeb0 (patch) | |
tree | 18fdd89d96e933c9098287b64ecc0d6fee485587 /net | |
parent | b2c9a85dd75a8cfa18da94b19e84eb0199011187 (diff) | |
download | linux-stable-bebfd2a203736a42510ecf48ae82c9d7e801eeb0.tar.gz linux-stable-bebfd2a203736a42510ecf48ae82c9d7e801eeb0.tar.bz2 linux-stable-bebfd2a203736a42510ecf48ae82c9d7e801eeb0.zip |
KVM: arm/arm64: vITS: Add MSI translation helpers
The whole MSI injection process is fairly monolithic. An MSI write
gets turned into an injected LPI in one swift go. But this is actually
a more fine-grained process:
- First, a virtual ITS gets selected using the doorbell address
- Then the DevID/EventID pair gets translated into an LPI
- Finally the LPI is injected
Since the GICv4 code needs the first two steps in order to match
an IRQ routing entry to an LPI, let's expose them as helpers,
and refactor the existing code to use them
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions