From nobody Thu Nov 12 16:21:54 2026 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 4jQQdG2x3Fz70rLt for ; Thu, 12 Nov 2026 16:21:54 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jQQdG22QYz4G9h for ; Thu, 12 Nov 2026 16:21:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794500514; 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=N5xREpZ2Sxt//G+kHxxsvW4bktSAXlqLi35oaoHiZxM=; b=TIhs2+V9qoBbvrxZOS/FlP/R4Xhu8JaMRCg2gzMfj0j8qkoMpEzHyLx13wGLBTFGrjkPi0 Ua6636ahbDRSxRS8PA/6BgFeKbb0OaOupMxo8bmIbAIR3Y/Vv2DPTIA4sZIdEB8GH9Vdb9 1mtfQ3R6/rMLAkY316lHhWTwc9EmN9WaKtjXojBi0tP0yfiA2s0eBJ+6xX3Ixm9Ga9qy6v rurq/rKm5wL2ouol4pTBs1y9BQuRm0MSlSdETurKPcKTVXd6KmLoozkCudmmOsULLEOD9g zB5IT4GOh0aBlUb9OZLeKIPNHYe7aQMckTGNgvyPU7RgLi8ijqplN9+NStv0bw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1794500514; b=UkyGAAgxmEynfBz4jIBP/bQwQfwmWpNidBbGH/aQUjIWf7ACywyHr0niqY0SqwZeJhp/K9 8heVXr1zqx4uC1TuqunxzviycKW3pmu0yRMo2mTkaPxOmKwlok14434BkbDJhzPvsZNh3d xBJ2ToyRlXRE9K+Zk4pRcrx85p64iD/h2r8Ksm4pfqUz5tm3eYLANEbCGWW2BxhCWwCSrU 0hyt3sNpAFXT9GERZJCghAMU3X6IrutiBdTIYJunA6WSovaHNrDo3vQk78rxgDvzhc2iTb sL0MZh5C5aqJLYrFjAwOiqXl6hWDtLQY9XHZKvCpy8JPwxQ+g2s3ugm3lMp0Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794500514; 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=N5xREpZ2Sxt//G+kHxxsvW4bktSAXlqLi35oaoHiZxM=; b=wdTOBFKvzqyYMYeD062qDxiRJ8bTmgM24KzSi8AqWo/9yySHEX6KQrC+ydFtHNWf8N57EM Wc43w6DETFf8z32C/jDfbOV4id4BeA95F8AU9dWqR447KYSkf5EG/s0rV7bZf2yY1ILNPo DkqE/jhuSkikVTceagHA+/RiPKxUtIHSP6C3Vj1elvc59LCtOyIcLLjl6fkISAp+EBUpMv YJv2MKT+W2HmBWOL5w+Ia4Ahw0wKGQFI0lh2AseFJt2KEAFy/94blf44YRrvTCQimj2kc+ XP/NLp83Q+CTE6UgLP/KrXxP9pdVUXDc7gFJh1TGLSWdTol2JJ2x91aaMJtahA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jQQdG13DMz198D for ; Thu, 12 Nov 2026 16:21:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id b5a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 12 Nov 2026 16:21:54 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: 2292e7a4cfaa - stable/15 - riscv: add QEMU marchid List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 2292e7a4cfaa4f1ea242cfafd20820100425d504 Auto-Submitted: auto-generated Date: Thu, 12 Nov 2026 16:21:54 +0000 Message-Id: <6af5e7a2.b5a.27e22457@gitrepo.freebsd.org> The branch stable/15 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=2292e7a4cfaa4f1ea242cfafd20820100425d504 commit 2292e7a4cfaa4f1ea242cfafd20820100425d504 Author: Mitchell Horne AuthorDate: 2026-11-09 18:01:46 +0000 Commit: Mitchell Horne CommitDate: 2026-11-12 16:21:46 +0000 riscv: add QEMU marchid Globally allocated per: https://github.com/riscv/riscv-isa-manual/blob/main/marchid.md MFC after: 3 days Sponsored by: The FreeBSD Foundation (cherry picked from commit bba06f0681bb8197f1cd11160fa489c1631f399c) --- sys/riscv/include/cpu.h | 1 + sys/riscv/riscv/identcpu.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/riscv/include/cpu.h b/sys/riscv/include/cpu.h index 13a9f1ca0603..ae3bdab14e35 100644 --- a/sys/riscv/include/cpu.h +++ b/sys/riscv/include/cpu.h @@ -77,6 +77,7 @@ #define MARCHID_UCB_BOOM MARCHID_OPENSOURCE(2) #define MARCHID_UCB_SPIKE MARCHID_OPENSOURCE(5) #define MARCHID_UCAM_RVBS MARCHID_OPENSOURCE(10) +#define MARCHID_QEMU MARCHID_OPENSOURCE(42) /* SiFive marchid values */ #define MARCHID_SIFIVE_U7 MARCHID_COMMERCIAL(7) diff --git a/sys/riscv/riscv/identcpu.c b/sys/riscv/riscv/identcpu.c index af71cc2f89f0..ddd6f571305c 100644 --- a/sys/riscv/riscv/identcpu.c +++ b/sys/riscv/riscv/identcpu.c @@ -121,6 +121,7 @@ static const struct marchid_entry global_marchids[] = { { MARCHID_UCB_BOOM, "UC Berkeley Boom" }, { MARCHID_UCB_SPIKE, "UC Berkeley Spike" }, { MARCHID_UCAM_RVBS, "University of Cambridge RVBS" }, + { MARCHID_QEMU, "QEMU" }, MARCHID_END };