svn commit: r361577 - head/sys/dev/usb

2020-05-28 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 28 08:05:46 2020 New Revision: 361577 URL: https://svnweb.freebsd.org/changeset/base/361577 Log: Don't allow USB device drivers to parent own interface. It will prevent proper USB device detach. MFC after:3 days Sponsored by: Mellanox Technologies Mod

svn commit: r361499 - head/sys/kern

2020-05-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 26 08:25:24 2020 New Revision: 361499 URL: https://svnweb.freebsd.org/changeset/base/361499 Log: Fix build issue after r360292 when using both RSS and KERN_TLS options. Sponsored by: Mellanox Technologies Modified: head/sys/kern/uipc_ktls.c Modified: head/

svn commit: r361498 - in head/sys/dev/mlx5: . mlx5_core

2020-05-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 26 07:41:46 2020 New Revision: 361498 URL: https://svnweb.freebsd.org/changeset/base/361498 Log: Sync with Linux packet pacing enhancements in mlx5en(4). Linux commit: 05d3ac978ed25b753bfe34fe76c50c31ee506a82 MFC after:1 week Sponsored by: Mellano

svn commit: r361447 - head/sys/dev/mlx5/mlx5_en

2020-05-25 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 25 12:37:45 2020 New Revision: 361447 URL: https://svnweb.freebsd.org/changeset/base/361447 Log: Improve set progress parameters, SET PSV for HW TLS in mlx5en(4). There is no need for a fence and there is no need to provide the TCP sequence number. Spon

svn commit: r361446 - head/sys/dev/mlx5/mlx5_en

2020-05-25 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 25 12:34:15 2020 New Revision: 361446 URL: https://svnweb.freebsd.org/changeset/base/361446 Log: Correctly set the initial vector for TLS v1.3 for mlx5en(4). For TLS v1.3 the 12 bytes of the initial vector, IV, should just be copied as-is from the kernel to

svn commit: r361445 - in head/sys/dev/mlx5: . mlx5_core mlx5_en

2020-05-25 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 25 12:31:48 2020 New Revision: 361445 URL: https://svnweb.freebsd.org/changeset/base/361445 Log: Update the TLS capability bit after recent PRM changes in mlx5en(4). A CX6-DX firmware version equal to or newer than 12.27.0372 is now required. Sponsored

svn commit: r361359 - stable/9/sys/kern

2020-05-22 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 22 09:02:40 2020 New Revision: 361359 URL: https://svnweb.freebsd.org/changeset/base/361359 Log: MFC r361075: Assign process group of the TTY under the "proctree_lock". This fixes a race where concurrent calls to doenterpgrp() and leavepgrp() while TIOCSCT

svn commit: r361358 - stable/10/sys/kern

2020-05-22 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 22 09:01:26 2020 New Revision: 361358 URL: https://svnweb.freebsd.org/changeset/base/361358 Log: MFC r361075: Assign process group of the TTY under the "proctree_lock". This fixes a race where concurrent calls to doenterpgrp() and leavepgrp() while TIOCSCT

svn commit: r361357 - stable/11/sys/kern

2020-05-22 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 22 09:00:22 2020 New Revision: 361357 URL: https://svnweb.freebsd.org/changeset/base/361357 Log: MFC r361075: Assign process group of the TTY under the "proctree_lock". This fixes a race where concurrent calls to doenterpgrp() and leavepgrp() while TIOCSCT

svn commit: r361356 - stable/12/sys/kern

2020-05-22 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 22 08:59:12 2020 New Revision: 361356 URL: https://svnweb.freebsd.org/changeset/base/361356 Log: MFC r361075: Assign process group of the TTY under the "proctree_lock". This fixes a race where concurrent calls to doenterpgrp() and leavepgrp() while TIOCSCT

svn commit: r361208 - stable/11/sys/dev/usb

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:46:51 2020 New Revision: 361208 URL: https://svnweb.freebsd.org/changeset/base/361208 Log: MFC r360925: Refresh the USB device strings when a USB device is re-enumerated. Submitted by: Horse Ma Sponsored by: Mellanox Technologies Modified: stable

