From nobody Wed Oct 11 13:25:13 2023 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 4S5D613wj7z4xNmF; Wed, 11 Oct 2023 13:25:13 +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 4S5D613CSfz3GdS; Wed, 11 Oct 2023 13:25:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697030713; 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=zQ6b+OoD/U6AgZPgZaUC5hmejYB3mS3hB91JKDSMvG4=; b=NLyuJ96v8+g/JausH61qw+IJQlNkJFSFlTZ0K9rUeV7ze67HnM34vplOiYlKSHybrfGtPW iI3EUMt0haaUwk/tlnsLFafHD54nrbZ+0R+zvUZ+PMRRtUrIIa1SrogL8B9Gm3+NcUuVKg 1dNo6tvmnB0hfAlt2SThYEakr7z5fVtCjD3XOiorzWwip2LexQvxEgp1bZ3Q2YpEnCNVFE 0UOIm2KaiqD/zynMcdrOinE7ZsUJDRyXNs8ivk1pEdxgSxQBiNQzML2965u5yBpywWRsSG OKO6IiFhmLkyksHP5oi9J1rZXDKHXILvCeafd/58WsqP4ZSOeFgfePUdiBiOJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697030713; a=rsa-sha256; cv=none; b=R6upSoYMueT4bwIu+HZpMR/nUsphy2/nCHsXLKSOh6KH1E0/2qzZ+thUA+k8raz/9XZndb cGc3m8voBLLMoeKOLl/wB/5CQSztL8UI1W0/wz0plGtBGizrRmi8IQwpJX0Khg06/SZlN5 jNAnWPajxeqlXQ+xHdEAMlM4l6roZIN+75RU+4Yn7rVYplgU5Ovo1Gfj2PldhUXAssBOwM U5oYfFFCVuaB8HlfxpeQWGM7+0jkQaKoOOsLzxac4R8D4O0AiKVup2WjAhjThJWxYpKgUx GMSq0AE40a2dnQO+tvMyVL2NcDQiRzoqjrq9gcr3k8upuxEqmSw5JHVhzyABPQ== 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=1697030713; 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=zQ6b+OoD/U6AgZPgZaUC5hmejYB3mS3hB91JKDSMvG4=; b=IUIjcVS62leLhFqkIDorbcoqj1XEu/ppQol/FGwTf0okGA/ysoVm9xHn6Jt/0MLD0NUd7h vP4LASn4IohlV8FrHK0fNA7Zk4hwQn5r02aMzjm4+bM3fCvkEiEDBhM5l/RVeNOCntd/eA DeaLBUb+0lV/MauYixl+GUyceM/k5UxI1bjXOiMFO+rIvUFJUPGoAfHc3VnvvwGuoY7GKK tk2xz9JWZG3J4D0HOVH6WKMqlzIu7mDwwa1WT6BHR7mdN7NjzbNJxr4+F2eNf6SiJAtNa6 Iurp7o2B7rn5WgmNLxCxZ/ElqCMayx8KIftmqBI53zrumN/5m9LMZ6TGD4nPHg== 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 4S5D611z0Nz7PK; Wed, 11 Oct 2023 13:25:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39BDPDMO090303; Wed, 11 Oct 2023 13:25:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39BDPDq9090300; Wed, 11 Oct 2023 13:25:13 GMT (envelope-from git) Date: Wed, 11 Oct 2023 13:25:13 GMT Message-Id: <202310111325.39BDPDq9090300@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 4b5b18f0cfbb - stable/14 - bhyve: Move AP startup code to amd64/ 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 4b5b18f0cfbbad795afa505ace37e2e5654ee1c0 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=4b5b18f0cfbbad795afa505ace37e2e5654ee1c0 commit 4b5b18f0cfbbad795afa505ace37e2e5654ee1c0 Author: Mark Johnston AuthorDate: 2023-10-04 16:24:19 +0000 Commit: Mark Johnston CommitDate: 2023-10-11 13:22:03 +0000 bhyve: Move AP startup code to amd64/ This code is only invoked via MD vmexit handlers. No functional change intended. Reviewed by: corvink, jhb MFC after: 1 week Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D40737 (cherry picked from commit c7c5d3e3888aa9018297794285dcd884e6182bd5) --- usr.sbin/bhyve/Makefile | 1 - usr.sbin/bhyve/amd64/Makefile.inc | 1 + usr.sbin/bhyve/{ => amd64}/spinup_ap.c | 0 usr.sbin/bhyve/{ => amd64}/spinup_ap.h | 0 4 files changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile index d510c32fccd0..f6db03a3358b 100644 --- a/usr.sbin/bhyve/Makefile +++ b/usr.sbin/bhyve/Makefile @@ -62,7 +62,6 @@ SRCS= \ rfb.c \ smbiostbl.c \ sockstream.c \ - spinup_ap.c \ tpm_device.c \ tpm_emul_passthru.c \ tpm_intf_crb.c \ diff --git a/usr.sbin/bhyve/amd64/Makefile.inc b/usr.sbin/bhyve/amd64/Makefile.inc index 5caecb35a620..824f12861923 100644 --- a/usr.sbin/bhyve/amd64/Makefile.inc +++ b/usr.sbin/bhyve/amd64/Makefile.inc @@ -10,6 +10,7 @@ SRCS+= \ ps2kbd.c \ ps2mouse.c \ rtc.c \ + spinup_ap.c \ task_switch.c \ xmsr.c diff --git a/usr.sbin/bhyve/spinup_ap.c b/usr.sbin/bhyve/amd64/spinup_ap.c similarity index 100% rename from usr.sbin/bhyve/spinup_ap.c rename to usr.sbin/bhyve/amd64/spinup_ap.c diff --git a/usr.sbin/bhyve/spinup_ap.h b/usr.sbin/bhyve/amd64/spinup_ap.h similarity index 100% rename from usr.sbin/bhyve/spinup_ap.h rename to usr.sbin/bhyve/amd64/spinup_ap.h