iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for context
authorMagnus Damm <damm+renesas@opensource.se>
Wed, 17 May 2017 10:06:38 +0000 (19:06 +0900)
committerJoerg Roedel <jroedel@suse.de>
Wed, 17 May 2017 13:21:53 +0000 (15:21 +0200)
commitdbb7069223bed0c40511ee28e5be519405e47906
treec970acad64c685ff9081258520e714c23e86669a
parent6aa9a30838707f19cd5de4b8710987fbc747cdaf
iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for context

Introduce a bitmap for context handing and convert the
interrupt routine to handle all registered contexts.

At this point the number of contexts are still limited.

Also remove the use of the ARM specific mapping variable
from ipmmu_irq() to allow compile on ARM64.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/ipmmu-vmsa.c