svn commit: r361207 - stable/12/sys/dev/usb

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:45:59 2020 New Revision: 361207 URL: https://svnweb.freebsd.org/changeset/base/361207 Log: MFC r360925: Refresh the USB device strings when a USB device is re-enumerated. Submitted by: Horse Ma Sponsored by: Mellanox Technologies Modified: stable

svn commit: r361206 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:45:13 2020 New Revision: 361206 URL: https://svnweb.freebsd.org/changeset/base/361206 Log: MFC r360623: Optimise use of sg_page_count() in __sg_page_iter_next() in the LinuxKPI. No need to compute value twice. No functional change intended. Spon

svn commit: r361205 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:44:26 2020 New Revision: 361205 URL: https://svnweb.freebsd.org/changeset/base/361205 Log: MFC r360623: Optimise use of sg_page_count() in __sg_page_iter_next() in the LinuxKPI. No need to compute value twice. No functional change intended. Spon

svn commit: r361204 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:43:31 2020 New Revision: 361204 URL: https://svnweb.freebsd.org/changeset/base/361204 Log: MFC r360622: Implement more scatter and gather functions in the LinuxKPI. Differential Revision:https://reviews.freebsd.org/D24611 Submitted by: ashafe

svn commit: r361203 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:37:02 2020 New Revision: 361203 URL: https://svnweb.freebsd.org/changeset/base/361203 Log: MFC r360622: Implement more scatter and gather functions in the LinuxKPI. Differential Revision:https://reviews.freebsd.org/D24611 Submitted by: ashafe

svn commit: r361201 - stable/12/sys/compat/linuxkpi/common/src

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:35:42 2020 New Revision: 361201 URL: https://svnweb.freebsd.org/changeset/base/361201 Log: MFC r360621: Fix warning about sleeping with non-sleepable lock when allocating "current" from linux_cdev_pager_populate() in the LinuxKPI: Backtrace: witnes

svn commit: r361202 - stable/11/sys/compat/linuxkpi/common/src

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:36:14 2020 New Revision: 361202 URL: https://svnweb.freebsd.org/changeset/base/361202 Log: MFC r360621: Fix warning about sleeping with non-sleepable lock when allocating "current" from linux_cdev_pager_populate() in the LinuxKPI: Backtrace: witnes

svn commit: r361200 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:34:41 2020 New Revision: 361200 URL: https://svnweb.freebsd.org/changeset/base/361200 Log: MFC r360532: Implement more PCI-express bandwidth functions in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) Sponsored by: Mellanox Technologi

svn commit: r361199 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:32:56 2020 New Revision: 361199 URL: https://svnweb.freebsd.org/changeset/base/361199 Log: MFC r345103: Implement more PCI speed related functions and macros in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Ne

svn commit: r361198 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:26:42 2020 New Revision: 361198 URL: https://svnweb.freebsd.org/changeset/base/361198 Log: MFC r360532: Implement more PCI-express bandwidth functions in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) Sponsored by: Mellanox Technologi

svn commit: r361197 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:25:55 2020 New Revision: 361197 URL: https://svnweb.freebsd.org/changeset/base/361197 Log: MFC r360531: Implement mutex_lock_killable() in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) Sponsored by: Mellanox Technologies Modified:

svn commit: r361196 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:25:23 2020 New Revision: 361196 URL: https://svnweb.freebsd.org/changeset/base/361196 Log: MFC r360531: Implement mutex_lock_killable() in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) Sponsored by: Mellanox Technologies Modified:

svn commit: r361195 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:24:36 2020 New Revision: 361195 URL: https://svnweb.freebsd.org/changeset/base/361195 Log: MFC r360530: Implement DIV64_U64_ROUND_UP() in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) Sponsored by: Mellanox Technologies Modified:

svn commit: r361194 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:24:05 2020 New Revision: 361194 URL: https://svnweb.freebsd.org/changeset/base/361194 Log: MFC r360530: Implement DIV64_U64_ROUND_UP() in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) Sponsored by: Mellanox Technologies Modified:

svn commit: r361193 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:23:18 2020 New Revision: 361193 URL: https://svnweb.freebsd.org/changeset/base/361193 Log: MFC r360529: Implement more lockdep macros in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) Sponsored by: Mellanox Technologies Modified: s

