From nobody Fri Jan 31 20:02:42 2025 X-Original-To: dev-commits-src-main@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 4Yl6J46LNfz5myCr; Fri, 31 Jan 2025 20:02:44 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yl6J45pWtz3NkH; Fri, 31 Jan 2025 20:02:44 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738353764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1v7S93YBW/RWv0ohLoZBYAE2DPxX5WanZu0S+MwOUsQ=; b=j4DgN03SjfzHsCc9ewchjjGcz6iFfPgbd+x3Qp1xIlc7iG85cXrSr98G4MxNFYcMg4T97I yP/Y8nEtVYlyZW0Wq466Xa+xd7JKVKtYWnhWoF+hwqAHyZXNlzm3JFzGzQYmrKHmrOCO4O +6+mSnvsQTLjWnl7rRm3QaQnJD+bID8fdrRO+XSRrc7AxGU5UfnYiSK4Vh6j1miax7ty4f DhFCMXWdWGeW/Qb9LjDmbuQUEF+EuiXlh/rxSpcH+n3c5SBr08K8N07rlYxd1Y+R9hL6th VGFo+Mhte/Rh5EWteZEd8lT+6Zs06NsVZijdZbOaVw8EwmYfPmLODRCdB95rPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738353764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1v7S93YBW/RWv0ohLoZBYAE2DPxX5WanZu0S+MwOUsQ=; b=V6Ngjz+2iFbfbcqqZlS8vr7gSUOapycsD42qKSAJGLbiv+V497fleKDZXWfTW32erbCudj klXXcmMgDXPafO4APM96poskicUrFnceFpOrTrIEyOnmmiX3ZGIqLa9Wo0aq/V1wv2h1qS hTdeBvr8nJqyTBMRUlocJZFANn1qyr0JdGNRTxQFGanP8hwvQMEfGfVrjpWlusjkrAaEx/ js64s5Xf+1k+YlwzqYYYCuHbgmXpSWgjVUIQhWBVRCyMFDjZa49+bc9TESR8qSGyD87Ncw hKGKRZTJGn2G9iwUJfdQUN148Ze+9Byj30lc29huuwaL+rh5zB/oFnqf0FKKug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738353764; a=rsa-sha256; cv=none; b=QlyxzhrZHAy/HerJHIXzKVEqJxzfD3kooo+2k6jhNGbtAXrpTnnZG+3huAnbsXRcWfpOIt vnUjySp4fn55Idya+76G7T8STJJ4Gt0wCR5epHfRn9T9YLpUdCLJEWa5jdW8/5peng/ea6 0RYvPfQkiRFIzQidP1YrG9QAordxWZsa/ZW6Du75SwKHvjtZGp47hEYiIGeZcGpo312LGZ gzJa/f44/+fP/0SRNj69w45N5rCx39aCIxdEymM/d1uod8u/F27ma8Lvh5oiQy1xlAE40c 2STStbvymQin/+GhzNvAEhvPTW0Pf3d6RYYGSfTPSxVztFwK5cuxgWDOcIEn4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E6" (verified OK)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Yl6J44ZdWzmPM; Fri, 31 Jan 2025 20:02:44 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 980EEA64805; Fri, 31 Jan 2025 20:02:42 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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 mail.sbone.de (Postfix) with ESMTPS id 0967F2D029DF; Fri, 31 Jan 2025 20:02:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id R6KcO8upjj2g; Fri, 31 Jan 2025 20:02:42 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (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 mail.sbone.de (Postfix) with ESMTPSA id 227182D029DD; Fri, 31 Jan 2025 20:02:42 +0000 (UTC) Date: Fri, 31 Jan 2025 20:02:42 +0000 (UTC) From: "Bjoern A. Zeeb" To: =?UTF-8?Q?Jean-S=C3=A9bastienP=C3=A9dron?= cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 73281513fc85 - main - linuxkpi: Add `pci_wake_from_d3()` In-Reply-To: <202501311603.50VG3OCF038935@gitrepo.freebsd.org> Message-ID: References: <202501311603.50VG3OCF038935@gitrepo.freebsd.org> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1098556516-676172882-1738353762=:2254" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-676172882-1738353762=:2254 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 31 Jan 2025, Jean-SébastienPédron wrote: > The branch main has been updated by dumbbell: > > URL: https://cgit.FreeBSD.org/src/commit/?id=73281513fc8516c54ca30726498b282ca59a9fe8 > > commit 73281513fc8516c54ca30726498b282ca59a9fe8 > Author: Jean-Sébastien Pédron > AuthorDate: 2025-01-01 15:43:44 +0000 > Commit: Jean-Sébastien Pédron > CommitDate: 2025-01-31 16:00:49 +0000 > > linuxkpi: Add `pci_wake_from_d3()` > > [Why] > This is used by the amdgpu DRM driver starting with Linux 6.7. > > [How] > The function just returns 0 for now. > > Reviewed by: manu > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D48759 > --- > sys/compat/linuxkpi/common/include/linux/pci.h | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h > index 782f79080873..64f44812ee3e 100644 > --- a/sys/compat/linuxkpi/common/include/linux/pci.h > +++ b/sys/compat/linuxkpi/common/include/linux/pci.h > @@ -1500,4 +1500,11 @@ pci_irq_vector(struct pci_dev *pdev, unsigned int vector) > return (-ENXIO); > } > > +static inline int > +pci_wake_from_d3(struct pci_dev *pdev, bool enable) > +{ > + This smells like it wants a pr_debug so someone will see that it needs implementation if needed in the future and not find it through debugging by accident. > + return (0); > +} > + > #endif /* _LINUXKPI_LINUX_PCI_H_ */ > -- Bjoern A. Zeeb r15:7 --1098556516-676172882-1738353762=:2254--