From nobody Fri Nov 04 10:21:09 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N3c921vrgz4hdWk; Fri, 4 Nov 2022 10:21:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N3c920kc0z3dY5; Fri, 4 Nov 2022 10:21:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667557270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DSYJf/gAbfOOlYZZN3bQuiLMNkXJBo6BKaKHxI/57MY=; b=yWAYPLEVVkgK8Each80lliKpU3kvvThNvUGTFcGGQBAImqa9ZhnShDmRrf/PMWKouTDIyf ZjXI/tpvF3w5BUb++GEQeSr5uvb5PvMNb9XtZhp6YHi9Y58excyBFhFBtFsuyk7vgKYfzS wlgdUt62mlmzltV2yLberRVx6I5w9rMJiy3LKCVTJv/w06kgJp4XeR5PWZ/1zvuD5BTBBA UHyDQiVOzjRNV+Mk5fzRhpjWgmwcT8KZLjCit7ABxMHbVvnN7+MUrkOyI4lzJzJEp5Mzjy aOLuxtC/sn5tIK3hEGRcGNjAKjV1HYXThRlwnBJzIrD6JZKfApoG8w/VNDG1vQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N3c916w1Tz1C6r; Fri, 4 Nov 2022 10:21:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A4AL9Fo066427; Fri, 4 Nov 2022 10:21:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A4AL9cv066426; Fri, 4 Nov 2022 10:21:09 GMT (envelope-from git) Date: Fri, 4 Nov 2022 10:21:09 GMT Message-Id: <202211041021.2A4AL9cv066426@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Wei Hu Subject: git: 602861820df8 - main - arm64: Hyper-V: making INTR MP Safe List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: whu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 602861820df83c61f2d6cc00088fb220e0d888b0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667557270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DSYJf/gAbfOOlYZZN3bQuiLMNkXJBo6BKaKHxI/57MY=; b=k5F/GiYAkRsHTKXEjNROCdkRExksbe2HurCa6GXongbrPaT7p9s8Cr5Nhoy98tXfV5EmSs 7EE8Vs13nuVUzITjX565Y2sv0IscseNfiSalV61s0J8ITp0IRScDayJz9xT+vfM0zWl0iQ eLLLLs+Lyv89qXmYwLuD/Eecb7/j1XRCxW2sWCYxZt47T877nVkfS7eey1uv5ZA89RB5Tk IUlZxGxX3ayR8aIksjsIv19dF1qCwf0MT6tVV2PU0mE6KIR5dwtpCvs7qpNd/2IyL+04BU 7F29EMoSlA7+Q6uDnTlSjl21ODpltLIc8QFkzhYuOqOl7IlOT17h5ss7SeyNnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667557270; a=rsa-sha256; cv=none; b=fCsjy8815Z6Vd4u4d6XLwUAr3FyBlbiF00Q//SjouKQI0UO7PBlLUukt1VrEXTNcbBVdTv kbIL42IMo/i43UbKFBZTZX9m8myQioQG7keeOiEVLippnoODbTOVarNU33VLsUBGimtYBq GNgYiZjnoxvHC9+WajGYbFWaKlPIcjpA7HaBvePIkheWztIOxGEaVqLIUpESy8MrKaOnNT Xo6Aid0/rbmJSmgzELyOz8KqibonqSZWXRYolmATxCVIQZKMnpggRv6fO9vyWw/C2VktWp V5hbIzs7uORJS1rw5wp/eI7C9ySyoCGcPYmbzP9Extlfsc76Lwbypws6w327Tw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by whu: URL: https://cgit.FreeBSD.org/src/commit/?id=602861820df83c61f2d6cc00088fb220e0d888b0 commit 602861820df83c61f2d6cc00088fb220e0d888b0 Author: Souradeep Chakrabarti AuthorDate: 2022-11-04 10:09:02 +0000 Commit: Wei Hu 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);