Date: Mon, 2 Aug 2021 08:26:33 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Charlie Li <vishwin@freebsd.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 469884cf04a9 - main - LinuxKPI: Make FPU sections thread-safe and use the NOCTX flag. Message-ID: <b1d05598-cd28-6e1a-f802-7ce1d96204d8@selasky.org> In-Reply-To: <f13ec61e-ca85-56ab-2c77-b806fdc84f4b@freebsd.org> References: <202107311338.16VDcaSh006994@gitrepo.freebsd.org> <f13ec61e-ca85-56ab-2c77-b806fdc84f4b@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/1/21 12:32 PM, Charlie Li wrote: > Hans Petter Selasky wrote: >> commit 469884cf04a9b92677c7c83e229ca6b8814f8b0a >> Author: Hans Petter Selasky <hselasky@FreeBSD.org> >> AuthorDate: 2021-07-31 13:32:52 +0000 >> Commit: Hans Petter Selasky <hselasky@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b1d05598-cd28-6e1a-f802-7ce1d96204d8>