svn commit: r361192 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:22:47 2020 New Revision: 361192 URL: https://svnweb.freebsd.org/changeset/base/361192 Log: MFC r360529: Implement more lockdep macros in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) Sponsored by: Mellanox Technologies Modified: s

svn commit: r361190 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:21:45 2020 New Revision: 361190 URL: https://svnweb.freebsd.org/changeset/base/361190 Log: MFC r351003: Fix build with DRM and INVARIANTS enabled. The DRM drivers use the lockdep assertion macros with spinlock_t locks which are backed by mutexes, not

svn commit: r361191 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:22:17 2020 New Revision: 361191 URL: https://svnweb.freebsd.org/changeset/base/361191 Log: MFC r351003: Fix build with DRM and INVARIANTS enabled. The DRM drivers use the lockdep assertion macros with spinlock_t locks which are backed by mutexes, not

svn commit: r361189 - stable/11/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:17:38 2020 New Revision: 361189 URL: https://svnweb.freebsd.org/changeset/base/361189 Log: MFC r360329: Properly update AD field length in hccontrol(8). While at it use strtol() instead of atoi() to support hexadecimal numbers aswell as 10-base numbe

svn commit: r361188 - stable/12/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:17:05 2020 New Revision: 361188 URL: https://svnweb.freebsd.org/changeset/base/361188 Log: MFC r360329: Properly update AD field length in hccontrol(8). While at it use strtol() instead of atoi() to support hexadecimal numbers aswell as 10-base numbe

svn commit: r361186 - stable/12/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:15:45 2020 New Revision: 361186 URL: https://svnweb.freebsd.org/changeset/base/361186 Log: MFC r360288: Put advertising data in correct place. Submitted by: Marc Veldman PR: 245848 Sponsored by: Mellanox Technologies Modified: stable/

svn commit: r361187 - stable/11/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:16:17 2020 New Revision: 361187 URL: https://svnweb.freebsd.org/changeset/base/361187 Log: MFC r360288: Put advertising data in correct place. Submitted by: Marc Veldman PR: 245848 Sponsored by: Mellanox Technologies Modified: stable/

svn commit: r361185 - stable/11/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:14:58 2020 New Revision: 361185 URL: https://svnweb.freebsd.org/changeset/base/361185 Log: MFC r360263: Rename two commands to match the Bluetooth specification in hccontrol(8). Fix some bad spelling while at it. Submitted by: Marc Veldman PR:

svn commit: r361184 - stable/12/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:14:24 2020 New Revision: 361184 URL: https://svnweb.freebsd.org/changeset/base/361184 Log: MFC r360263: Rename two commands to match the Bluetooth specification in hccontrol(8). Fix some bad spelling while at it. Submitted by: Marc Veldman PR:

svn commit: r361183 - stable/11/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:13:34 2020 New Revision: 361183 URL: https://svnweb.freebsd.org/changeset/base/361183 Log: MFC r360243: Add support for LE advertising to hccontrol(8). Submitted by: Marc Veldman PR: 245848 Sponsored by: Mellanox Technologies Modified:

svn commit: r361182 - stable/12/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:13:03 2020 New Revision: 361182 URL: https://svnweb.freebsd.org/changeset/base/361182 Log: MFC r360243: Add support for LE advertising to hccontrol(8). Submitted by: Marc Veldman PR: 245848 Sponsored by: Mellanox Technologies Modified:

svn commit: r361181 - stable/11/sys/compat/linuxkpi/common/include/asm

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:12:13 2020 New Revision: 361181 URL: https://svnweb.freebsd.org/changeset/base/361181 Log: MFC r360127: Implement the atomic fetch add unless functions for the LinuxKPI. Sponsored by: Mellanox Technologies Modified: stable/11/sys/compat/linuxkpi/com

svn commit: r361180 - stable/12/sys/compat/linuxkpi/common/include/asm

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:11:41 2020 New Revision: 361180 URL: https://svnweb.freebsd.org/changeset/base/361180 Log: MFC r360127: Implement the atomic fetch add unless functions for the LinuxKPI. Sponsored by: Mellanox Technologies Modified: stable/12/sys/compat/linuxkpi/com

