git: 469884cf04a9 - main - LinuxKPI: Make FPU sections thread-safe and use the NOCTX flag.

Charlie Li vishwin at freebsd.org
Sun Aug 1 10:32:44 UTC 2021


Hans Petter Selasky wrote:
> commit 469884cf04a9b92677c7c83e229ca6b8814f8b0a
> Author:     Hans Petter Selasky <hselasky at FreeBSD.org>
> AuthorDate: 2021-07-31 13:32:52 +0000
> Commit:     Hans Petter Selasky <hselasky at FreeBSD.org>
> CommitDate: 2021-07-31 13:36:48 +0000
> 
>     LinuxKPI: Make FPU sections thread-safe and use the NOCTX flag.
>     
>     Reviewed by:    kib
>     Submitted by:   greg at unrelenting.technology
>     Differential Revision:  https://reviews.freebsd.org/D29921
>     MFC after:      1 week
>     Sponsored by:   NVIDIA Networking
> ---
>  sys/compat/linuxkpi/common/include/asm/fpu/api.h | 40 ++++------------------
>  sys/compat/linuxkpi/common/include/linux/sched.h |  3 +-
>  sys/compat/linuxkpi/common/src/linux_fpu.c       | 43 ++++++++++++++++++------
>  sys/conf/files.amd64                             |  3 --
>  sys/conf/files.arm64                             |  4 ---
>  sys/conf/files.i386                              |  3 --
>  sys/modules/linuxkpi/Makefile                    |  3 +-
>  7 files changed, 43 insertions(+), 56 deletions(-)
> 
i915kms from drm-kmod, while successfully built against the commit after
(__FreeBSD_version bump), fails to load on that same commit:

link_elf_obj: symbol lkpi_kernel_fpu_begin undefined
linker_load_file: /boot/modules/i915kms.ko - unsupported file type

-- 
Charlie Li
…nope, still don't have an exit line.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/dev-commits-src-all/attachments/20210801/fb8432be/attachment.sig>


More information about the dev-commits-src-all mailing list