git: 91aae953cb80 - main - amd64: clear PSL.AC in the right frame

Bjoern A. Zeeb bz at FreeBSD.org
Tue May 25 21:57:15 UTC 2021


On Tue, 25 May 2021, Konstantin Belousov wrote:

> The branch main has been updated by kib:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=91aae953cb807d6fb7a70782b323bf9beb60d7c9
>
> commit 91aae953cb807d6fb7a70782b323bf9beb60d7c9
> Author:     Konstantin Belousov <kib at FreeBSD.org>
> AuthorDate: 2021-05-22 19:48:36 +0000
> Commit:     Konstantin Belousov <kib at FreeBSD.org>
> CommitDate: 2021-05-25 15:20:46 +0000
>
>    amd64: clear PSL.AC in the right frame
>
>    If copyin family of routines fault, kernel does clear PSL.AC on the
>    fault entry, but the AC flag of the faulted frame is kept intact.  Since
>    onfault handler is effectively jump, AC survives until syscall exit.
>
>    Reported by:    m00nbsd, via Sony
>    Reviewed by:    markj
>    Sponsored by:   The FreeBSD Foundation
>    admbugs:        975

I am getting this when trying to build LINT kernels on head/amd64:

linking kernel
ld: error: undefined symbol: CPUID_STDEXT_SMAP
>>> referenced by linux32_support.o:(.text+0x6)

and also people report that linux*.ko are no longer loading for
similar reasons (as follow-up to my
d72cd275187c6399caf0ca4125292dc7e55fa478 Bump __FreeBSD_version to
1400015 ..; see there).


Can you please have a look?

/bz

-- 
Bjoern A. Zeeb                                                     r15:7


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