<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/arm64/linux/linux_sysvec.c, branch release/14.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F14.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F14.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-02-19T13:13:49Z</updated>
<entry>
<title>arm64: Create a Linux view of the ID registers</title>
<updated>2024-02-19T13:13:49Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2023-10-25T12:34:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=082bc380936e68e0fa37b3daa4269dc34c0735a9'/>
<id>urn:sha1:082bc380936e68e0fa37b3daa4269dc34c0735a9</id>
<content type='text'>
When adding support for new hardware extensions we may not want to
enable support for the FreeBSD and Linux ABIs at the same time. To
support this split the Linux ID register and hwcaps so they can be
configured separately.

Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D42372

(cherry picked from commit e6dbc99d47ddb254d75822817592bb82b5ce4d97)
</content>
</entry>
<entry>
<title>arm64: Use the Linux sigframe to restore registers</title>
<updated>2023-11-06T15:12:23Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2023-10-25T09:50:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c21038f55230693b46cef0d900ff4fa90c05fcf6'/>
<id>urn:sha1:c21038f55230693b46cef0d900ff4fa90c05fcf6</id>
<content type='text'>
When returning from a Linux signal use the Linux sigframe to find the
register values to restore.

Remove the FreeBSD ucontext from the stack as it's now unneeded.

PR:		270250
Reviewed by:	dchagin, emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D42360

(cherry picked from commit 070a4ff82a34652d533f9315ae9ad0aa8f1fdeb2)
</content>
</entry>
<entry>
<title>linux(4): Drop the outdated comment, nosys is fine since 39024a89</title>
<updated>2023-10-18T05:52:33Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-10-10T09:20:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=133ada6bff538483f308296ee944aa5ee24954ee'/>
<id>urn:sha1:133ada6bff538483f308296ee944aa5ee24954ee</id>
<content type='text'>
MFC after:		1 week

(cherry picked from commit 03f5bd1e462576838e79145379ce314e2e03e4b3)
</content>
</entry>
<entry>
<title>syscalls: fix missing SIGSYS for several ENOSYS errors</title>
<updated>2023-10-09T03:24:31Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-09-25T16:32:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e0f1021386bd9df6d3510e6fc70572fb157f046f'/>
<id>urn:sha1:e0f1021386bd9df6d3510e6fc70572fb157f046f</id>
<content type='text'>
(cherry picked from commit 39024a89146902ca9aba250130b828ad9aced99d)
</content>
</entry>
<entry>
<title>linux(4): Cleanup includes under arm64</title>
<updated>2023-09-24T10:51:36Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-09-11T18:29:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cce0625cdf4f014b819b1a9665a299f127eae48a'/>
<id>urn:sha1:cce0625cdf4f014b819b1a9665a299f127eae48a</id>
<content type='text'>
No functional changes.

MFC after:		1 week

(cherry picked from commit 027d727d4071435376017d3789fe603a8aec805a)
</content>
</entry>
<entry>
<title>linux(4): Validate exec_setregs on arm64</title>
<updated>2023-09-24T10:51:36Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-09-05T18:19:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e68a2f18b64a0b3b6e17f4a8ada68c6332e14423'/>
<id>urn:sha1:e68a2f18b64a0b3b6e17f4a8ada68c6332e14423</id>
<content type='text'>
The lr register is cleared at the beginning of the _dl_start and _start,
so there is no need to initialize it.
Gnu libc _start takes an rtld_fini pointer in x0 which is set by ld.so
for __libc_start_main, the kernel does not register any atexit pointers.

While here fix whitespaces.

MFC after:		1 week

(cherry picked from commit 20845a6994c548977874d1f413044d43c8474f0a)
</content>
</entry>
<entry>
<title>linux(4): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743</title>
<updated>2023-08-18T10:12:02Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-08-18T10:12:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3460fab5fced39c7ea597cc7de0ebc3e4c88989a'/>
<id>urn:sha1:3460fab5fced39c7ea597cc7de0ebc3e4c88989a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:36Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=685dc743dc3b5645e34836464128e1c0558b404b'/>
<id>urn:sha1:685dc743dc3b5645e34836464128e1c0558b404b</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
</entry>
<entry>
<title>linux(4): Use pwd_altroot() to tell namei() about ABI root path</title>
<updated>2023-05-29T08:16:46Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-05-29T08:16:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fd745e1db6b561900b8e5e9caa4ed05cf15398b3'/>
<id>urn:sha1:fd745e1db6b561900b8e5e9caa4ed05cf15398b3</id>
<content type='text'>
PR:			72920
Differential Revision:	https://reviews.freebsd.org/D40090
MFC after:		2 month
</content>
</entry>
<entry>
<title>linux(4): Rework signal trampoline on Aarch64</title>
<updated>2023-05-14T21:27:31Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2023-05-14T21:27:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d957343f8713a312442a0140b7a7752ed7b2d870'/>
<id>urn:sha1:d957343f8713a312442a0140b7a7752ed7b2d870</id>
<content type='text'>
To avoid clobbering of any registers by the trampoline code use Linux
way to call signal handlers. I.e., we are out from the kernel right into
the signal handler, put return address from the signal handler into the
link register.
The mysterious NOP is required for some unwinders (e.g. libc++) that
unconditionally subtract one from the result of _Unwind_GetIP() in order
to identify the calling function.

MFC after:		1 week
</content>
</entry>
</feed>
