<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2, branch stable/9</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F9</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F9'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2020-08-10T17:35:58Z</updated>
<entry>
<title>MFC r363988:</title>
<updated>2020-08-10T17:35:58Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2020-08-10T17:35:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c60b020b7953b545fcc71b3d27112f31c49b778c'/>
<id>urn:sha1:c60b020b7953b545fcc71b3d27112f31c49b778c</id>
<content type='text'>
Fix clang 11 -Wformat warnings in yp_mkdb:

usr.sbin/yp_mkdb/yp_mkdb.c:91:40: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
                printf("%.*s %.*s\n", (int)key.size, key.data, (int)data.size,
                        ~~~~                         ^~~~~~~~
usr.sbin/yp_mkdb/yp_mkdb.c:92:7: error: format specifies type 'char *' but the argument has type 'void *' [-Werror,-Wformat]
                    data.data);
                    ^~~~~~~~~
</content>
</entry>
<entry>
<title>MFC r362623:</title>
<updated>2020-06-30T15:53:52Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2020-06-30T15:53:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3d13ece4a9f138915e104c318854b1495d373a9d'/>
<id>urn:sha1:3d13ece4a9f138915e104c318854b1495d373a9d</id>
<content type='text'>
Fix copy/paste mistake in kvm_getswapinfo(3)

It seems this manpage was copied from kvm_getloadavg(3), but the
DIAGNOSTICS section was not updated completely. Update the section with
correct information about a return value of -1.
</content>
</entry>
<entry>
<title>MFC r361977: libusb: improve compatibility</title>
<updated>2020-06-16T12:21:55Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-06-16T12:21:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=37b296531c08c1fc8e38ee3e6172dea1ecba5777'/>
<id>urn:sha1:37b296531c08c1fc8e38ee3e6172dea1ecba5777</id>
<content type='text'>
Specifically, add LIBUSB_CLASS_PHYSICAL and the libusb_has_capability API.
Descriptions and functionality for these derived from the
documentation at [0].  The current set of capabilities are all supported by
libusb.

These were detected as missing after updating net/freerdp to 2.1.1, which
attempted to use both.

[0] http://libusb.sourceforge.net/api-1.0/group__libusb__misc.html
</content>
</entry>
<entry>
<title>Adapt merge of r361581 to 9-stable to unbreak kernel compilation.</title>
<updated>2020-06-09T22:15:45Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-06-09T22:15:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=adbe94a5773e71d863c94185977f43d26f6edde8'/>
<id>urn:sha1:adbe94a5773e71d863c94185977f43d26f6edde8</id>
<content type='text'>
This is a direct commit.

Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r361827:</title>
<updated>2020-06-08T09:35:32Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-06-08T09:35:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5751b9b781602c5be8abd93f1a91c964925f84ad'/>
<id>urn:sha1:5751b9b781602c5be8abd93f1a91c964925f84ad</id>
<content type='text'>
USB HID descriptors may push/pop the current state to allow
description of items residing in a so-called union. FreeBSD currently
only supports 4 such push levels.

If the push level is not restored within the processing of the same
HID item, an invalid memory location may be used for subsequent HID
item processing.

Verify that the push level is always valid when processing HID items.

Reported by:	Andy Nguyen (Google)
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r361582:</title>
<updated>2020-06-08T09:31:52Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-06-08T09:31:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0d65fca72b9842bed6d0a216ae6d37ac69ec6d29'/>
<id>urn:sha1:0d65fca72b9842bed6d0a216ae6d37ac69ec6d29</id>
<content type='text'>
Fix check for wMaxPacketSize in USB bluetooth driver,
in case device is not FULL speed.

Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r361581:</title>
<updated>2020-06-08T09:29:08Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-06-08T09:29:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a8de87d5760d344fb9c63ea8f08ecb68a4d91294'/>
<id>urn:sha1:a8de87d5760d344fb9c63ea8f08ecb68a4d91294</id>
<content type='text'>
Implement helper function, usbd_get_max_frame_length(), which allows kernel
device drivers to correctly predict the default USB transfer frame length.

Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r361577:</title>
<updated>2020-06-08T09:25:40Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-06-08T09:25:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1b1a8a9c00bcf6c3801783fc51ad2e158059841e'/>
<id>urn:sha1:1b1a8a9c00bcf6c3801783fc51ad2e158059841e</id>
<content type='text'>
Don't allow USB device drivers to parent own interface.
It will prevent proper USB device detach.

Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r361075:</title>
<updated>2020-05-22T09:02:40Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-05-22T09:02:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=925abd4412e2040008a9a4ff797c680bc4a3debe'/>
<id>urn:sha1:925abd4412e2040008a9a4ff797c680bc4a3debe</id>
<content type='text'>
Assign process group of the TTY under the "proctree_lock".

This fixes a race where concurrent calls to doenterpgrp() and
leavepgrp() while TIOCSCTTY is executing may result in tp-&gt;t_pgrp
changing value so that tty_rel_pgrp() misses clearing it to NULL. For
more details refer to the use of pgdelete() in the kernel.

No functional change intended.

Panic backtrace:
__mtx_lock_sleep() # page fault due to using destroyed mutex
tty_signal_pgrp()
tty_ioctl()
ptsdev_ioctl()
kern_ioctl()
sys_ioctl()
amd64_syscall()

Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r360075:</title>
<updated>2020-04-26T08:38:53Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2020-04-26T08:38:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2721811b2bcc7c1e0a6768bde64516321a5ce3cc'/>
<id>urn:sha1:2721811b2bcc7c1e0a6768bde64516321a5ce3cc</id>
<content type='text'>
Set the maximum exit latency to 0 for XHCI USB 3.0 devices, because we
don't implement link power management, LPM.

This fixes error code XHCI_TRB_ERROR_BANDWIDTH for isochronous USB 3.0
transactions.

Submitted by:	Horse Ma &lt;Shichun.Ma@dell.com&gt;
Sponsored by:	Mellanox Technologies
</content>
</entry>
</feed>
