From nobody Thu Feb 16 11:56:38 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 4PHYMB6VGjz3q5bS; Thu, 16 Feb 2023 11:56:38 +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 4PHYMB5sbzz4Bt5; Thu, 16 Feb 2023 11:56:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548598; 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=WTr4SYXLC1c2gHub5i8dkPAVU5/BNhP1FVNxn7NtIBk=; b=C7+v4QKGAK8dGo42igmyI18a058pv94M7eFetPiDPsVpXdfBceKxUyMhcX07N8Md1x/1+h Zh/1VFuRpeAHKNfB0OifbmTWRR90csVkfx0WQ958dj71vW8b3LVy5lZKsZqpkYJYqnxPOZ AE3tnCW1QGe10i+lZzUo5RkoO2JXCFebXP/P68z+g+Sl5xoaFm08a1RWxRHe9pjiVmsLgc OKbFpEvlAipI3JWPalqwIx8Ls4eIX5NwDX1/UAXIORF2G8a2ttSpnboC3+hqT3elGoo4tk RxC98oI57C9pWppttvTDR4EJ2FXsGG+kfEZGWLIxzHstUQ0hQmRB8SvVlVGOYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548598; 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=WTr4SYXLC1c2gHub5i8dkPAVU5/BNhP1FVNxn7NtIBk=; b=yxY2HmKVBtlKec7kAv/3xpfxHmmBKckYTcMM2CyCLPXp36btd+LlYqUMvKfM/jDbfAdn76 smBdvjzCKd1koh2pWdBoS6mfhAkqcuorcCn5Q/Bj0jbY2KwlzXMXX/ZMsRgTxkRI2/AYWE BsEWd9y0uuGU81PFtI2cFCrs1hwlDMPzEW6h9+LDwlohizW9zk9DNf3i1N250EXBSB+O0l 6AaK88Jj+Pmb2pGeObZn/ZDEeX/9rC0aryRiseh7xFX+n9rUYgUSAPgE7ZPG0z8XKfZ8Ci D0Ou/VAkNS23noZvz0/gyFcSraiISyH2h6cAbFUiPKKjxnXYi5KlHznHhK4Kyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676548598; a=rsa-sha256; cv=none; b=hJj1EkfosG1BpaOvanrIi1Q8h4wDBMpzAMFKYCtSMQTOYVbFYtvbA7s1LbmhRH8UUcXRTI 6ZAN10WLIqbG3l/2sktsMR+GSo24YUsj4VaAN9V34pibbl5xDhqw5VsAJITMFm5qwWHpTI /3N5XatawSj6GxmVzgjOsPG04eXDh04QOWTiUbsB88GU6WP2DOJLiAgtgUHVomhlAkyagg F2GYSzifGvqfM+v8hP7g8eXcLGcO0C3RKrrqCvxHqpOw1O+wLSwRKTxBPq3sCaapneS0Nq IhBVxQCfSbj1fy+vrqaw7+IEb0cn6vQPgu3Pr402eWzUgSXhyQ9xBv6esMTKXw== 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 4PHYMB4x3wz137l; Thu, 16 Feb 2023 11:56:38 +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 31GBucPj056492; Thu, 16 Feb 2023 11:56:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31GBucqx056491; Thu, 16 Feb 2023 11:56:38 GMT (envelope-from git) Date: Thu, 16 Feb 2023 11:56:38 GMT Message-Id: <202302161156.31GBucqx056491@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: 19b261f1788d - stable/13 - linuxkpi: Add 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: 19b261f1788da0037d76188ae3152b301eb47d81 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=19b261f1788da0037d76188ae3152b301eb47d81 commit 19b261f1788da0037d76188ae3152b301eb47d81 Author: Jean-Sébastien Pédron AuthorDate: 2023-02-14 21:44:21 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-02-16 11:55:21 +0000 linuxkpi: Add It defines the `cc_platform_has()` function. Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38596 (cherry picked from commit 96e16cf368f6d8aa3c0efd44db4c4678892e1fea) --- sys/compat/linuxkpi/common/include/linux/cc_platform.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/cc_platform.h b/sys/compat/linuxkpi/common/include/linux/cc_platform.h new file mode 100644 index 000000000000..727dbc98dab2 --- /dev/null +++ b/sys/compat/linuxkpi/common/include/linux/cc_platform.h @@ -0,0 +1,17 @@ +/* Public domain. */ + +#ifndef _LINUXKPI_LINUX_CC_PLATFORM_H_ +#define _LINUXKPI_LINUX_CC_PLATFORM_H_ + +enum cc_attr { + CC_ATTR_MEM_ENCRYPT, +}; + +static inline bool +cc_platform_has(enum cc_attr attr __unused) +{ + + return (false); +} + +#endif /* _LINUXKPI_LINUX_CC_PLATFORM_H_ */