svn commit: r361179 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:10:52 2020 New Revision: 361179 URL: https://svnweb.freebsd.org/changeset/base/361179 Log: MFC r360119: Implement aligned LinuxKPI types for u16, u32 and u64. Makes a difference for 32-bit platforms mostly. Sponsored by: Mellanox Technologies Modifi

svn commit: r361178 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:10:21 2020 New Revision: 361178 URL: https://svnweb.freebsd.org/changeset/base/361178 Log: MFC r360119: Implement aligned LinuxKPI types for u16, u32 and u64. Makes a difference for 32-bit platforms mostly. Sponsored by: Mellanox Technologies Modifi

svn commit: r361177 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:09:34 2020 New Revision: 361177 URL: https://svnweb.freebsd.org/changeset/base/361177 Log: MFC r360118: Allow test_bit() in the LinuxKPI to accept a const pointer. Sponsored by: Mellanox Technologies Modified: stable/11/sys/compat/linuxkpi/common/in

svn commit: r361176 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:09:03 2020 New Revision: 361176 URL: https://svnweb.freebsd.org/changeset/base/361176 Log: MFC r360118: Allow test_bit() in the LinuxKPI to accept a const pointer. Sponsored by: Mellanox Technologies Modified: stable/12/sys/compat/linuxkpi/common/in

svn commit: r361175 - stable/11/sys/dev/sound/pcm

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:07:51 2020 New Revision: 361175 URL: https://svnweb.freebsd.org/changeset/base/361175 Log: MFC r360790: Set PCM_CAP_VIRTUAL for virtual DSP devices. Submitted by: Kevin Zheng PR: 246206 Sponsored by: Mellanox Technologies Modified: st

svn commit: r361174 - stable/12/sys/dev/sound/pcm

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:07:14 2020 New Revision: 361174 URL: https://svnweb.freebsd.org/changeset/base/361174 Log: MFC r360790: Set PCM_CAP_VIRTUAL for virtual DSP devices. Submitted by: Kevin Zheng PR: 246206 Sponsored by: Mellanox Technologies Modified: st

svn commit: r361172 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:05:29 2020 New Revision: 361172 URL: https://svnweb.freebsd.org/changeset/base/361172 Log: MFC r360528: Implement kstrtou64() in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) Sponsored by: Mellanox Technologies Modified: stable/12

svn commit: r361173 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:06:09 2020 New Revision: 361173 URL: https://svnweb.freebsd.org/changeset/base/361173 Log: MFC r360528: Implement kstrtou64() in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) Sponsored by: Mellanox Technologies Modified: stable/11

svn commit: r361171 - in stable/11/sys/dev/mlx5: . mlx5_en

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:04:24 2020 New Revision: 361171 URL: https://svnweb.freebsd.org/changeset/base/361171 Log: MFC r360377: Add support for reading temperature in mlx5en(4). Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/mlx5/mlx5_en/en.h stable/11/s

svn commit: r361170 - in stable/12/sys/dev/mlx5: . mlx5_en

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:03:12 2020 New Revision: 361170 URL: https://svnweb.freebsd.org/changeset/base/361170 Log: MFC r360377: Add support for reading temperature in mlx5en(4). Sponsored by: Mellanox Technologies Modified: stable/12/sys/dev/mlx5/mlx5_en/en.h stable/12/s

svn commit: r361168 - stable/12/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:00:45 2020 New Revision: 361168 URL: https://svnweb.freebsd.org/changeset/base/361168 Log: MFC r360197: Add support for Read_Local_Supported_Commands command to hccontrol(8). Submitted by: Marc Veldman PR: 245811 Sponsored by: Mellanox T

svn commit: r361169 - stable/11/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 09:01:18 2020 New Revision: 361169 URL: https://svnweb.freebsd.org/changeset/base/361169 Log: MFC r360197: Add support for Read_Local_Supported_Commands command to hccontrol(8). Submitted by: Marc Veldman PR: 245811 Sponsored by: Mellanox T

svn commit: r361166 - stable/12/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:58:41 2020 New Revision: 361166 URL: https://svnweb.freebsd.org/changeset/base/361166 Log: MFC r360172: Update string tables in hccontrol(8). Submitted by: Marc Veldman PR: 245796 Sponsored by: Mellanox Technologies Modified: stable/1

