From nobody Sat Sep 19 14:40:29 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 4hnBx942Zmz6srrd for ; Sat, 19 Sep 2026 14:40:29 +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 4hnBx927FHz4Wg0 for ; Sat, 19 Sep 2026 14:40:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789828829; 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=73kmBvKVLro/I5YRTTixxzz7XhfM+MzPCZ9zCSE99VE=; b=kJv8JKglfTATIkro87vZt9CeGw44W/YxYN3UvjAaLOQXvNTqEfijocPR7o65SKoslRLNB9 aoSiuV+6oBtKaD/EYodk9eClJMSgjFnodFK/kt6G5yNyCoo3+/doRZFhJT7JPkaEesWDIN 7AQpD83cPzrBfilPVP4waDWZdTd+f2IgQ1xWzE9HjjwjJ8M02/4SAQCZ6r20AUwhcJST7t gjcpvdmhV+0uuAGYHqfwhhe/5U4roTa2qib0Q5J5ZwyremE+gFJ9uXiLOE7rcEsjaDSfjV ko7JdtGaGIH0I7+yYIpv2fKIO9mHbR24sdwT14isfgXQ2GXXkpCGofJd3AD3Pw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789828829; b=Kw/z4JOj7KZ+0v7kWRw7UsN1PG9IkcY8oYiGrodeQ5WsaurwoQyzes6/ePOSjfZSi0n7DN B9BiQT1iRFMQZ65AI5zUM0mwqltRTl4E7XpAMCmShPQHEPxJioHOBUYgszjTsmO8fdV3r6 D/99Dekt0YisEUPtprT4LendDWTn1WJiZMj0npWYsnW2Sm50LeAUzk63yFd2kn/D54XmzA dFxa9gKDcOn0Yf1Oeb6/8w/7bEI3sts/HXIle2pBV64qDMhYj586xT82J9y6OQxLNZsIC8 rCdnC0svv9b4E09VlM7vmS7H0FwSfFJIKHX3J4TZdWZquI3DHOv240TOrSzt8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789828829; 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=73kmBvKVLro/I5YRTTixxzz7XhfM+MzPCZ9zCSE99VE=; b=drWeuRzn+/56+KpNGbD+Rta9txQFgGW0ahcM2Jc/O/pEJSrtKhdMnnSVX1WI5QonEpBwyS ShdhvTmbaBnXCxPE15jv/lbZws9HHv098L/JflmqgBessN/8tk6mqgohlGiA5LMn1VSLj+ /VVFSnWFXcRPwTjWHZqQP7u0pep0V1QdL3OzZRWY61FZWk5TyzibREsXgYPoe8LED6y0Le f6BESIcefKivfD7eG2axXCYszdO9Jzg4te3HPk7tzGYaLD3hgum6uOmnAzDD9g4eK58eC4 2LR9DTIwiTk5/4nwdbQDwetFyh6zA5/eyvwnrIqD87d4Y1vyaBPKpTVlz3jUZA== 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 4hnBx91CN1z17H3 for ; Sat, 19 Sep 2026 14:40:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 47176 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 19 Sep 2026 14:40:29 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 5fd93b626c68 - stable/15 - LinuxKPI: add PCI_IRQ_AFFINITY #define 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: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 5fd93b626c683184c98eb5127b6ae127804f3aa5 Auto-Submitted: auto-generated Date: Sat, 19 Sep 2026 14:40:29 +0000 Message-Id: <6aae9edd.47176.7ca75740@gitrepo.freebsd.org> The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=5fd93b626c683184c98eb5127b6ae127804f3aa5 commit 5fd93b626c683184c98eb5127b6ae127804f3aa5 Author: Bjoern A. Zeeb AuthorDate: 2026-08-16 22:01:44 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-09-19 09:34:11 +0000 LinuxKPI: add PCI_IRQ_AFFINITY #define Add the #define for PCI_IRQ_AFFINITY and leave a pr_debug note in pci_alloc_irq_vectors() that it is unimplemented. The flag is needed by an upcoming WiFi driver. Reviewed by: dumbbell Differential Revision: https://reviews.freebsd.org/D58881 (cherry picked from commit b589e403a2c3bd2a94fb2ab88cd23255c68a9f05) --- sys/compat/linuxkpi/common/include/linux/pci.h | 1 + sys/compat/linuxkpi/common/src/linux_pci.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h index f6799ab6be28..16c672de2688 100644 --- a/sys/compat/linuxkpi/common/include/linux/pci.h +++ b/sys/compat/linuxkpi/common/include/linux/pci.h @@ -241,6 +241,7 @@ extern const char *pci_power_names[6]; #define PCI_IRQ_INTX 0x01 #define PCI_IRQ_MSI 0x02 #define PCI_IRQ_MSIX 0x04 +#define PCI_IRQ_AFFINITY 0x08 #define PCI_IRQ_ALL_TYPES (PCI_IRQ_MSIX|PCI_IRQ_MSI|PCI_IRQ_INTX) #if defined(LINUXKPI_VERSION) && (LINUXKPI_VERSION <= 61000) diff --git a/sys/compat/linuxkpi/common/src/linux_pci.c b/sys/compat/linuxkpi/common/src/linux_pci.c index ab8d5cf98534..b5aee166de2d 100644 --- a/sys/compat/linuxkpi/common/src/linux_pci.c +++ b/sys/compat/linuxkpi/common/src/linux_pci.c @@ -1580,6 +1580,9 @@ pci_alloc_irq_vectors(struct pci_dev *pdev, int minv, int maxv, { int error; + if ((flags & PCI_IRQ_AFFINITY) != 0) { + pr_debug("%s: TODO PCI_IRQ_AFFINITY\n", __func__); + } if (flags & PCI_IRQ_MSIX) { struct msix_entry *entries; int i;