<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/arm, branch releng/13.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-01-18T20:14:56Z</updated>
<entry>
<title>uart(4): Honor hardware state of NS8250-class for tsw_busy</title>
<updated>2024-01-18T20:14:56Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2024-01-12T22:27:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e7fe996990a8bdb13632a5137731dc57549f05be'/>
<id>urn:sha1:e7fe996990a8bdb13632a5137731dc57549f05be</id>
<content type='text'>
In 9750d9e5, I brought the equivalent of the TS_BUSY flag back in a
mostly hardware-agnostic way in order to fix tty_drain() and, thus,
TIOCDRAIN for UARTs with TX FIFOs. This proved to be sufficient for
fixing the regression reported. So in light of the release cycle of
FreeBSD 10.3, I decided that this change was be good enough for the
time being and opted to go with the smallest possible yet generic
(for all UARTs driven by uart(4)) solution addressing the problem at
hand.

However, at least for the NS8250-class the above isn't a complete
fix as these UARTs only trigger an interrupt when the TX FIFO became
empty. At this point, there still can be an outstanding character
left in the transmit shift register as indicated via the LSR. Thus,
this change adds the 3rd (besides the tty(4) and generic uart(4) bits)
part I had in my tree ever since, adding a uart_txbusy method to be
queried in addition for tsw_busy and hooking it up as appropriate
for the NS8250-class.

As it turns out, the exact equivalent of this 3rd part later on was
implemented for uftdi(4) in 9ad221a5.

While at it, explain the rational behind the deliberately missing
locking in uart_tty_busy() (also applying to the generic sc_txbusy
testing already present).

(cherry picked from commit 353e4c5a068d06b0d6dcfa9eb736ecb16e9eae45)
</content>
</entry>
<entry>
<title>identcpu: Let the hw.model be readable in capability mode</title>
<updated>2024-01-11T14:33:16Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-01-04T13:26:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=337b2a037299915af419723fc57d7d6d46bd5e1e'/>
<id>urn:sha1:337b2a037299915af419723fc57d7d6d46bd5e1e</id>
<content type='text'>
On some platforms this static information can be derived directly from
the CPU, and there doesn't seem much use in restricting it.

Reviewed by:	emaste, imp, kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43281