svn commit: r361167 - stable/11/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:59:14 2020 New Revision: 361167 URL: https://svnweb.freebsd.org/changeset/base/361167 Log: MFC r360172: Update string tables in hccontrol(8). Submitted by: Marc Veldman PR: 245796 Sponsored by: Mellanox Technologies Modified: stable/1

svn commit: r361165 - in stable/11: sys/netgraph/bluetooth/hci sys/netgraph/bluetooth/include usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:57:55 2020 New Revision: 361165 URL: https://svnweb.freebsd.org/changeset/base/361165 Log: MFC r360116: Substitute le_read_supported_status with le_read_supported_states. Refer to bluetooth core v5.2 specifications Vol4. Part E. 7.8.27. PR:

svn commit: r361164 - in stable/12: sys/netgraph/bluetooth/hci sys/netgraph/bluetooth/include usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:57:21 2020 New Revision: 361164 URL: https://svnweb.freebsd.org/changeset/base/361164 Log: MFC r360116: Substitute le_read_supported_status with le_read_supported_states. Refer to bluetooth core v5.2 specifications Vol4. Part E. 7.8.27. PR:

svn commit: r361163 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:56:22 2020 New Revision: 361163 URL: https://svnweb.freebsd.org/changeset/base/361163 Log: MFC r360115: Allow the ERR_CAST() function in the LinuxKPI to take a const void pointer. No functional change. Sponsored by: Mellanox Technologies Modified:

svn commit: r361162 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:55:49 2020 New Revision: 361162 URL: https://svnweb.freebsd.org/changeset/base/361162 Log: MFC r360115: Allow the ERR_CAST() function in the LinuxKPI to take a const void pointer. No functional change. Sponsored by: Mellanox Technologies Modified:

svn commit: r361161 - stable/11/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:52:40 2020 New Revision: 361161 URL: https://svnweb.freebsd.org/changeset/base/361161 Log: MFC r360095: Fix cut and paste off-by-one error in hccontrol(8). Make sure strncpy() doesn't write beyond its given buffer. PR: 245739 Sponsored by

svn commit: r361160 - stable/12/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:52:06 2020 New Revision: 361160 URL: https://svnweb.freebsd.org/changeset/base/361160 Log: MFC r360095: Fix cut and paste off-by-one error in hccontrol(8). Make sure strncpy() doesn't write beyond its given buffer. PR: 245739 Sponsored by

svn commit: r361159 - stable/11/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:46:53 2020 New Revision: 361159 URL: https://svnweb.freebsd.org/changeset/base/361159 Log: MFC r360094: Improve printing of le features in hccontrol(8). Submitted by: Marc Veldman PR: 245739 Sponsored by: Mellanox Technologies Modified:

svn commit: r361157 - in stable/10: sys/netgraph/bluetooth/hci usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:45:24 2020 New Revision: 361157 URL: https://svnweb.freebsd.org/changeset/base/361157 Log: MFC r360092: Bring HCI error messages up-to-date. See Bluetooth v5.6 core specification Vol.1 Part F: Controller error codes. Submitted by: Marc Veldman PR:

svn commit: r361158 - stable/12/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:46:17 2020 New Revision: 361158 URL: https://svnweb.freebsd.org/changeset/base/361158 Log: MFC r360094: Improve printing of le features in hccontrol(8). Submitted by: Marc Veldman PR: 245739 Sponsored by: Mellanox Technologies Modified:

svn commit: r361156 - in stable/11: sys/netgraph/bluetooth/hci usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:44:49 2020 New Revision: 361156 URL: https://svnweb.freebsd.org/changeset/base/361156 Log: MFC r360092: Bring HCI error messages up-to-date. See Bluetooth v5.6 core specification Vol.1 Part F: Controller error codes. Submitted by: Marc Veldman PR:

svn commit: r361155 - in stable/12: sys/netgraph/bluetooth/hci usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:44:16 2020 New Revision: 361155 URL: https://svnweb.freebsd.org/changeset/base/361155 Log: MFC r360092: Bring HCI error messages up-to-date. See Bluetooth v5.6 core specification Vol.1 Part F: Controller error codes. Submitted by: Marc Veldman PR:

