From nobody Tue Aug 20 09:02:30 2024 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 4Wp3Py3Y4Jz5Sj9Z; Tue, 20 Aug 2024 09:02:30 +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 4Wp3Py1c4Gz3wbp; Tue, 20 Aug 2024 09:02:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724144550; 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=7uITKvnLS6tcDa3OslCKFrJW0gJYP7MoD96HsuxMGIg=; b=qL89tI0ZFi5qqxFNXwv6SgNijhiqRQvszyUMnlAjvgHEhjw7E5KyI/r6BMaBG10lgMjj7K PVCNGA05c8XaAyzyZ7WCq28FMc08nxJuyozpWj2K296jBcB3UkaPSidmtFusLe/KGa+Zyf HKnB7avZ4RtDd2ZkIQIyVqCsX7ywVyp1unU15cO2mT/9KgXbKdaU6l0S2cX4LWjUjVaW+c bO8B18UqeBqKCZ+zblSGs5CHy4SlOoN7dLiHowThnscoEWLroLyA64IjZtuRPiwReb3SYl ZRNTpfj+0IdPcRwUzHnKicCnGSRmKqwQkDbfV4mII+uB0MDeatnCRYwGc1Z6ug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724144550; a=rsa-sha256; cv=none; b=UcORaDn7RLGpr/R1mId4QjjEpaRKJU8a64mnI3Dy+LbIzPx7VWD7ZPVz8s0RC1efsiH8hI WRZYs6D/eHlY4Ox1zY3ETcCM96uUrgP7rpMT2p/ziy/omq1aLnUda8O0Q6E+hOo5KTfCW5 QMOJKC3kq1DJI+GatiLy8STQT/43hkd+OriZ5Po4ddppnO4UfU9i2SbxrIpAwadX3zl0MZ bx+/jfEimiCleiMWh9H3IXNfHHpsWshz+xjxNYSniBeMYS0tIhSbett/zxt8gOf5qZ4rKG XfZqOaQFr7fK3rs9u3r+FOfDBov0WheAOSHSazByKDYrtdmv1jK3U2SMg38Nmg== 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=1724144550; 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=7uITKvnLS6tcDa3OslCKFrJW0gJYP7MoD96HsuxMGIg=; b=S6EAMq4DmZaH+7nI+dnV5fcuqRALX54frNkDlLVRV/jlOBrHX2ZDDoNj7sict2lJwD3utt zRtwWVYLH/lbGnsJruiiAc5bs7Ep5Wg+qgNx8oqSCqVbP+M+Dl9pri5B5blHqzS6lJCH9f TdMXdBHVXOMROS71cDTD1NqgU73mFM2SctVGe8bzVJYB251E6bkLNqcjWsfQ30AkbWr0ym dkzflwjxxipGZt6BnQsflbdsoCm/+v0IP8ghBiB9qxT2RDoAasw36dpRKU1sNj6a8NyscT NtL6ZjYnXU3lMh9LTQLeESzj6hrAkjCoI5RbRXKFWaeOfiXR6KaXF9JacMVXLQ== 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 4Wp3Py144Xzv0D; Tue, 20 Aug 2024 09:02:30 +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 47K92Upn082041; Tue, 20 Aug 2024 09:02:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47K92Udq082038; Tue, 20 Aug 2024 09:02:30 GMT (envelope-from git) Date: Tue, 20 Aug 2024 09:02:30 GMT Message-Id: <202408200902.47K92Udq082038@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 53b8812c9a99 - main - arm64/vmm: Allow vmm when in VHE 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 53b8812c9a997ef7e8879484890ef688bca4acdf Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=53b8812c9a997ef7e8879484890ef688bca4acdf commit 53b8812c9a997ef7e8879484890ef688bca4acdf Author: Andrew Turner AuthorDate: 2024-08-19 12:46:00 +0000 Commit: Andrew Turner CommitDate: 2024-08-20 08:49:16 +0000 arm64/vmm: Allow vmm when in VHE We now support VHE in byve so there is no reason to block it. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D46085 --- sys/arm64/vmm/vmm_arm64.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/arm64/vmm/vmm_arm64.c b/sys/arm64/vmm/vmm_arm64.c index 3079353668e3..164ff65cfe2c 100644 --- a/sys/arm64/vmm/vmm_arm64.c +++ b/sys/arm64/vmm/vmm_arm64.c @@ -246,12 +246,6 @@ vmmops_modinit(int ipinum) return (ENXIO); } - /* TODO: Support VHE */ - if (in_vhe()) { - printf("vmm: VHE is unsupported\n"); - return (ENXIO); - } - if (!vgic_present()) { printf("vmm: No vgic found\n"); return (ENODEV);