From nobody Mon Jan 5 20:09:30 2026 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 4dlQPR2Z14z6N038 for ; Mon, 05 Jan 2026 20:09:31 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dlQPR0L7vz3R0m for ; Mon, 05 Jan 2026 20:09:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767643771; 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=j0vH5CVOtq0C8LpH0nK1EWSq8FzkbXtRFU3Hq/tZznk=; b=acq1McJSxy0ApTiT1E4fW+6/PG2JlwmfgjVF2BLmAY6V2LLEXIN5wtNxo4bUPr//7Ie0b3 F0gKOAhBtzbE/X6LnafRRiYwS5pXLk2Ys3eSAfqAOrtlhL4MfmDgzpc07V6HKb0BZiLJUE bWZZtnR6s3sXob+T20RWaQbWExEsQswJR7T76hnylA1wEZ0a1ECFRCgO/nuZ1lWA91nF5F dlfJ3YTuudMLT5pV20l2ny0CyVkUuExvNv1em/zRK7plmjEoOm0aGc+ZGJwok9Yb3xY6OX r5iAo9nTx3xqzVCeFy4qp41NRtUnov4zF1RXy5c7/aIwv4QGbPD+M71dbNuxdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767643771; 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=j0vH5CVOtq0C8LpH0nK1EWSq8FzkbXtRFU3Hq/tZznk=; b=J+JghK9Q394PwGav0Q8QLnd/76TF0PQVTcBe/1NxBhcpsZGv4lQng7TFMrZKZZXC71XbOc +dvjh3sNgnYh3hNue1M/D9slul/VDj/nuB1FCues+n8BzyqunGptPUABc0ipsel0Hu748J t9yxWspQd62sDCVZZ6u4jrt/GmFh4B2vcVfUV/3azqMsZlVtBbb+0B5sr19Xdf1Lidtj8E t/+QL88Sl0kDHho3G7dTt5mg2hVL2dKTnUa1hI1vrKm9Y8PC0BexZeJfCZSGQjo01DLwIg fJBwecvwzSPVjOjjZk11wpwJmaqdty42Ex82Ct5Sd4paoy79Wyo9ZT1Jz1hZdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1767643771; a=rsa-sha256; cv=none; b=h5lwsoGc3rULtdlIpJ3XZL12WS9zpTILe9eHLlImlkYiNMEC+nuOsafPmzL0yjK0MPkegV loaK9W0pmmHm9sIbDbKzDZHYaiV09OnxBYLD1dYMtVqG0TiWz7/GsNr+Y/SP44uuBkkw5a bUTkB23tF04JAPyrWe8l7PlPjCNSEqyuJhXgBFnXLBEZyy7XcvlkNTJj+5IKVjUwA4tc7b CwQtQcgFUA6BzaxG39Txj505wNjYavccl3+r5Ho6OdlfI6QbqsIbJ5mF0FHAh4M6XntGNN FCJiswW5kuvE1PTEmrNx2XV60EU7w54vnpqbYKi6b5BStD3UcZnxoRCn5XfiQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dlQPQ6g9vzbcD for ; Mon, 05 Jan 2026 20:09:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3eff6 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 05 Jan 2026 20:09:30 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jean-=?utf-8?Q?S=C3=A9bast?==?utf-8?Q?ien P=C3=A9?=dron Subject: git: 15f29e1e1978 - main - linuxkpi: Add get_unaligned_le64() 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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: 15f29e1e1978bbc4ed24975ad3666596281076fc Auto-Submitted: auto-generated Date: Mon, 05 Jan 2026 20:09:30 +0000 Message-Id: <695c1a7a.3eff6.4e90c17c@gitrepo.freebsd.org> The branch main has been updated by dumbbell: URL: https://cgit.FreeBSD.org/src/commit/?id=15f29e1e1978bbc4ed24975ad3666596281076fc commit 15f29e1e1978bbc4ed24975ad3666596281076fc Author: Jean-Sébastien Pédron AuthorDate: 2025-09-15 21:40:31 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2026-01-05 19:32:50 +0000 linuxkpi: Add get_unaligned_le64() This function was the only one missing in the `get_unaligned_*()` family. This is going to be used by the imported `linux_siphash.c` in a future commit, which itself is used by DRM drivers starting from Linux 6.10. Reviewed by: bz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54500 --- sys/compat/linuxkpi/common/include/asm/unaligned.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/asm/unaligned.h b/sys/compat/linuxkpi/common/include/asm/unaligned.h index e45846a3b543..6778e9fcede1 100644 --- a/sys/compat/linuxkpi/common/include/asm/unaligned.h +++ b/sys/compat/linuxkpi/common/include/asm/unaligned.h @@ -48,6 +48,13 @@ get_unaligned_le32(const void *p) return (le32_to_cpup((const __le32 *)p)); } +static __inline uint64_t +get_unaligned_le64(const void *p) +{ + + return (le64_to_cpup((const __le64 *)p)); +} + static __inline void put_unaligned_le16(__le16 v, void *p) {