svn commit: r361154 - stable/10/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:43:05 2020 New Revision: 361154 URL: https://svnweb.freebsd.org/changeset/base/361154 Log: MFC r360070: Add missing feature descriptions to hci_features2str(). The list of possible features in hccontrol/features2str() is incomplete. Refer to "Bluetoo

svn commit: r361153 - stable/11/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:42:10 2020 New Revision: 361153 URL: https://svnweb.freebsd.org/changeset/base/361153 Log: MFC r360070: Add missing feature descriptions to hci_features2str(). The list of possible features in hccontrol/features2str() is incomplete. Refer to "Bluetoo

svn commit: r361152 - stable/12/usr.sbin/bluetooth/hccontrol

2020-05-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 18 08:40:39 2020 New Revision: 361152 URL: https://svnweb.freebsd.org/changeset/base/361152 Log: MFC r360070: Add missing feature descriptions to hci_features2str(). The list of possible features in hccontrol/features2str() is incomplete. Refer to "Bluetoo

svn commit: r361110 - head/sys/compat/linuxkpi/common/include/linux

2020-05-16 Thread Hans Petter Selasky
Author: hselasky Date: Sat May 16 14:27:50 2020 New Revision: 361110 URL: https://svnweb.freebsd.org/changeset/base/361110 Log: Implement synchronize_srcu_expedited() in the LinuxKPI. Differential Revision:https://reviews.freebsd.org/D24798 MFC after:1 week Sponsored by: Mel

svn commit: r361075 - head/sys/kern

2020-05-15 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 15 12:47:39 2020 New Revision: 361075 URL: https://svnweb.freebsd.org/changeset/base/361075 Log: 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

svn commit: r360925 - head/sys/dev/usb

2020-05-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 11 20:55:04 2020 New Revision: 360925 URL: https://svnweb.freebsd.org/changeset/base/360925 Log: Refresh the USB device strings when a USB device is re-enumerated. Submitted by: Horse Ma MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r360790 - head/sys/dev/sound/pcm

2020-05-07 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 7 18:15:35 2020 New Revision: 360790 URL: https://svnweb.freebsd.org/changeset/base/360790 Log: Set PCM_CAP_VIRTUAL for virtual DSP devices. Submitted by: Kevin Zheng PR: 246206 MFC after:1 week Sponsored by: Mellanox Technologies Modifi

svn commit: r360623 - head/sys/compat/linuxkpi/common/include/linux

2020-05-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 4 10:10:07 2020 New Revision: 360623 URL: https://svnweb.freebsd.org/changeset/base/360623 Log: Optimise use of sg_page_count() in __sg_page_iter_next() in the LinuxKPI. No need to compute value twice. No functional change intended. MFC after:1 wee

svn commit: r360622 - head/sys/compat/linuxkpi/common/include/linux

2020-05-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 4 09:58:45 2020 New Revision: 360622 URL: https://svnweb.freebsd.org/changeset/base/360622 Log: Implement more scatter and gather functions in the LinuxKPI. Differential Revision:https://reviews.freebsd.org/D24611 Submitted by: ashafer_badland.io (A

svn commit: r360621 - head/sys/compat/linuxkpi/common/src

2020-05-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 4 08:05:01 2020 New Revision: 360621 URL: https://svnweb.freebsd.org/changeset/base/360621 Log: Fix warning about sleeping with non-sleepable lock when allocating "current" from linux_cdev_pager_populate() in the LinuxKPI: Backtrace: witness_debugger()

svn commit: r360620 - in stable/12/sys: sys x86/include

2020-05-04 Thread Hans Petter Selasky
Author: hselasky Date: Mon May 4 07:57:55 2020 New Revision: 360620 URL: https://svnweb.freebsd.org/changeset/base/360620 Log: Move id_mapped to end of bus_dma_impl structure to preserve KPI for 12-stable. This is a direct commit. Bump the __FreeBSD_version to force recompilation of e

svn commit: r360544 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-05-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 1 19:07:26 2020 New Revision: 360544 URL: https://svnweb.freebsd.org/changeset/base/360544 Log: Unbreak DRM KMS build by adding the needed compatibility field in the LinuxKPI. Reported by: zeising @ Sponsored by: Mellanox Technologies Modified: stable/