(cherry picked from commit 0aba5dd2af57ea3ae90eb49d7745c4c5b6f0ab6b)
</content>
</entry>
<entry>
<title>sys/*/conf/*, docs: fix links to handbook</title>
<updated>2024-01-10T03:07:46Z</updated>
<author>
<name>Ceri Davies</name>
<email>ceri@FreeBSD.org</email>
</author>
<published>2021-05-20T08:26:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=677a7402cea46eb253a241b443471ab072e2b6a7'/>
<id>urn:sha1:677a7402cea46eb253a241b443471ab072e2b6a7</id>
<content type='text'>
While here, fix all links to older en_US.ISO8859-1 documentation
in the src/ tree.

PR:             255026
Reported by:    Michael Büker &lt;freebsd@michael-bueker.de&gt;
Reviewed by:    dbaio
Differential Revision: https://reviews.freebsd.org/D30265

(cherry picked from commit c1a148873d6488f1dac1cfb207a5927cef89888e)
</content>
</entry>
<entry>
<title>thread: Add a return value to cpu_set_upcall()</title>
<updated>2024-01-02T01:12:45Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2023-12-26T01:39:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bcced8754840857be3fe86540de796db4832fe5b'/>
<id>urn:sha1:bcced8754840857be3fe86540de796db4832fe5b</id>
<content type='text'>
Some implementations copy data to userspace, an operation which can in
principle fail.  In preparation for adding a __result_use_check
annotation to copyin() and related functions, let implementations of
cpu_set_upcall() return an error, and check for errors when copying data
to user memory.

Reviewed by:	kib, jhb
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43100

(cherry picked from commit 7b68fb5ab2a276ccd081cc1a43cebf0fb315e952)
</content>
</entry>
<entry>
<title>arm: Update declarations for arm_dcache_align{,_mask}</title>
<updated>2023-12-21T13:40:09Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2023-11-02T16:23:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8626f6da9a21c14546ea11c1e9ddf23923bf5470'/>
<id>urn:sha1:8626f6da9a21c14546ea11c1e9ddf23923bf5470</id>
<content type='text'>
Reported by:	Jenkins
Fixes:		3d8f548b9e57 ("uma: Make the cache alignment mask unsigned")

(cherry picked from commit 185aa8c9c3d7a01d616cfaafd492f61b37ed2551)

Approved by:    markj (mentor)
</content>
</entry>
<entry>
<title>uma: Make the cache alignment mask unsigned</title>
<updated>2023-12-21T13:39:53Z</updated>
<author>
<name>Olivier Certner</name>
<email>olce.freebsd@certner.fr</email>
</author>
<published>2023-10-13T12:49:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9121202fcb27e981bc4d2a7695fbba463361df93'/>
<id>urn:sha1:9121202fcb27e981bc4d2a7695fbba463361df93</id>
<content type='text'>
In uma_set_align_mask(), ensure that the passed value doesn't have its
highest bit set, which would lead to problems since keg/zone alignment
is internally stored as signed integers.  Such big values do not make
sense anyway and indicate some programming error.  A future commit will
introduce checks for this case and other ones.

Reviewed by:            kib, markj
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D42262

(cherry picked from commit 3d8f548b9e5772ff6890bdc01f7ba7b76203857d)

Approved by:    markj (mentor)
</content>
</entry>
<entry>
<title>arm: Simplify get_cachetype_cp15()</title>
<updated>2023-12-21T13:39:43Z</updated>
<author>
<name>Olivier Certner</name>
<email>olce.freebsd@certner.fr</email>
</author>
<published>2023-10-13T12:22:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f056e19abe20d14234e24d927a847ea6e2a90c42'/>
<id>urn:sha1:f056e19abe20d14234e24d927a847ea6e2a90c42</id>
<content type='text'>
There's no point in setting 'arm_dcache_align_mask' before the
function's end.

Reviewed by:            markj, kib
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D42261

(cherry picked from commit 1bce6f951a902f03bfb354f5b11473a0d12b3d7d)

Approved by:    markj (mentor)
</content>
</entry>
<entry>
<title>uma: Hide 'uma_align_cache'; Create/rename accessors</title>
<updated>2023-12-21T13:39:26Z</updated>
<author>
<name>Olivier Certner</name>
<email>olce.freebsd@certner.fr</email>
</author>
<published>2023-10-13T09:52:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=56c53cc8fb3edaed82678440da5cf8e0dc482d03'/>
<id>urn:sha1:56c53cc8fb3edaed82678440da5cf8e0dc482d03</id>
<content type='text'>
Create the uma_get_cache_align_mask() accessor and put it in a separate
private header so as to minimize namespace pollution in header/source
files that need only this function and not the whole 'uma.h' header.

Make sure the accessors have '_mask' as a suffix, so that callers are
aware that the real alignment is the power of two that is the mask plus
one.  Rename the stem to something more explicit.  Rename
uma_set_cache_align_mask()'s single parameter to 'mask'.

Hide 'uma_align_cache' to ensure that it cannot be set in any other way
then by a call to uma_set_cache_align_mask(), which will perform sanity
checks in a further commit.  While here, rename it to
'uma_cache_align_mask'.

This is also in preparation for some further changes, such as improving
the sanity checks, eliminating internal resolving of UMA_ALIGN_CACHE and
changing the type of the 'uma_cache_align_mask' variable.

Reviewed by:            markj, kib
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D42258

(cherry picked from commit dc8f7692fd1de628814f4eaf4a233dccf4c92199)

Approved by:    markj (mentor)
</content>
</entry>
<entry>
<title>busdma: emit a warning for use of filters</title>
<updated>2023-12-07T00:22:19Z</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2023-12-04T15:46:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7fd0973775aa9a293739afa0c5068f77ba88cb17'/>
<id>urn:sha1:7fd0973775aa9a293739afa0c5068f77ba88cb17</id>
<content type='text'>
Filter functions are deprecated, and unused in the tree. If either of
the filter or filterarg arguments to bus_dma_tag_create() are non-NULL,
print a warning.

This is a direct commit to stable/13.

Reviewed by:	jhb
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D42897
</content>
</entry>
<entry>
<title>Add cpu_sync_core()</title>
<updated>2023-10-26T04:07:29Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-10-07T21:57:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef71fbf692af963b1a4fa072e88d0d1256f1f897'/>
<id>urn:sha1:ef71fbf692af963b1a4fa072e88d0d1256f1f897</id>
<content type='text'>
(cherry picked from commit 74ccb8ecf6c115a79f008bc32d4981f1126b63a8)
</content>
</entry>
</feed>
