git: 602861820df8 - main - arm64: Hyper-V: making INTR MP Safe
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Nov 2022 10:21:09 UTC
The branch main has been updated by whu: URL: https://cgit.FreeBSD.org/src/commit/?id=602861820df83c61f2d6cc00088fb220e0d888b0 commit 602861820df83c61f2d6cc00088fb220e0d888b0 Author: Souradeep Chakrabarti <schakrabarti@microsoft.com> AuthorDate: 2022-11-04 10:09:02 +0000 Commit: Wei Hu <whu@FreeBSD.org> CommitDate: 2022-11-04 10:20:16 +0000 arm64: Hyper-V: making INTR MP Safe Makeing the interrupt MP safe. Reviewed by: andrew Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D37222 --- sys/dev/hyperv/vmbus/aarch64/vmbus_aarch64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/hyperv/vmbus/aarch64/vmbus_aarch64.c b/sys/dev/hyperv/vmbus/aarch64/vmbus_aarch64.c index f899079d22bc..1f25037c9ae1 100644 --- a/sys/dev/hyperv/vmbus/aarch64/vmbus_aarch64.c +++ b/sys/dev/hyperv/vmbus/aarch64/vmbus_aarch64.c @@ -125,7 +125,7 @@ vmbus_setup_intr1(struct vmbus_softc *sc) (uint64_t)rman_get_start(sc->ires), sc->vector, (uint64_t)rman_get_end(sc->ires)); } - err = bus_setup_intr(sc->vmbus_dev, sc->ires, INTR_TYPE_MISC, + err = bus_setup_intr(sc->vmbus_dev, sc->ires, INTR_TYPE_MISC | INTR_MPSAFE, vmbus_handle_intr_new, NULL, sc, &sc->icookie); if (err) { device_printf(sc->vmbus_dev, "failed to setup IRQ %d\n", err);