svn commit: r360532 - head/sys/compat/linuxkpi/common/include/linux

2020-05-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 1 10:32:42 2020 New Revision: 360532 URL: https://svnweb.freebsd.org/changeset/base/360532 Log: Implement more PCI-express bandwidth functions in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) MFC after:1 week Sponsored by: Mellanox Te

svn commit: r360531 - head/sys/compat/linuxkpi/common/include/linux

2020-05-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 1 10:28:21 2020 New Revision: 360531 URL: https://svnweb.freebsd.org/changeset/base/360531 Log: Implement mutex_lock_killable() in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) MFC after:1 week Sponsored by: Mellanox Technologies Mod

svn commit: r360530 - head/sys/compat/linuxkpi/common/include/linux

2020-05-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 1 10:25:07 2020 New Revision: 360530 URL: https://svnweb.freebsd.org/changeset/base/360530 Log: Implement DIV64_U64_ROUND_UP() in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) MFC after:1 week Sponsored by: Mellanox Technologies Modi

svn commit: r360529 - head/sys/compat/linuxkpi/common/include/linux

2020-05-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 1 10:18:07 2020 New Revision: 360529 URL: https://svnweb.freebsd.org/changeset/base/360529 Log: Implement more lockdep macros in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) MFC after:1 week Sponsored by: Mellanox Technologies Modif

svn commit: r360528 - head/sys/compat/linuxkpi/common/include/linux

2020-05-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 1 10:14:45 2020 New Revision: 360528 URL: https://svnweb.freebsd.org/changeset/base/360528 Log: Implement kstrtou64() in the LinuxKPI. Submitted by: ashafer_badland.io (Austin Shafer) MFC after:1 week Sponsored by: Mellanox Technologies Modified: h

svn commit: r360526 - in stable/12/sys/compat/linuxkpi/common: include/linux src

2020-05-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 1 09:50:36 2020 New Revision: 360526 URL: https://svnweb.freebsd.org/changeset/base/360526 Log: MFC r360196: Factor code in LinuxKPI to allow attach and detach using any BSD device. This allows non-LinuxKPI based infiniband device drivers to attach correctly

svn commit: r360525 - in stable/12: sys/arm64/arm64 sys/arm64/include sys/compat/linuxkpi/common/include/linux sys/compat/linuxkpi/common/src sys/dev/ofw sys/dev/pci sys/kern sys/sys sys/x86/includ...

2020-05-01 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 1 09:46:27 2020 New Revision: 360525 URL: https://svnweb.freebsd.org/changeset/base/360525 Log: MFC r346645, r346664, r346687, r347387, r347836, r347088, 347089, r346956, r346957, r346958, r347088, r347089, r347385, r353938, r350570, r350572 and r35057

svn commit: r360377 - in head/sys/dev/mlx5: . mlx5_en

2020-04-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 27 14:35:39 2020 New Revision: 360377 URL: https://svnweb.freebsd.org/changeset/base/360377 Log: Add support for reading temperature in mlx5en(4). MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/mlx5_en/en.h head/sys

svn commit: r360336 - stable/9/sys/dev/usb/controller

2020-04-26 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 26 08:38:53 2020 New Revision: 360336 URL: https://svnweb.freebsd.org/changeset/base/360336 Log: MFC r360075: 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_

svn commit: r360335 - stable/10/sys/dev/usb/controller

2020-04-26 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 26 08:38:10 2020 New Revision: 360335 URL: https://svnweb.freebsd.org/changeset/base/360335 Log: MFC r360075: 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_

svn commit: r360333 - stable/12/sys/dev/usb/controller

2020-04-26 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 26 08:36:54 2020 New Revision: 360333 URL: https://svnweb.freebsd.org/changeset/base/360333 Log: MFC r360075: 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_

svn commit: r360334 - stable/11/sys/dev/usb/controller

2020-04-26 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 26 08:37:31 2020 New Revision: 360334 URL: https://svnweb.freebsd.org/changeset/base/360334 Log: MFC r360075: 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_

svn commit: r360331 - stable/11/sys/kern

2020-04-26 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 26 08:34:52 2020 New Revision: 360331 URL: https://svnweb.freebsd.org/changeset/base/360331 Log: MFC r359968: Cast all ioctl command arguments through uint32_t internally. Hide debug print showing use of sign extended ioctl command argument under INVARIANT

