From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 6CB901FF0C1 for ; Tue, 25 Aug 2026 10:11:03 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 63B2E21836; Tue, 25 Aug 2026 10:09:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787591346; x=1788196146; darn=lists.proxmox.com; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=hLvkR9a3+cEjq+9tRpIr3Grj8r4gF9tv39kBmbO0cJ0=; b=YdAvvZfRjqLzucDfTv2wgTebOrIl7Wexp60UDE+cEGOXh9AZ9sDf1rpTq/4IawBeAi ZB82uCqhpfaS5amBuvBRVwqrBtQJAkYW+iyDbCZzrIHJN6js6ohIbUCoLq37FSBYCtbm tjRbxrykXFSAquZMu72ldtOksyJV8/xEBGwukzAXzEQyZorHHA0c91k6xJ2EP+l9oEin 8awCaIwECKLCl5OOVabT/jpC82N7AiJmq2Xypb7qsHfhnRJRhdgXLH3JWCPE0l9DVWfn S25QcE1lmilN3sn4fy93vJ0VvoIBYZjBXXfoH81baDsQdYT72GAhnEN5wr5V5/SCx1vG XWkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787591346; x=1788196146; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=hLvkR9a3+cEjq+9tRpIr3Grj8r4gF9tv39kBmbO0cJ0=; b=SbJx4PfjHCkwMU/gToiRaaZTnrlpn+DYdgn2uG1TChD30XwNcWpJXutLb4YdV3oSxU SWgunykCxwFbQKnQoY5Kj68OsSujpsvx/FkCi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e416dmr2029585266b.13.1787591345085; Mon, 24 Aug 2026 10:09:05 -0700 (PDT) From: Yao Xu X-Google-Original-From: Yao Xu To: pve-devel@lists.proxmox.com Subject: [PATCH pve-docs 0/2] qm: pci passthrough: the AtomicOps caveat of the all-functions form Date: Mon, 24 Aug 2026 19:08:26 +0200 Message-ID: <20260824170828.42821-1-Xy2462381442@gmail.com> X-Mailer: git-send-email 2.50.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 1 DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy FREEMAIL_ENVFROM_END_DIGIT 1 Envelope-from freemail username ends in digit FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider GB_FREEMAIL_NUM 0.75 Freemail spammy address RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record X-MailFrom: xy2462381442@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation Message-ID-Hash: WC5T3KWGMC6S3CBNWAKGDD2OMUVJPGDG X-Message-ID-Hash: WC5T3KWGMC6S3CBNWAKGDD2OMUVJPGDG X-Mailman-Approved-At: Tue, 25 Aug 2026 10:09:15 +0200 CC: Yao Xu X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Passing a card with the shortened ``00:02`' syntax quietly costs the guest PCIe AtomicOps. QEMU adds AtomicOp completer support to the emulated root port only for a single-function device, so the port ends up advertising none, and nothing in the config or the logs points at the cause. The failure surfaces as a driver or ROCm problem several layers away. Patch 1 documents this next to the paragraph that introduces the syntax. Patch 2 appends the function to the GPU example below it, which currently pairs pcie=on with the all-functions form and would hit the caveat as written. Verified on Proxmox VE 9.2.4 with QEMU 11.0.2 and two RX 7900 XT (gfx1100) in one q35 guest; the reproduction is in patch 1. Yao Xu (2): qm: pci passthrough: note the AtomicOps caveat of all-functions form qm: pci passthrough: name the function in the GPU example qm-pci-passthrough.adoc | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) -- 2.50.1 (Apple Git-155)