summaryrefslogtreecommitdiff
path: root/crypto/serpent_generic.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-08-16 16:51:06 (GMT)
committerChristoffer Dall <christoffer.dall@linaro.org>2016-08-16 17:27:22 (GMT)
commit286054a7a8674b256da16564d96772b88896eb35 (patch)
tree9fcbe7e37c7da2983b2c08fb5470ff5fd25d9673 /crypto/serpent_generic.c
parent505a19eec49ab36b314a05bc062749ebdfb0aa90 (diff)
downloadlinux-286054a7a8674b256da16564d96772b88896eb35.tar.xz
KVM: arm64: ITS: avoid re-mapping LPIs
When a guest wants to map a device-ID/event-ID combination that is already mapped, we may end up in a situation where an LPI is never "put", thus never being freed. Since the GICv3 spec says that mapping an already mapped LPI is UNPREDICTABLE, lets just bail out early in this situation to avoid any potential leaks. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'crypto/serpent_generic.c')
0 files changed, 0 insertions, 0 deletions