svn commit: r360332 - stable/10/sys/kern

2020-04-26 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 26 08:35:32 2020 New Revision: 360332 URL: https://svnweb.freebsd.org/changeset/base/360332 Log: MFC r359968: Cast all ioctl command arguments through uint32_t internally. Hide debug print showing use of sign extended ioctl command argument under INVARIANT

svn commit: r360330 - stable/12/sys/kern

2020-04-26 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 26 08:34:03 2020 New Revision: 360330 URL: https://svnweb.freebsd.org/changeset/base/360330 Log: MFC r359968: Cast all ioctl command arguments through uint32_t internally. Hide debug print showing use of sign extended ioctl command argument under INVARIANT

svn commit: r360329 - head/usr.sbin/bluetooth/hccontrol

2020-04-26 Thread Hans Petter Selasky
Author: hselasky Date: Sun Apr 26 08:31:08 2020 New Revision: 360329 URL: https://svnweb.freebsd.org/changeset/base/360329 Log: Properly update AD field length in hccontrol(8). While at it use strtol() instead of atoi() to support hexadecimal numbers aswell as 10-base numbers. Submit

svn commit: r360288 - head/usr.sbin/bluetooth/hccontrol

2020-04-24 Thread Hans Petter Selasky
Author: hselasky Date: Sat Apr 25 00:57:48 2020 New Revision: 360288 URL: https://svnweb.freebsd.org/changeset/base/360288 Log: Put advertising data in correct place. Submitted by: Marc Veldman PR: 245848 MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r360263 - head/usr.sbin/bluetooth/hccontrol

2020-04-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 24 14:53:55 2020 New Revision: 360263 URL: https://svnweb.freebsd.org/changeset/base/360263 Log: Rename two commands to match the Bluetooth specification in hccontrol(8). Fix some bad spelling while at it. Submitted by: Marc Veldman PR: 245868

svn commit: r360243 - head/usr.sbin/bluetooth/hccontrol

2020-04-24 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 24 08:07:59 2020 New Revision: 360243 URL: https://svnweb.freebsd.org/changeset/base/360243 Log: Add support for LE advertising to hccontrol(8). Submitted by: Marc Veldman PR: 245848 MFC after:1 week Sponsored by: Mellanox Technologies Mo

svn commit: r360197 - head/usr.sbin/bluetooth/hccontrol

2020-04-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Apr 22 14:38:39 2020 New Revision: 360197 URL: https://svnweb.freebsd.org/changeset/base/360197 Log: Add support for Read_Local_Supported_Commands command to hccontrol(8). Submitted by: Marc Veldman PR: 245811 MFC after:1 week Sponsored by: Me

svn commit: r360196 - in head/sys/compat/linuxkpi/common: include/linux src

2020-04-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Apr 22 14:33:25 2020 New Revision: 360196 URL: https://svnweb.freebsd.org/changeset/base/360196 Log: Factor code in LinuxKPI to allow attach and detach using any BSD device. This allows non-LinuxKPI based infiniband device drivers to attach correctly to ibcore.

svn commit: r360172 - head/usr.sbin/bluetooth/hccontrol

2020-04-21 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 21 17:51:54 2020 New Revision: 360172 URL: https://svnweb.freebsd.org/changeset/base/360172 Log: Update string tables in hccontrol(8). Submitted by: Marc Veldman PR: 245796 MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r360127 - head/sys/compat/linuxkpi/common/include/asm

2020-04-20 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 20 16:21:37 2020 New Revision: 360127 URL: https://svnweb.freebsd.org/changeset/base/360127 Log: Implement the atomic fetch add unless functions for the LinuxKPI. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/

svn commit: r360119 - head/sys/compat/linuxkpi/common/include/linux

2020-04-20 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 20 14:03:05 2020 New Revision: 360119 URL: https://svnweb.freebsd.org/changeset/base/360119 Log: Implement aligned LinuxKPI types for u16, u32 and u64. Makes a difference for 32-bit platforms mostly. MFC after:1 week Sponsored by: Mellanox Technologies

<    1   2   3   4   5   6   7   8   9   10   >