From nobody Wed Jun 29 07:55:59 2022 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 AE9F28A17D5; Wed, 29 Jun 2022 07:56:01 +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 4LXv0c25B9z4bDl; Wed, 29 Jun 2022 07:55:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656489360; 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=sffkDLETv5F2mweidLzl5xqsKz37RmzMv4/kRWh6B60=; b=BOYuQX+kmEBzSoxEWCH98QHr3/kBZq4Mwova/ogEXL84DCSLf03xSX31NnjcamU4D+9YeU TVLF+d2N9HsRlb14nYjrsZX1jDyvORsCCj87nXPz0B8F0mUmfaZzdHIRxwCiau4qVER40I nYIWSgjk77kvooQBhMyOF0dy8jfbgVWjuGT8nZmwejnlAAxs4xE0BcB9u7FweJqSkR5BWo 2ctyr9zDk3fQVtMCJaMJMxh20Qa9zc/wR/bnoBL6q7RKWqX0va+/6NuII/txSXDviXK5pc 0NmOJvc7QUshtP1/XgO/Z9f22HjDIy5KX2dXKPvfvEcbILSzW5HsFXns7xMtZA== 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 C5AB559BA; Wed, 29 Jun 2022 07:55:59 +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 25T7txBU076468; Wed, 29 Jun 2022 07:55:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25T7txa6076467; Wed, 29 Jun 2022 07:55:59 GMT (envelope-from git) Date: Wed, 29 Jun 2022 07:55:59 GMT Message-Id: <202206290755.25T7txa6076467@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 137e91dbf689 - main - linuxkpi: Add asm/iosfmbi.h 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 137e91dbf68969ffb1762286889e2e22dd8d1118 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656489360; 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=sffkDLETv5F2mweidLzl5xqsKz37RmzMv4/kRWh6B60=; b=bTd+VOFwjlyq0DrWaNWtF//30iqHoPTcmnCNkdq//RdEdyOUaXnpkBWFxYn4yATWTVoVBN xAMDCn+RekS2I1wgVwWr7YnMOYibsnYkKiv5mqhdE1wACLg4ycmSsy0nJAYKJ9dce9R4nk rv8s94sa1wKTqPNWpYCAspWN7UwzL8acDfzS0z7R3MRPv5VVyRgGEQGWSANerz1KV0Hpe0 ocaws0/7k7KbnCxdc2H4v7U3OYguEP3G8t0AmJZ4QG7rHB0sp8T7qAqfLcoXciuVxFBc8D aoA7cys5Y3yGC87xfxuT52FrG6C6WNsOOydMZrMB1MfanUlS78QbEmlYJJdJfg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656489360; a=rsa-sha256; cv=none; b=eXAeIiLKQrDVYy3vRCGU2dmdI3trLZRxsQgvBfUcobiH6JUFl1f/CFG32xGxeeqwUxsKqp ULFSbPSASHoV/BCHgBJAO2qxHZ1stPzIYtyJLtirI9MmMm+vYDVSfc3L5ft95eZrgQr9Y3 wWvOZyz34yCFR3oodkg1A3GWZMAHCwWIuQ2ZrCQemnHXkvQdL66knpwgBZiPRDuy1PZS8g LrQv+HFqXkiV3lDKtgr6hshX2i7Ml2ZEL9wLC7xWVTJucALF52aXMMKmkWfYD4+oRZM5+9 dw8+vmURabr7oLN2VY7q47i2ioANNalCpuqlQx0k+q6xik2ZNyGK6b7XjEhOhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=137e91dbf68969ffb1762286889e2e22dd8d1118 commit 137e91dbf68969ffb1762286889e2e22dd8d1118 Author: Emmanuel Vadot AuthorDate: 2022-06-23 08:12:27 +0000 Commit: Emmanuel Vadot CommitDate: 2022-06-29 07:55:19 +0000 linuxkpi: Add asm/iosfmbi.h Provide dummy functions needed for drm-kmod. Obtain from: OpenBSD (via drm-kmod) MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D35570 --- sys/compat/linuxkpi/common/include/asm/iosf_mbi.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/asm/iosf_mbi.h b/sys/compat/linuxkpi/common/include/asm/iosf_mbi.h new file mode 100644 index 000000000000..a99c9cced6a4 --- /dev/null +++ b/sys/compat/linuxkpi/common/include/asm/iosf_mbi.h @@ -0,0 +1,15 @@ +/* Public domain. */ + +#ifndef _LINUXKPI_ASM_IOSF_MBI_H_ +#define _LINUXKPI_ASM_IOSF_MBI_H_ + +#define MBI_PMIC_BUS_ACCESS_BEGIN 1 +#define MBI_PMIC_BUS_ACCESS_END 2 + +#define iosf_mbi_assert_punit_acquired() +#define iosf_mbi_punit_acquire() +#define iosf_mbi_punit_release() +#define iosf_mbi_register_pmic_bus_access_notifier(x) 0 +#define iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(x) 0 + +#endif /* _LINUXKPI_ASM_IOSF_MBI_H_ */