From nobody Thu Oct 08 20:44:07 2026 X-Original-To: dev-commits-src-branches@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 4j126018qpz6wCnN for ; Thu, 08 Oct 2026 20:44:08 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4j125z6dNRz4c9R for ; Thu, 08 Oct 2026 20:44:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791492247; 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=81IcY9GgHcdN0DEXdliNkrV7VoiBI+iRSNYEaxHbnsk=; b=NuDFVwDwrcCack3qISFIx+1s3Z00KQ2hj5DnkOTn1R+zAb9ULeNtw31horwDlpFPUYcWwd QMKpVLgEUYHvho612kgy71cNQC+M46wRiz5YHO+XZDDs2QsCRjO7AkntdojUbNS52gzo3t RWxF9EwsKKqQj33obvbUu52/hzjklxHw9Kj9s13umL0CM5HYwLhOLKn3lR1vGx/hJWcEY7 mwKK7U801NovgvBedIVYEsWtPk8Ew4vtH/Xs0IOnRvKglV/kUVNbuElMpMot2qaAh6Em7u g8AhYHNCT8CwuEwO5hbYkJN2xSKIWLfu98qTSXy4bN7riXbQ6jTPa35WKTAEiw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1791492247; b=osW7od0dQBRJuKgDZ+LSpQ5n49jM2proGDt0DFZjUoucRNUd227XUoLIuFk2pTTREi5hiq fyJwmzqME9dsPXpbHesYcpBUGrTAfUSu0Ny7glD9SkYqAuKZ2axtvi0uw8r38Fdj7B4B/q b3ijgvPTb3n0VxW7cZyb1i5WIb+L23VE5mwRsHLXsAvItHPh97H24hgumbcqiqp3aADP/N mR45lD/AoWg1U+yen2axzJQ7Bg71eX4TSk3kv56FPB0rGgEOn/sjrwN7ydB61iwUpThSJZ xR/2fhmXg9cn5EW5uZST/sNr0Cb7TehlNNZPO4awechUpwNUeMe2JS7FhYNjaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791492247; 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=81IcY9GgHcdN0DEXdliNkrV7VoiBI+iRSNYEaxHbnsk=; b=jPeEERDhtm5GztwHb8q3sMn8oYBxhKj8g8pZy2Ie8IsTdL14qf0cE87LVNmky7z+GTp/M3 gcxKs2zNBi0wqn5EMmdPcmtjO4eh8UNmmwl7fur7KQcz5o188LTVbHN95xnPzCzPl1PBR7 ag/GF2vMoOI9zS9c2MWWbyyI5tIfonh1AFVz1+wEdqOAcRwipR8wYbtDNy4AzGh6AuqRYF PyBnzd+eZkP8GwKtt7dPlijcUc5ka6KgSBuRLdfP6tlFlbGswB8epLwiTUYNm83Rz/Xssz nr4+EzX2s2C97BruKq5zArtDh6Hbz2cBIgcT9SXjXSl0iSkMRWbBhgijoyVwmQ== 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 4j125z5gNmzwTx for ; Thu, 08 Oct 2026 20:44:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 32e59 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 08 Oct 2026 20:44:07 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 00c581992de9 - stable/15 - bhyve: Don't set the prefetch flag for large 64-bit memory BARs List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 00c581992de94265209c25d9003047a7cd908543 Auto-Submitted: auto-generated Date: Thu, 08 Oct 2026 20:44:07 +0000 Message-Id: <6ac80097.32e59.2571a225@gitrepo.freebsd.org> The branch stable/15 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=00c581992de94265209c25d9003047a7cd908543 commit 00c581992de94265209c25d9003047a7cd908543 Author: John Baldwin AuthorDate: 2026-08-26 19:30:37 +0000 Commit: John Baldwin CommitDate: 2026-10-08 20:42:32 +0000 bhyve: Don't set the prefetch flag for large 64-bit memory BARs The only device model that can create a large 64-bit memory BAR is the passthru device model, and that device model reuses the lobits of the existing BAR explicitly. Fixes: e87a6f3ef284 ("bhyve: use physical lobits for BARs of passthru devices") (cherry picked from commit 3807c8be4645d7f02c5253aa88b193000e6aef09) --- usr.sbin/bhyve/pci_emul.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.sbin/bhyve/pci_emul.c b/usr.sbin/bhyve/pci_emul.c index 01b4801906bc..7ef670240e2e 100644 --- a/usr.sbin/bhyve/pci_emul.c +++ b/usr.sbin/bhyve/pci_emul.c @@ -918,8 +918,7 @@ pci_emul_assign_bar(struct pci_devinst *const pdi, const int idx, baseptr = &pci_emul_membase64; limit = pci_emul_memlim64; mask = PCIM_BAR_MEM_BASE; - lobits = PCIM_BAR_MEM_SPACE | PCIM_BAR_MEM_64 | - PCIM_BAR_MEM_PREFETCH; + lobits = PCIM_BAR_MEM_SPACE | PCIM_BAR_MEM_64; } else { baseptr = &pci_emul_membase32; limit = PCI_EMUL_MEMLIMIT32;