From nobody Wed Jan 25 21:39:00 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 4P2HKJ4Rsbz3bW9p; Wed, 25 Jan 2023 21:39:00 +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 4P2HKJ425bz40pp; Wed, 25 Jan 2023 21:39:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674682740; 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=P5isMDjD7JcBIVQVEtE0uX63K+MN8Z+wR8ygvxN3WeA=; b=hzOQ5t4uxc8e986Gp+8npie1T4Vte7sF4R7U3tNHCWd/Qn9C2R6zx80pz7r6e+g9p5QjaR exJnBO+A4M3I+gazlvdYMpgU9YtNr4ZPO34INdw6w7HbSxN0n+M7kr86m+LyDGV5sf6eHY 8++UnjaRXkixMVHTHfb6K0b78Dsmhka+Hz7alUvKm2EAlObYfDg6CBHaZqvC3O+yBfaoDF t7TseGI3WN7N115Oj/knBcnGNFdb9xdV5BK/Fs1yOv9uNcHmXgj3gIorgKkfC9gjPBnV6M iL8ox8xRm3yGfTCxHsMumSE6KyX4TK3uegTZMnzofe/Ij/IL7ylKl93Ii4pwsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674682740; 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=P5isMDjD7JcBIVQVEtE0uX63K+MN8Z+wR8ygvxN3WeA=; b=xMoQBx9EccnCPjmDSV3PXhbh9mxqM1CVHykyEyJB4XZ6GFWBTZ1tvrrlf8xnLa9q0LIVf8 z5RrtBU1Sg1B3ZjjWO0u0kiClkU5Dn4ER7ZmEso3KGaqItVXzBRWJQDSZs1uqu9cVHfLFS DBhQwFYQsCDBO1TfomlGBAFPd6lvZ7zNphRm7YYwFr6KBaWvgsj2BHPbbqspbNktKnXksq cceFXXWE34UgKxp/hkbniMJzinTnftUmelMzRfL3zYHPn83JM9+aYYfYqpoaygS9+UajXx vN2gtMau0fbSzRO1OL44jVf5/3PgHuzOF8iWPsGjCSgAiBPGja5l+EkFIq4VtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674682740; a=rsa-sha256; cv=none; b=cdP4/xpNFbQ701pObsPMDwuFibh8+RD7W7A9mEZ9bDq7yIzg/Et9JGKwX8XefYMYmk/UW4 isOfIOcftoh/+/xrMLTIuVnUTbRZYuWkAY0INge6v+DHOZJUJJZ+hm/CkIBy3esfVLbjTy rlZELnaH2kDNSaHE98jwOShX5NkqQz7X56+steIZ9KM2/qnrevZCcyhCo8s8cenJivZ8I/ lgmN2r9//Rxx8GCBcLAshmodUGX6baCG493dsvF1tTtcDi5lNVQRW/GKabhGdhqDOv+qDE SM+xaTmm4+aAS0SfYophZwOLnVFisDeWahbWvDf2G4+Y9NFUyTUePQR8vnTKsw== 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 4P2HKJ2wY1z14Wk; Wed, 25 Jan 2023 21:39:00 +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 30PLd0rd007531; Wed, 25 Jan 2023 21:39:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30PLd0ww007530; Wed, 25 Jan 2023 21:39:00 GMT (envelope-from git) Date: Wed, 25 Jan 2023 21:39:00 GMT Message-Id: <202301252139.30PLd0ww007530@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: 270a13348065 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 270a13348065ebf2f02fbf88a02d42fa63a245fc Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=270a13348065ebf2f02fbf88a02d42fa63a245fc commit 270a13348065ebf2f02fbf88a02d42fa63a245fc Author: Jean-Sébastien Pédron AuthorDate: 2023-01-11 22:23:35 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-01-25 21:26:53 +0000 linuxkpi: Add `pm_suspend_via_firmware()` Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38084 --- 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_ */