If we use the cookie-based interrupt API on sun4v, whe shouldn't put the
authorkettenis <kettenis@openbsd.org>
Fri, 22 Dec 2017 15:52:36 +0000 (15:52 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 22 Dec 2017 15:52:36 +0000 (15:52 +0000)
commit45460660750088909e85a488017bcbc72cbbf0b0
tree3485cefcd752b76f18566036eee568af9d70e298
parent1ad0085e16bf72130d405e835eae0359fdcd4def
If we use the cookie-based interrupt API on sun4v, whe shouldn't put the
interrupts in the lookup table.  On machines like the Oracle T7-2 this
would make the code believe that there is interrupt sharing, but since
we bypass intr_list_handler() when using the cookie-based interrupt API,
we wouldn't properly acknowledge the interrupt.

This fixes the last remaining problem with interrupts on the Oracle T7-2.
sys/arch/sparc64/dev/vbus.c
sys/arch/sparc64/dev/vpci.c
sys/arch/sparc64/sparc64/intr.c