From nobody Thu Apr 30 07:18:31 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 4g5lrl5ThTz6bCcN for ; Thu, 30 Apr 2026 07:18: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" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g5lrl2cGKz3p3b for ; Thu, 30 Apr 2026 07:18:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777533511; 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=dJOZlLw09Dyei2rf6LSnhJoogFAldnrKjgIQpG6/9N4=; b=efHSIAts9HERxUa1ClhrBvQjw7qhCdFE8u68BZ19zYhcTelolr8gIWxTB+2Egwo20TQDZc woHxfmdoXm56F9VdaGkVwwPxUeS8NPzIYiMoh+p6pNjlEAQ5lrbXUFYIvPB90cY9y03TIL i8grV4rkp/+xq+utHMe2Gsx+r0nKdbIiCVr47sfjDr7Xc7mm/hKWSFY1vUAFfRuFaVq5O1 8T8minwWOuJdFASpzZvMAx75jQrN6Keg0nRqHByOfXp9AJIoLITpuwhPEGDZ7kVyJeRHA/ +rp+Iol6Gh092WDzzByVM/7rKtazuRm2049F42iD3QfNhwS5eWHiIx9XFAdiCQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777533511; a=rsa-sha256; cv=none; b=GzmzP8UCwhOIZApslHYAWP8hQwe3SaEY+D7XDRGtoRp32N+MP/ev11wTwHLAf6lzOwv7a5 5c+41480r+8oVAywhyfwzZKHnWjAfBHSa0x7CbGrJNyIT9BY671Wi/j+Vg9kTkHPmctMMA y7BsTGzm9xAo9J3N/eJAXvPXjZllGRV1FoRmNZWwcybRAyChm8jNjNG3hFRZhsVmbOO2w/ PzivhY5Cbm7RMlTNICa1y69vspQnTb4vrcJn53cvcZ2MmA/7Kl5QO44wgDeQgPe9u9an4D ne04AwGbBJy6hcogB5RqtZ0P22euQh/h7ilwEEBf+kDrX2kRqrixdklXOluXIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777533511; 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=dJOZlLw09Dyei2rf6LSnhJoogFAldnrKjgIQpG6/9N4=; b=rHdWs54qeGsDXjAhSaSW17YWzSoRXNvQ6jY0ZiKy7Wh09Lx52w7yZcOy3Vo9fU6A1fUNc/ S2TYWg4o6D1ciTK6KEBkORK6joV8KiLcC4p3MWwYqQLmAjj1ETZLgPo15TF/jN7vnzBV9j 6N8GdyseyzH5QxOwKX3GDNNb3ssGKA1v16tGWlZ+6uS1BysfzqbUhEKF11971n6IcXzftv Q416sAvucAnSUT2ccEZF5hqJLrXkEPM6+dLKCWSlmPrTcVDyuMiRR4QxAlVaUATPCrixMu Fr0NflUIzeianFScwQZVBwo89+tQ7EbWmjPxKL/T93aqzIOdlCtcbAPt5L2LKA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4g5lrl21T1z1GCh for ; Thu, 30 Apr 2026 07:18:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 347be by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 30 Apr 2026 07:18:31 +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: 713b4ce8ef46 - main - linuxkpi: Add `copy_from_user_inatomic_nontemporal()` function 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: 713b4ce8ef46d7df4ffe50ab6733bb128dbe3cbd Auto-Submitted: auto-generated Date: Thu, 30 Apr 2026 07:18:31 +0000 Message-Id: <69f30247.347be.7ccf593c@gitrepo.freebsd.org> The branch main has been updated by dumbbell: URL: https://cgit.FreeBSD.org/src/commit/?id=713b4ce8ef46d7df4ffe50ab6733bb128dbe3cbd commit 713b4ce8ef46d7df4ffe50ab6733bb128dbe3cbd Author: Jean-Sébastien Pédron AuthorDate: 2026-04-29 22:14:59 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2026-04-30 07:05:02 +0000 linuxkpi: Add `copy_from_user_inatomic_nontemporal()` function In Linux 7.1, `__copy_from_user_inatomic_nocache()` was renamed to `copy_from_user_inatomic_nontemporal()`. This change was backported to several LTS branches. This includes Linux 6.12.x and the i915 DRM driver started to use it in that version. Reviewed by: bz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D56719 --- sys/compat/linuxkpi/common/include/linux/uaccess.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/uaccess.h b/sys/compat/linuxkpi/common/include/linux/uaccess.h index 660e84e6af3b..97fb2e3a7420 100644 --- a/sys/compat/linuxkpi/common/include/linux/uaccess.h +++ b/sys/compat/linuxkpi/common/include/linux/uaccess.h @@ -111,5 +111,12 @@ __copy_from_user_inatomic(void *to, const void __user *from, } #define __copy_from_user_inatomic_nocache(to, from, n) \ __copy_from_user_inatomic((to), (from), (n)) +/* + * __copy_from_user_inatomic_nocache() was renamed to + * copy_from_user_inatomic_nontemporal() in Linux 7.1. The change was + * backported to at least several LTS branches. + */ +#define copy_from_user_inatomic_nontemporal(to, from, n) \ + __copy_from_user_inatomic((to), (from), (n)) #endif /* _LINUXKPI_LINUX_UACCESS_H_ */