From nobody Thu Oct 29 05:01:12 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 4jFXBJ6TRkz6xmkP for ; Thu, 29 Oct 2026 05:01:12 +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 4jFXBJ31zQz4fQH for ; Thu, 29 Oct 2026 05:01:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793250072; 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=whO6rfdm5hPfzmp4iBJCG5tHFJoaNqhqzSvuDAvA8zo=; b=oro5CWisI6OnioolTwbDkETaFob1KIyN0p8V5WhOg945z/r6h+RX8YtX6m+V3v3n2mZrMT 20n36/ZQlItHt2NRTdTWJ3BCuclJ0D6KSXSDaJOR2CW2UEylCvV8XDu8PxTRRLlLhEW5Q+ e3eQbFYyYrgMGYC2Za+p1ZXjKM45iJexYY8F8wSczmnZxdp7HKNQL2FNOr0b2I2cKg14Ln +g6TxQHFzSuZv9t1fPKPq+KBW8pVzANqyLn/SCeZWJV6IZ7tBep23lm7ueavFcRpiZQElF ah6VfvralIws3EuXiDuTr+vO6fihNDNjuVVJ7MY17IgrTJPmbEErgrbv/u6cbA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793250072; b=s2mL6kd5UlRA6gob+HQmZfyXvKl2Qaf1fRJ0cHqSilzm7rywSaNliMyBwjfbum7cLd+9Y6 ODYya3pGqo4M1yNma7zu8vHjoM+LxA4KWQPdgFEP2RYFlpsnsSKUhAoZXDEUvsW+Qv/T90 gjhqgEQ0L0Tf3FGj/CHma8mWMvluokGmmFG6apI9AVpMkgDa6K0ztYS/KdheglKVI3R2WF 6IdlwlL30ND6Scdr7+fmsdyBv6tt8Nju0OwAje7Yvpl8XmBOlkDOezxkzwdYhBpHW46MIM TtB26wQ9loNu60raWO4cq6YRZiTxOQgzD+LCGzkntdthKNQzanrNbm8PlDF7Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793250072; 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=whO6rfdm5hPfzmp4iBJCG5tHFJoaNqhqzSvuDAvA8zo=; b=L8Y7kkdtvv7D46aTVGS/oDQtsDsIt//GhFMO7QahmG61uhA8DrDnJteY5JI2rTODENLzvU 56L8PAwW8JFZ8B51IOYBrCcNHKwb9bxLoFhy1Bh2bFEvKqG7mc03F4fWQnbpdhuM1gtVLK vflaimZoL1vF2JcAZFm+aSBgeKHlxtgwQOoYQyZczh3ySf46j5Aaa1qSmR/ocq4aBQLYC3 go5bNUZfUs/tcvkiJUeF4SLasmOho5d8i7OlnffMUimWsgT7X5GgIpyPxPh19dTMqFF4JO NFzwkz8TpkXPV2DAmXDXkUWYDNLH34+xmlWTiDpC7guGz3c41W8rVd/HeLZfPw== 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 4jFXBJ2g82zP0b for ; Thu, 29 Oct 2026 05:01:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 339a2 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 29 Oct 2026 05:01:12 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: f5f6479d5c71 - stable/15 - hyperv: Stop bus relations handling from falling through to eject List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: Commits to the stable branches of the FreeBSD 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: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: f5f6479d5c719834524e94e13dac947ef339c5b4 Auto-Submitted: auto-generated Date: Thu, 29 Oct 2026 05:01:12 +0000 Message-Id: <6ae2d318.339a2.632b5603@gitrepo.freebsd.org> The branch stable/15 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=f5f6479d5c719834524e94e13dac947ef339c5b4 commit f5f6479d5c719834524e94e13dac947ef339c5b4 Author: Kevin Bowling AuthorDate: 2026-09-14 22:31:58 +0000 Commit: Kevin Bowling CommitDate: 2026-10-29 05:01:04 +0000 hyperv: Stop bus relations handling from falling through to eject The PCI_BUS_RELATIONS2 case lacks a break after queuing the reported devices. It consequently processes the same packet as PCI_EJECT, interpreting device_count as the slot number. If that value matches an existing child, the callback schedules an unintended device eject. End the relations case after processing the device list, matching the original PCI_BUS_RELATIONS handling. Fixes: ea11861e434a ("arm64: Hyper-V: vPCI: Enabling v-PCI in FreeBSD in ARM64 Hyper-V") Sponsored by: BBOX.io (cherry picked from commit ddcf8be82b0f17c767d2edab026a4f5cfa3d217e) --- sys/dev/hyperv/pcib/vmbus_pcib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/hyperv/pcib/vmbus_pcib.c b/sys/dev/hyperv/pcib/vmbus_pcib.c index 7b755e5f9c63..c5ea1cd1e386 100644 --- a/sys/dev/hyperv/pcib/vmbus_pcib.c +++ b/sys/dev/hyperv/pcib/vmbus_pcib.c @@ -1013,6 +1013,7 @@ vmbus_pcib_on_channel_callback(struct vmbus_channel *chan, void *arg) break; hv_pci_devices_present2(hbus, bus_rel2); + break; case PCI_EJECT: dev_msg = (struct pci_dev_incoming *)buffer;