From nobody Wed Sep 07 15:09: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 4MN5K32MSZz4cd53; Wed, 7 Sep 2022 15:09:59 +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 4MN5K31vsrz3XTC; Wed, 7 Sep 2022 15:09:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662563399; 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=8YNgnzH8KNC6bCAUphvdWCTAhwgelCMxKDkCT6LdJD0=; b=CrgA+KHO5XxbgWuW+vltD8z27V5vUDv53O9qKYlGbiXfBM3K/DHCp/430ciiRQYULC5/Zp /QUWTZTIp6JapkT7NjZtfNI8dSR8YTP6yLNXsi0VFhuFovS3guVl6tJOAlVskYRpIKOOeA CyMpsK0Rrtjr1lbiuYhwc8RA12pqpLdKTkKslV6imhuYUvS7qHEZ0MOo6LoJUabs07ELsV 5n8svBdw0b5W3lh9JQB4VJkDAtx4jiRj818gNOBNKsBbZ0jsgCRPA8TDFBIf3bmTTNse3L aLWsEIwTEykwsAKxH5utBLayAECLu94HDPRuxwRh2okpdyYQA954BF45K/XMAQ== 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 4MN5K311CLzZ2N; Wed, 7 Sep 2022 15:09: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 287F9xfM017290; Wed, 7 Sep 2022 15:09:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 287F9xw5017289; Wed, 7 Sep 2022 15:09:59 GMT (envelope-from git) Date: Wed, 7 Sep 2022 15:09:59 GMT Message-Id: <202209071509.287F9xw5017289@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: 084a0da43e30 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 084a0da43e305f50c73318b4adae20e00d17f5b9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662563399; 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=8YNgnzH8KNC6bCAUphvdWCTAhwgelCMxKDkCT6LdJD0=; b=tNuFtC5g7QnvERbSkrSB9VyMDx7dsDaquRyvQwrRI1I43fQB83YIhqIw35V+cYyTdXRlqJ 1pfW3q83QO9V2H6NDYP2v3k19XdUQHtwAKcIQTH68PM5iVvqE1tVdW4UcUs8yvBhoBgq90 FnGDY2bwc3R4huwV8Ow8kHnWoekzOsANj29sUdyBGHIfV8XHZnjw+BWR8/DbPn2lm7GFKU eLKGAWVGn91karaDEUv2TwEdWSIZIi75qOECxFLoE7TLBTqZXorJ8h/t23r0ARo0mE5w4V BsGCWdRhAEL1XwQBcE9H4Im3XhHM9ssubxYXyXXKF0a6KXtn2nQm4IUr2L8bIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662563399; a=rsa-sha256; cv=none; b=rzmVb3PdyRPUjvM1cXKDf0lI+5QNyPKVBfjGGGrO29abh+7owng6ZTciN7L5S15AO05/Je bC0IJyoKKjlDdPVR+rRhxyb0kZpzpubGzjzfU7qQdd+MNB9ftO8eKckIQnI/Ql3dZDPz5A zUpIzCFgIR88flS5qAyIoKtB1TedvTQPz6tqxdYhRF3IL/9ke4Mf3esMbtoaNa9c/MPIaz 2uKTb3m7Yvf5Pn85vNjXiNdDnFqsasVGX4W6yN7DDqsS1A9LOUs43WLtLnN5j8H+RklKWD VmLKB7t1Z8mzgo8ffwYVSNpJQNmOejecewzCdPdFI9Pyc6A4CKGAk9TqPCYAPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=084a0da43e305f50c73318b4adae20e00d17f5b9 commit 084a0da43e305f50c73318b4adae20e00d17f5b9 Author: Emmanuel Vadot AuthorDate: 2022-06-23 08:12:27 +0000 Commit: Emmanuel Vadot CommitDate: 2022-09-07 15:09:02 +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 (cherry picked from commit 137e91dbf68969ffb1762286889e2e22dd8d1118) --- 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_ */