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

Hans Petter Selasky hps at selasky.org
Mon Aug 2 06:26:52 UTC 2021


On 8/1/21 12:32 PM, Charlie Li wrote:
> 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
> 

Should be fixed by:
https://cgit.freebsd.org/src/commit/?id=9340ebd404efad7068b5a45fd3b3d8bb21187b91


--HPS


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