From nobody Mon Aug 26 18:58:32 2024 X-Original-To: dev-commits-src-all@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 4Wt0Lw60j9z5TR3m; Mon, 26 Aug 2024 18:58:32 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wt0Lw4B3Nz4FSt; Mon, 26 Aug 2024 18:58:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724698712; 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=mP/wJ6eKGl+ksztt1bR1B3juQdQ7mna9u0Vf6jd4174=; b=pxVSmExox86yRbeAj+QK7LKf147I3VQqW8/sdX3Pm0alP/wqz/vKPzoVm2TuxrqNOC72Wv mtky8VKo8ynYe99C6nUjjFTw4DfuNFlam+GR1VLurdUBCMq2pr3KrSLZFYtoPVFn1GIby5 may+bKLFkTU6IofKxtLgsc9OO6aj/aD4hVwv1ErA8pC+D6ewZpoYhqt+pIVt0Pw3fJ7g0u snxie1tXRaPl5RHHTr3O58wv3Yok/AaMxAA/pSbikfqVJ+K3ZJ3hsgW6TuioXkvRUlaNd4 WtelfMhEX7UuKRBOv0yG2TZv2ueMgbebJ0oLPfw+C4eHVPPvcOkl0hdYj1/sYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724698712; a=rsa-sha256; cv=none; b=ojuh3hKK/bxzM0eGhDle7yQxrtnLyo6qUUrNDNiaElXFfkVnnIHh53GcIZrMfSwTcxcRMa XiIo+DZlW10LHVKSqHd7nbtPGGmQEQgs4t9EtF7GT9xWKaB/opHl1oXDRTlFBBJq0eidlo oAKfaJGLaNmGUHoyaorm3t+plESc6ZizhiWvMT2i4mwy6SSGsXiqhUFlx0WGXHESPrAu8p eogMbR0/IOsqRtvkJhMGA3D7XxuiEWkkwjrZglTpxlaU9tN2c8upL1cKciWmZXpeyudyxY llMvCYXW9SZhY9ct9pDnqCe8HqahRNgUaiHMb2BmWYIGGCniBMSfQ0qP37pkjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724698712; 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=mP/wJ6eKGl+ksztt1bR1B3juQdQ7mna9u0Vf6jd4174=; b=q+DB4oSNalSTGxSdl0gA24hiCe1C94Fwc3pDj+v9nWU4/ONG+yplKyIQQyhfcTHwXneXuc +Ca8ziDivuHtiUItLe7o2IV/Uk+CWa9GEzdiAMLq4d2ucAzQlSDtMsRS3o1zLNLl/SpUrj br6/NvT094NQsCH/S9Zrz2lZyhNent4bj0TmACxLD8n97olVx9eOQfG42jayWdHvhY3PKD eMevCR5W2/d7Kgxig/nykJFiUQehFrSE9f9SC8BRLfuMEQXu9ch8PzcnoEo8ZTQhBYHIof a9mlmWKmbA+ld1f0ChxofdmVC9aM5BKL5SWRnK+Z1qOI3nh3cE1Lgws26TQM+w== 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 4Wt0Lw3l4gzJ4T; Mon, 26 Aug 2024 18:58:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47QIwWd7027650; Mon, 26 Aug 2024 18:58:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47QIwWqA027647; Mon, 26 Aug 2024 18:58:32 GMT (envelope-from git) Date: Mon, 26 Aug 2024 18:58:32 GMT Message-Id: <202408261858.47QIwWqA027647@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 908a9dc02007 - main - arm64: Add a missing vm_disable_vcpu_creation() call in vmmdev_destroy() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 908a9dc020071947fe727ef11a35e78bf76a6b81 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=908a9dc020071947fe727ef11a35e78bf76a6b81 commit 908a9dc020071947fe727ef11a35e78bf76a6b81 Author: Mark Johnston AuthorDate: 2024-08-26 18:41:34 +0000 Commit: Mark Johnston CommitDate: 2024-08-26 18:41:34 +0000 arm64: Add a missing vm_disable_vcpu_creation() call in vmmdev_destroy() This brings arm64 in sync with amd64, which had diverged a bit after the arm64 code was forked. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D46439 --- sys/arm64/vmm/vmm_dev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/arm64/vmm/vmm_dev.c b/sys/arm64/vmm/vmm_dev.c index c3c6dcc87d88..28877739e2ce 100644 --- a/sys/arm64/vmm/vmm_dev.c +++ b/sys/arm64/vmm/vmm_dev.c @@ -767,6 +767,7 @@ vmmdev_destroy(void *arg) struct devmem_softc *dsc; int error __diagused; + vm_disable_vcpu_creation(sc->vm); error = vcpu_lock_all(sc); KASSERT(error == 0, ("%s: error %d freezing vcpus", __func__, error)); vm_unlock_vcpus(sc->vm);