From nobody Thu Feb 16 11:55:45 2023 X-Original-To: dev-commits-src-all@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 4PHYL92pfnz3q5cX; Thu, 16 Feb 2023 11:55:45 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PHYL92KQ3z47x1; Thu, 16 Feb 2023 11:55:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548545; 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=9Jaa7Xt2oFo865rfsJ0fAK8ERJO/1AVPqUux6jBidB4=; b=JOqe5zaak+UYSwgdM47DiqRbsO5yy9jmrWWVM9iAbQY/2xHstAndmF2acznK056roBKEcm fWI7EK5z5qAV4KeM21ppvKJ9nd2RraoCx8wTCbTt021gyf7XZQGP783Z8Ieqel7DWof9ev dFlYifLXSNYC3Ll0Q+rHjsEMU1H7f8n3k96YX4cJnSMEoW4sXYTSc961FWeXWomoUZO5wA 6XEx3vBTgjr7BTahC2XFZpXNDkbFvRiRTNWn3UvCvZ3ddd+UPgPY5R4FP3N6vozsgeSXte U5enMXVpdua/zzPS59ohuBR/e5AuZyl+1dSV/dRN+RIrhkWLVPbhhralz7oySw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548545; 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=9Jaa7Xt2oFo865rfsJ0fAK8ERJO/1AVPqUux6jBidB4=; b=xvQ5EdMcymoforZ+Yl0PZAxam+2p92uHbgkJx7GvKVr0CKKlAkBnxXw9JX+W+t8EUtzJ8c KwY7htlRYaZ1Nn+956BvgY0Ekxc9mtz/GEygA+uBkzU3aCJ3p+BRIfTfZDzlHce9lrLAcV zxDCkzHvQxu0E+pEPr2zSLNB1gf3GhCK76gOaiaPofS2y+8aS80uqYavzWqGHR4Rizda8g /fJBpWU+bVAVyjmKWEOcxoDEZgeoDUEjV8olmeqcnspHNQbvFCWq3H04TVFbTqShI8Ay7c WVlRzR64ChI6VFpr4m3s/PPZZFtRYiP2ObzQ7bR/5ldmPJExjq8/kEiId9EppQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676548545; a=rsa-sha256; cv=none; b=OvwUqsxCeLDXEHReMhqCKntNYNjShOkYY19C8wcUz9k9Z7y1laIQ/Y1ahKkxM/bVbdyxFL RiSIEYdidEhfsldEMHDuED07GsBm3ekcV1/0qG3rbAwQfKEYXRECssQiGviGUFzTYv1GJP kttN+MffZDlqx8LjZoVCCCjaIOzX3ox3Kr+ATV6RBV+S7g86PxbOpK0C82iRxGdjwsZgGv Uy/qbrkw8rpHF6saJrXpyQcSkQGb/mARV2oj/hmWtbyAf1ONNzZZ0pAyiBJkWGn/Z+yuj7 hKmWspnLsPTDwuNZxfR5K/wqjBybOVaY9vFuqVUazlOCBMIkLdgk1VSJPqdmxg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PHYL91PSBz12tg; Thu, 16 Feb 2023 11:55:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31GBtjqT055025; Thu, 16 Feb 2023 11:55:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31GBtjfF055024; Thu, 16 Feb 2023 11:55:45 GMT (envelope-from git) Date: Thu, 16 Feb 2023 11:55:45 GMT Message-Id: <202302161155.31GBtjfF055024@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: b813eb15d5b0 - stable/13 - linuxkpi: Add `pm_suspend_via_firmware()` List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b813eb15d5b07fc5e2e226056c995d3cc08f4160 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=b813eb15d5b07fc5e2e226056c995d3cc08f4160 commit b813eb15d5b07fc5e2e226056c995d3cc08f4160 Author: Jean-Sébastien Pédron AuthorDate: 2023-01-11 22:23:35 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-02-16 11:55:12 +0000 linuxkpi: Add `pm_suspend_via_firmware()` Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38084 (cherry picked from commit 270a13348065ebf2f02fbf88a02d42fa63a245fc) --- sys/compat/linuxkpi/common/include/linux/suspend.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/suspend.h b/sys/compat/linuxkpi/common/include/linux/suspend.h new file mode 100644 index 000000000000..5c15b0619bd0 --- /dev/null +++ b/sys/compat/linuxkpi/common/include/linux/suspend.h @@ -0,0 +1,12 @@ +/* Public domain. */ + +#ifndef _LINUXKPI_LINUX_SUSPEND_H_ +#define _LINUXKPI_LINUX_SUSPEND_H_ + +static inline int +pm_suspend_via_firmware() +{ + return 0; +} + +#endif /* _LINUXKPI_LINUX_SUSPEND_H_ */