Re: svn commit: r322272 - head/sys/compat/linuxkpi/common/src

2021-01-07 Thread Hans Petter Selasky
Let's move the discussion over here: https://reviews.freebsd.org/D28017 --HPS ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Re: svn commit: r322272 - head/sys/compat/linuxkpi/common/src

2021-01-07 Thread Hans Petter Selasky
On 1/6/21 9:44 PM, Ryan Stone wrote: On Tue, Aug 8, 2017 at 3:36 PM Alexander Motin wrote: Author: mav Date: Tue Aug 8 19:36:34 2017 New Revision: 322272 URL: https://svnweb.freebsd.org/changeset/base/322272 Log: Fix few issues of LinuxKPI workqueue. LinuxKPI workqueue wrappers

Re: svn commit: r365787 - head/sys/fs/tmpfs

2021-01-05 Thread Hans Petter Selasky
On 1/1/21 7:44 PM, Alexey Dokuchaev wrote: __mtx_lock_sleep() tmpfs_free_node() tmpfs_fo_close() _fdrop() closef() fdescfree_fds() fdescfree() exit1() sigexit() postsig() ast() doreit_ast() I'm seeing the same and I have a clue what is going on. Are you

svn commit: r368801 - head/sys/dev/usb/net

2020-12-19 Thread Hans Petter Selasky
Author: hselasky Date: Sat Dec 19 11:03:54 2020 New Revision: 368801 URL: https://svnweb.freebsd.org/changeset/base/368801 Log: Ensure a minimum packet length before creating a mbuf in if_ure. Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

svn commit: r368799 - head/sys/dev/usb/net

2020-12-19 Thread Hans Petter Selasky
Author: hselasky Date: Sat Dec 19 11:00:11 2020 New Revision: 368799 URL: https://svnweb.freebsd.org/changeset/base/368799 Log: Move SYSCTL_ADD_PROC() to unlocked context in if_ure to avoid lock order reversal. MFC after:1 week Reported by: Mark Millard Sponsored by: Mellanox

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

2020-12-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Dec 15 15:36:41 2020 New Revision: 368664 URL: https://svnweb.freebsd.org/changeset/base/368664 Log: Improve handling of alternate settings in the USB stack. Move initialization of num_altsetting under USB_CFG_INIT, else there will be a page fault when

Re: svn commit: r368523 - head/sys/vm

2020-12-15 Thread Hans Petter Selasky
On 12/15/20 3:27 PM, Mark Johnston wrote: I'm seeing the following panic: panic("vm_wait in early boot") vm_wait_domain() kmem_alloc_contig_pages() kmem_alloc_contig_domainset() kmem_alloc_contig() contigmalloc() x86bios_alloc() vesa_configure() vesa_mod_event() vesa_module_register_init()

Re: svn commit: r368523 - head/sys/vm

2020-12-15 Thread Hans Petter Selasky
On 12/10/20 9:44 PM, Bryan Drewery wrote: Author: bdrewery Date: Thu Dec 10 20:44:29 2020 New Revision: 368523 URL: https://svnweb.freebsd.org/changeset/base/368523 Log: contig allocs: Don't retry forever on M_WAITOK. This restores behavior from before domain iterators were added in

svn commit: r368659 - in head/sys: compat/linuxkpi/common/src dev/usb sys

2020-12-15 Thread Hans Petter Selasky
Tue Dec 15 12:05:07 2020 (r368659) @@ -2,7 +2,7 @@ /*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * - * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. + * Copyright (c) 2008-2020 Hans Petter Selasky. All rights reserved. * * Redistribution and use in so

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

2020-12-15 Thread Hans Petter Selasky
/sys/dev/usb/usb_parse.cTue Dec 15 09:43:18 2020 (r368657) +++ head/sys/dev/usb/usb_parse.cTue Dec 15 11:51:17 2020 (r368658) @@ -2,7 +2,7 @@ /*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * - * Copyright (c) 2008 Hans Petter Selasky. All rights reserved

svn commit: r368632 - head/lib/libusb

2020-12-14 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 14 11:56:16 2020 New Revision: 368632 URL: https://svnweb.freebsd.org/changeset/base/368632 Log: Be bug compatible with other operating systems by allowing non-sequential interface numbering for USB descriptors in userspace. Else certain USB control requests

Re: svn commit: r368492 - head/sbin/ifconfig

2020-12-09 Thread Hans Petter Selasky
On 12/9/20 9:19 PM, Hans Petter Selasky wrote: On 12/9/20 9:13 PM, Hans Petter Selasky wrote: because the date pointed because the data pointed   ^^ spelling fix Just a heads up: I plan on making this a separate direct-commit to 12-stable tomorrow, because this change depends

Re: svn commit: r368492 - head/sbin/ifconfig

2020-12-09 Thread Hans Petter Selasky
On 12/9/20 9:13 PM, Hans Petter Selasky wrote: because the date pointed because the data pointed ^^ spelling fix --HPS ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe

svn commit: r368492 - head/sbin/ifconfig

2020-12-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 9 20:13:12 2020 New Revision: 368492 URL: https://svnweb.freebsd.org/changeset/base/368492 Log: Fix bug in ifconfig preventing proper VLAN creation. Detection of interface type by filter must happen before detection of interface type by prefix. Else the

svn commit: r368415 - head/stand/kshim

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 16:08:31 2020 New Revision: 368415 URL: https://svnweb.freebsd.org/changeset/base/368415 Log: Properly define the bool type in the BSD kernel shim. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

Re: svn commit: r368397 - in head: share/man/man4 sys/dev/mn

2020-12-07 Thread Hans Petter Selasky
On 12/7/20 11:44 AM, Hans Petter Selasky wrote: On 12/6/20 10:34 PM, Ed Maste wrote: +    gone_in_dev(dev, 13, "sync serial (T1/E1) driver"); Should be "self" instead of "dev" . Ed: I just fixed it. Don't forget to inc

svn commit: r368409 - head/sys/dev/mn

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 11:18:51 2020 New Revision: 368409 URL: https://svnweb.freebsd.org/changeset/base/368409 Log: Fix compilation after r368397. MFC after:3 days Sponsored by: Mellanox Technologies // NVIDIA Networking Modified: head/sys/dev/mn/if_mn.c Modified:

svn commit: r368408 - head/stand/kshim

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 10:51:19 2020 New Revision: 368408 URL: https://svnweb.freebsd.org/changeset/base/368408 Log: Add missing busdma prototypes for load and unload and implement dummy sync function for kernel bootloader shim code. MFC after:1 week Sponsored by:

Re: svn commit: r368397 - in head: share/man/man4 sys/dev/mn

2020-12-07 Thread Hans Petter Selasky
On 12/6/20 10:34 PM, Ed Maste wrote: + gone_in_dev(dev, 13, "sync serial (T1/E1) driver"); Should be "self" instead of "dev" . --HPS ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To

svn commit: r368407 - head/stand/kshim

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 10:21:01 2020 New Revision: 368407 URL: https://svnweb.freebsd.org/changeset/base/368407 Log: Tidy up code a bit. Add missing section comments. No functional change. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

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

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 09:48:06 2020 New Revision: 368406 URL: https://svnweb.freebsd.org/changeset/base/368406 Log: Prefer using the MIN() function macro over the min() inline function in the LinuxKPI. Linux defines min() to be a macro, while in FreeBSD min() is a static inline

svn commit: r368405 - head/sys/sys

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 09:21:06 2020 New Revision: 368405 URL: https://svnweb.freebsd.org/changeset/base/368405 Log: Allow sys/refcount.h to be used by standalone builds. No functional change. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

svn commit: r368353 - head/sys/netinet6

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 21:51:47 2020 New Revision: 368353 URL: https://svnweb.freebsd.org/changeset/base/368353 Log: Expose nonstandard IPv6 kernel definitions to standalone builds. No functional change. Reviewed by: bz@ MFC after:1 week Sponsored by: Mellanox

svn commit: r368341 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 16:51:59 2020 New Revision: 368341 URL: https://svnweb.freebsd.org/changeset/base/368341 Log: Fix mis-spelled macro in the kernel shim. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

Re: svn commit: r368329 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
On 12/4/20 5:31 PM, Warner Losh wrote: Hi Alexander, I'm not sure how that definition will work together with existing code, mixing uint64_t, unsigned long, and unsigned long long. Will this cause more compiler warnings? This also will affect user-space and ports. I think for the boot loader

Re: svn commit: r368329 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
On 12/4/20 4:59 PM, Alexander Richardson wrote: On Fri, 4 Dec 2020 at 14:51, Hans Petter Selasky wrote: Author: hselasky Date: Fri Dec 4 14:50:55 2020 New Revision: 368329 URL: https://svnweb.freebsd.org/changeset/base/368329 Log: Fix definition of int64_t and uint64_t when long is 64

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

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 15:50:44 2020 New Revision: 368336 URL: https://svnweb.freebsd.org/changeset/base/368336 Log: Allow the rbtree header file in the LinuxKPI to be used in standalone code. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

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

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 15:46:48 2020 New Revision: 368335 URL: https://svnweb.freebsd.org/changeset/base/368335 Log: Allow the list header file in the LinuxKPI to be used in standalone code. Some style and spelling nits while at it. MFC after:1 week Sponsored by:

svn commit: r368330 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 14:52:41 2020 New Revision: 368330 URL: https://svnweb.freebsd.org/changeset/base/368330 Log: Add more macros, types and prototypes for building kernel code into bootloaders. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

svn commit: r368329 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 14:50:55 2020 New Revision: 368329 URL: https://svnweb.freebsd.org/changeset/base/368329 Log: Fix definition of int64_t and uint64_t when long is 64-bit. This gets the kernel shim code in line with the rest of the kernel, sys/x86/include/_types.h. MFC

Re: svn commit: r367714 - head/sys/kern

2020-12-01 Thread Hans Petter Selasky
On 12/1/20 12:26 PM, Mateusz Guzik wrote: Does this fix it for you?https://people.freebsd.org/~mjg/poll.diff Will take some time to reproduce. Testing right now. --HPS ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r367714 - head/sys/kern

2020-12-01 Thread Hans Petter Selasky
On 12/1/20 12:06 PM, Mateusz Guzik wrote: I see what the bug is, will think about the right fix. Is this reproducible for you? Yes, I have a crash dump. --HPS ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r367714 - head/sys/kern

2020-12-01 Thread Hans Petter Selasky
On 11/16/20 4:12 AM, Mateusz Guzik wrote: Author: mjg Date: Mon Nov 16 03:12:21 2020 New Revision: 367714 URL: https://svnweb.freebsd.org/changeset/base/367714 Log: select: call seltdfini on process and thread exit Since thread_zone is marked NOFREE the thread_fini callback is never

Re: svn commit: r366917 - in head: sbin/ifconfig sys/net tests/sys/net

2020-11-30 Thread Hans Petter Selasky
On 10/21/20 11:28 PM, Alexander V. Chernikov wrote: Author: melifaro Date: Wed Oct 21 21:28:20 2020 New Revision: 366917 URL: https://svnweb.freebsd.org/changeset/base/366917 Log: Add support for stacked VLANs (IEEE 802.1ad, AKA Q-in-Q). 802.1ad interfaces are created with ifconfig

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

2020-11-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 30 09:47:53 2020 New Revision: 368182 URL: https://svnweb.freebsd.org/changeset/base/368182 Log: Use function macro for sema_init() in the LinuxKPI to limit macro expansion scope. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA

svn commit: r368058 - head/sbin/ifconfig

2020-11-26 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 26 16:36:50 2020 New Revision: 368058 URL: https://svnweb.freebsd.org/changeset/base/368058 Log: Ensure consistent error messages from ifconfig(8). If multiple threads are invoking "ifconfig XXX create" a race may occur which can lead to two different error

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

2020-11-24 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 24 13:07:59 2020 New Revision: 367981 URL: https://svnweb.freebsd.org/changeset/base/367981 Log: Remove erradic assert after SVN r367149 in mlx5en(4). The ratelimit tags may be shared, especially for unlimited TLS traffic, and then the refcount is allowed

svn commit: r367789 - in head/sys/compat/linuxkpi/common/include: asm linux

2020-11-18 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 18 13:47:11 2020 New Revision: 367789 URL: https://svnweb.freebsd.org/changeset/base/367789 Log: Allow LinuxKPI types to be used in bootloaders, by checking for the _STANDALONE definition. No functional change intended. MFC after:1 week Sponsored

svn commit: r367788 - head/sys/modules/linuxkpi

2020-11-18 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 18 13:45:32 2020 New Revision: 367788 URL: https://svnweb.freebsd.org/changeset/base/367788 Log: Add missing header file when building the LinuxKPI module separately. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

svn commit: r367787 - in head: stand/kshim sys/dev/usb

2020-11-18 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 18 13:22:22 2020 New Revision: 367787 URL: https://svnweb.freebsd.org/changeset/base/367787 Log: Fix build of USB bootloader code by adding checks for _STANDALONE being defined. Currently the USB bootloader code is not part of buildworld. MFC after:1

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

2020-11-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 16 10:15:03 2020 New Revision: 367719 URL: https://svnweb.freebsd.org/changeset/base/367719 Log: Make mlx5_cmd_exec_cb() a safe API in mlx5core. APIs that have deferred callbacks should have some kind of cleanup function that callers can use to fence the

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

2020-11-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 16 10:10:53 2020 New Revision: 367718 URL: https://svnweb.freebsd.org/changeset/base/367718 Log: Report EQE data upon CQ completion in mlx5core. Report EQE data upon CQ completion to let upper layers use this data. Linux commit:

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

2020-11-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 16 10:06:10 2020 New Revision: 367717 URL: https://svnweb.freebsd.org/changeset/base/367717 Log: Enhance the mlx5_core_create_cq() function in mlx5core. Enhance mlx5_core_create_cq() to get the command out buffer from the callers to let them use the output.

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

2020-11-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 16 10:03:18 2020 New Revision: 367716 URL: https://svnweb.freebsd.org/changeset/base/367716 Log: Use mlx5core to create/destroy all Dynamically Connected Targets, DCTs. To prevent a hardware memory leak when a DEVX DCT object is destroyed without calling

svn commit: r367715 - head/sys/dev/mlx5/mlx5_ib

2020-11-16 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 16 10:00:21 2020 New Revision: 367715 URL: https://svnweb.freebsd.org/changeset/base/367715 Log: Fix error handling order in create_kernel_qp in mlx5ib. Make sure order of cleanup is exactly the opposite of initialization. Linux commit:

svn commit: r367622 - in head/sys/dev/usb: . quirk

2020-11-12 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 12 18:24:37 2020 New Revision: 367622 URL: https://svnweb.freebsd.org/changeset/base/367622 Log: Add more USB quirks. PR: 230038 MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

svn commit: r367615 - head/sys/dev/sound/usb

2020-11-12 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 12 09:26:01 2020 New Revision: 367615 URL: https://svnweb.freebsd.org/changeset/base/367615 Log: Add a tunable sysctl, hw.usb.uaudio.handle_hid, to allow disabling the the HID volume keys support in the USB audio driver. While at it re-organize the USB

svn commit: r367614 - head/sys/dev/usb/controller

2020-11-12 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 12 09:15:07 2020 New Revision: 367614 URL: https://svnweb.freebsd.org/changeset/base/367614 Log: When doing a USB alternate setting on an USB interface we need to re-configure the XHCI endpoint context. Differential Revision:

Re: svn commit: r367588 - in head/sys: kern sys

2020-11-11 Thread Hans Petter Selasky
On 11/11/20 2:44 PM, Mark Johnston wrote: +#defineSIGIO_ASSERT_LOCKED(type) mtx_assert(_lock, MA_OWNED) Minor nit: "type" argument can be removed from macro. --HPS ___ svn-src-head@freebsd.org mailing list

svn commit: r367555 - head/sys/dev/mlx4/mlx4_ib

2020-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 12:58:25 2020 New Revision: 367555 URL: https://svnweb.freebsd.org/changeset/base/367555 Log: Include GID type when deleting GIDs from HW table under RoCE in mlx4ib. Refer to the Linux commit mentioned below for a more detailed description. Linux commit:

svn commit: r367269 - head/sys/ofed/drivers/infiniband/core

2020-11-02 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 2 10:44:29 2020 New Revision: 367269 URL: https://svnweb.freebsd.org/changeset/base/367269 Log: Fix for referencing file via its vnode in ibore. Use the native vnode lookup functions, instead of going via the LinuxKPI, because the file referenced is

svn commit: r367236 - in head: share/man/man4 sys/dev/usb sys/dev/usb/input

2020-10-31 Thread Hans Petter Selasky
Author: hselasky Date: Sat Oct 31 21:53:23 2020 New Revision: 367236 URL: https://svnweb.freebsd.org/changeset/base/367236 Log: Implement the USB_GET_DEVICEINFO ioctl(2) for uhid(4). Submitted by: pedro martelletto MFC after:1 week Sponsored by: Mellanox

svn commit: r367096 - in head/sys/dev/usb: . serial

2020-10-28 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 28 08:22:38 2020 New Revision: 367096 URL: https://svnweb.freebsd.org/changeset/base/367096 Log: Add new USB IDs. Submitted by: aleksi.kaalin...@kapsi.fi PR: 250675 MFC after:1 week Sponsored by: Mellanox

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

2020-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Sat Oct 24 13:16:10 2020 New Revision: 366996 URL: https://svnweb.freebsd.org/changeset/base/366996 Log: Implement xa_init() in the LinuxKPI as a wrapper for xa_init_flags(). MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA

Re: svn commit: r366993 - head/sys/net

2020-10-24 Thread Hans Petter Selasky
On 2020-10-24 14:52, Alexey Dokuchaev wrote: On Sat, Oct 24, 2020 at 10:23:22AM +, Hans Petter Selasky wrote: New Revision: 366993 URL: https://svnweb.freebsd.org/changeset/base/366993 Log: Run code through "clang-format -style=file" with some additional fixes. No functio

svn commit: r366995 - head/sys/net

2020-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Sat Oct 24 13:07:50 2020 New Revision: 366995 URL: https://svnweb.freebsd.org/changeset/base/366995 Log: More style fixes (partial revert of r366994). Suggested by: danfe@ Differential Revision:https://reviews.freebsd.org/D26254 MFC after:

svn commit: r366994 - head/sys/net

2020-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Sat Oct 24 10:52:09 2020 New Revision: 366994 URL: https://svnweb.freebsd.org/changeset/base/366994 Log: Fix order of header files: sys/systm.h should come right after sys/param.h Suggested by: kib@ Differential Revision:

Re: svn commit: r366993 - head/sys/net

2020-10-24 Thread Hans Petter Selasky
On 2020-10-24 12:46, Konstantin Belousov wrote: sys/systm.h should come right after sys/param.h OK, fixed. --HPS ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to

svn commit: r366993 - head/sys/net

2020-10-24 Thread Hans Petter Selasky
Author: hselasky Date: Sat Oct 24 10:23:21 2020 New Revision: 366993 URL: https://svnweb.freebsd.org/changeset/base/366993 Log: Run code through "clang-format -style=file" with some additional fixes. No functional change. Suggested by: kib@ and emaste@ Differential Revision:

Re: svn commit: r366372 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf

2020-10-24 Thread Hans Petter Selasky
On 2020-10-24 02:13, Warner Losh wrote: I was going to suggest and try this change, but life has been complicated... Has it been committed? No, not yet. --HPS ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r366936 - head/sys/net

2020-10-23 Thread Hans Petter Selasky
On 2020-10-23 11:46, Konstantin Belousov wrote: On Fri, Oct 23, 2020 at 10:04:12AM +0200, Hans Petter Selasky wrote: On 2020-10-22 19:54, Hans Petter Selasky wrote: On 2020-10-22 18:48, Konstantin Belousov wrote: sys/systm.h already includes sys/param.h.  Also, sys/param.h already includes

svn commit: r366961 - head/sys/fs/cuse

2020-10-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 23 08:44:53 2020 New Revision: 366961 URL: https://svnweb.freebsd.org/changeset/base/366961 Log: Fix for loading cuse.ko via rc.d . Make sure we declare the cuse(3) module by name and not only by the version information, so that "kldstat -q -m cuse" works.

Re: svn commit: r366936 - head/sys/net

2020-10-23 Thread Hans Petter Selasky
On 2020-10-22 19:54, Hans Petter Selasky wrote: On 2020-10-22 18:48, Konstantin Belousov wrote: sys/systm.h already includes sys/param.h.  Also, sys/param.h already includes sys/types.h. I'll have a look tomorrow at this. Thanks for pointing out. It appears sys/systm.h needs sys/types.h

Re: svn commit: r366936 - head/sys/net

2020-10-22 Thread Hans Petter Selasky
On 2020-10-22 18:48, Konstantin Belousov wrote: sys/systm.h already includes sys/param.h. Also, sys/param.h already includes sys/types.h. I'll have a look tomorrow at this. Thanks for pointing out. --HPS ___ svn-src-head@freebsd.org mailing list

svn commit: r366936 - head/sys/net

2020-10-22 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 22 12:22:08 2020 New Revision: 366936 URL: https://svnweb.freebsd.org/changeset/base/366936 Log: Compile fix for MIPS, MIPS64, POWERPC and POWERPC64. Add missing include files. Differential Revision:https://reviews.freebsd.org/D26254 Reviewed by:

svn commit: r366935 - head/sbin/ifconfig

2020-10-22 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 22 10:36:16 2020 New Revision: 366935 URL: https://svnweb.freebsd.org/changeset/base/366935 Log: Fix for colliding change (r366917). Differential Revision:https://reviews.freebsd.org/D26254 Reviewed by: melifaro@ MFC after:1

svn commit: r366934 - head/sys/conf

2020-10-22 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 22 10:29:27 2020 New Revision: 366934 URL: https://svnweb.freebsd.org/changeset/base/366934 Log: Fix for monotolithic kernel builds using device lagg(4). Differential Revision:https://reviews.freebsd.org/D26254 Reviewed by: melifaro@ MFC

svn commit: r366933 - in head: sbin/ifconfig share/man/man4 sys/net

2020-10-22 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 22 09:47:12 2020 New Revision: 366933 URL: https://svnweb.freebsd.org/changeset/base/366933 Log: Add support for IP over infiniband, IPoIB, to lagg(4). Currently only the failover protocol is supported due to limitations in the IPoIB architecture. Refer to the

svn commit: r366931 - in head/sys: kern sys

2020-10-22 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 22 09:17:56 2020 New Revision: 366931 URL: https://svnweb.freebsd.org/changeset/base/366931 Log: Implement mbuf hashing routines for IP over infiniband, IPoIB. No functional change intended. Differential Revision:https://reviews.freebsd.org/D26254

svn commit: r366930 - in head/sys: conf modules modules/if_infiniband net ofed/drivers/infiniband/ulp/ipoib

2020-10-22 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 22 09:09:53 2020 New Revision: 366930 URL: https://svnweb.freebsd.org/changeset/base/366930 Log: Factor out generic IP over infiniband, IPoIB, definitions and code into net/if_infiniband.c and net/infiniband.h . No functional change intended. Differential

svn commit: r366806 - in head/sys/dev/usb: . quirk

2020-10-18 Thread Hans Petter Selasky
Author: hselasky Date: Sun Oct 18 08:58:14 2020 New Revision: 366806 URL: https://svnweb.freebsd.org/changeset/base/366806 Log: Add new USB quirk. PR: 250422 Submitted by: vidwer+fbsdb...@gmail.com MFC after:1 week Sponsored by: Mellanox

Re: svn commit: r366372 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf

2020-10-17 Thread Hans Petter Selasky
On 2020-10-17 22:14, Sean Bruno wrote: On 2020-10-17 05:27, Alexander V. Chernikov wrote: 02.10.2020, 19:26, "Emmanuel Vadot" : Author: manu Date: Fri Oct 2 18:26:41 2020 New Revision: 366372 URL: https://svnweb.freebsd.org/changeset/base/366372 Log:   linuxkpi:

Re: svn commit: r366372 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf

2020-10-17 Thread Hans Petter Selasky
On 2020-10-17 14:34, Alexander V. Chernikov wrote: 17.10.2020, 12:32, "Hans Petter Selasky" : On 2020-10-17 13:27, Alexander V. Chernikov wrote: 02.10.2020, 19:26, "Emmanuel Vadot" mailto:m...@freebsd.org>>: Author: manu

Re: svn commit: r366372 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf

2020-10-17 Thread Hans Petter Selasky
On 2020-10-17 13:27, Alexander V. Chernikov wrote: 02.10.2020, 19:26, "Emmanuel Vadot" : Author: manu Date: Fri Oct 2 18:26:41 2020 New Revision: 366372 URL: https://svnweb.freebsd.org/changeset/base/366372 Log: linuxkpi: Add backlight support Add

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

2020-10-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri Oct 16 11:01:21 2020 New Revision: 366751 URL: https://svnweb.freebsd.org/changeset/base/366751 Log: Remove ifdefs around IS_ALIGNED() definition in the LinuxKPI. Discussed with: manu@ MFC after:1 week Sponsored by: Mellanox

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

2020-10-13 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 13 16:19:21 2020 New Revision: 39 URL: https://svnweb.freebsd.org/changeset/base/39 Log: Implement more RCU list functions in the LinuxKPI. This also fixes a bug in the existing list_add_rcu() where the prev->prev pointer was updated to the new

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

2020-10-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 8 11:30:22 2020 New Revision: 366536 URL: https://svnweb.freebsd.org/changeset/base/366536 Log: Try a bit harder to get the USB device descriptor in case the initial read fails. MFC after:1 week Sponsored by: Mellanox Technologies //

svn commit: r366535 - head/sys/kern

2020-10-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 8 11:25:19 2020 New Revision: 366535 URL: https://svnweb.freebsd.org/changeset/base/366535 Log: The ethernet header structure is read-only. Add const keyword. (This is a diff reduction towards D26254) MFC after:1 week Sponsored by:

svn commit: r366533 - head/sys/dev/evdev

2020-10-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 8 10:59:49 2020 New Revision: 366533 URL: https://svnweb.freebsd.org/changeset/base/366533 Log: Allow evdev's rcpt_mask and sysmouse_t_axis parameters to be specified in /boot/loader.conf . MFC after:1 week Sponsored by: Mellanox

svn commit: r366518 - head/sys/dev/mlx5/mlx5_core

2020-10-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 7 17:46:49 2020 New Revision: 366518 URL: https://svnweb.freebsd.org/changeset/base/366518 Log: Properly cleanup driver during remove_one() in mlx5core. Cleanup all host resources, SYSCTLs, MSIX vectors and memory used by the host and only leave the device

Re: svn commit: r366471 - head/usr.bin/backlight

2020-10-06 Thread Hans Petter Selasky
On 2020-10-06 10:05, Baptiste Daroussin wrote: Author: bapt Date: Tue Oct 6 08:05:19 2020 New Revision: 366471 URL: https://svnweb.freebsd.org/changeset/base/366471 Log: backlight: accept '%' in the brightness input value Improve friendlyness of the command line by accepting the

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

2020-10-04 Thread Hans Petter Selasky
Author: hselasky Date: Sun Oct 4 17:23:39 2020 New Revision: 366432 URL: https://svnweb.freebsd.org/changeset/base/366432 Log: Populate the acquire context field of a ww_mutex in the LinuxKPI. Bump the FreeBSD version to force recompilation of external kernel modules. MFC after:

svn commit: r366431 - head/sys/dev/usb/serial

2020-10-04 Thread Hans Petter Selasky
Author: hselasky Date: Sun Oct 4 17:17:16 2020 New Revision: 366431 URL: https://svnweb.freebsd.org/changeset/base/366431 Log: Add support for Google Cr50 (GSC) Closed Case Debugging UART interfaces to the USB generic serial port driver, ugensa. MFC after:1 week

Re: svn commit: r366265 - head/sys/sys

2020-09-29 Thread Hans Petter Selasky
On 2020-09-29 20:06, Warner Losh wrote: Author: imp Date: Tue Sep 29 18:06:02 2020 New Revision: 366265 URL: https://svnweb.freebsd.org/changeset/base/366265 Log: Standalone SX shims Create a do-nothing version of SX locks. OpenZFS needs them. However, since the boot loader is

svn commit: r365966 - in head/sys/dev/usb: . serial

2020-09-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon Sep 21 18:32:57 2020 New Revision: 365966 URL: https://svnweb.freebsd.org/changeset/base/365966 Log: Add support for Winbond USB CDC modem device found in Tenma power supply. PR: 249384 MFC after:1 week Submitted by: dar...@dons.net.au

svn commit: r365958 - head/share/man/man4

2020-09-21 Thread Hans Petter Selasky
Author: hselasky Date: Mon Sep 21 18:17:01 2020 New Revision: 365958 URL: https://svnweb.freebsd.org/changeset/base/365958 Log: Add example to ng_bpf(4) showing how ng_bpf(4) can be used to prevent spoofing. Differential Revision:https://reviews.freebsd.org/D26488 MFC after:

svn commit: r365918 - head/sys/dev/usb/controller

2020-09-19 Thread Hans Petter Selasky
Author: hselasky Date: Sat Sep 19 22:37:45 2020 New Revision: 365918 URL: https://svnweb.freebsd.org/changeset/base/365918 Log: Fix for use of the XHCI driver on Cortex-A72 by adding a missing cache flush operation before writing to the XHCI_ERSTBA_LO/HI register(s). PR: 237666

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

2020-09-14 Thread Hans Petter Selasky
Author: hselasky Date: Mon Sep 14 14:24:54 2020 New Revision: 365719 URL: https://svnweb.freebsd.org/changeset/base/365719 Log: Poll statistics more frequently in mlx5en(4). This makes traffic steering algorithms more accurate. MFC after:1 week Submitted by: gallatin @

Re: svn commit: r364740 - head/sys/contrib/openzfs

2020-09-02 Thread Hans Petter Selasky
On 2020-08-25 01:31, Matt Macy wrote: Author: mmacy Date: Mon Aug 24 23:31:26 2020 New Revision: 364740 URL: https://svnweb.freebsd.org/changeset/base/364740 Log: Initial import from vendor-sys branch of openzfs Added: head/sys/contrib/openzfs/ - copied from r364739,

svn commit: r365244 - head/sys/conf

2020-09-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 2 11:18:21 2020 New Revision: 365244 URL: https://svnweb.freebsd.org/changeset/base/365244 Log: Fix build fallout after r365054 . Make sure that building dev/sdhci/sdhci_fsl_fdt.c has all the right dependencies until a proper fix can be made.

Re: svn commit: r365054 - in head/sys: conf dev/sdhci

2020-09-02 Thread Hans Petter Selasky
Does this patch fix the problem: Index: sys/conf/files === --- sys/conf/files (revision 365234) +++ sys/conf/files (working copy) @@ -3058,7 +3058,7 @@ dev/sdhci/sdhci.c optional sdhci dev/sdhci/sdhci_fdt.c

svn commit: r365238 - head/sys/kern

2020-09-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 2 10:00:30 2020 New Revision: 365238 URL: https://svnweb.freebsd.org/changeset/base/365238 Log: Assert that cc_exec_drain(cc, direct) is NULL before assigning a new value. Suggested by: markj@ Tested by:callout_test MFC after:1 week Sponsored

svn commit: r365237 - head/sys/kern

2020-09-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 2 09:44:00 2020 New Revision: 365237 URL: https://svnweb.freebsd.org/changeset/base/365237 Log: Micro optimise _callout_stop_safe() by removing dead code. The CS_DRAIN flag cannot be set at the same time like the async-drain function pointer is set. These

svn commit: r365236 - head/sys/tests/runtest

2020-09-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 2 09:20:40 2020 New Revision: 365236 URL: https://svnweb.freebsd.org/changeset/base/365236 Log: Add small tool to invoke kernel test framework tests. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Added:

svn commit: r365235 - in head/sys: modules/epoch_test tests/epoch

2020-09-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 2 09:17:29 2020 New Revision: 365235 URL: https://svnweb.freebsd.org/changeset/base/365235 Log: Fix build of epoch_test module. While at it add missing epoch_free() call. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

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

2020-09-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Sep 1 12:21:17 2020 New Revision: 365036 URL: https://svnweb.freebsd.org/changeset/base/365036 Log: Make hardware TLS send tag allocation synchronous in mlx5en(4). Previously the send tag was setup in the background, and all packets for the given send tag were

svn commit: r365029 - head/sys/dev/usb/controller

2020-09-01 Thread Hans Petter Selasky
Author: hselasky Date: Tue Sep 1 08:14:46 2020 New Revision: 365029 URL: https://svnweb.freebsd.org/changeset/base/365029 Log: Fully revert r364379. The "Intel Sunrise Point-LP USB 3.0 controller" doesn't update the wMaxPacket field in the control endpoint context automatically causing

Re: svn commit: r364944 - head/sys/kern

2020-08-29 Thread Hans Petter Selasky
On 2020-08-29 06:29, Warner Losh wrote: +#define DEVCTL_BUFFER (1024 - sizeof(void *)) struct dev_event_info { - char *dei_data; STAILQ_ENTRY(dev_event_info) dei_link; + char dei_data[DEVCTL_BUFFER]; }; Maybe add: CTASSERT(sizeof(struct dev_event_info) == 1024); Not

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

2020-08-28 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 28 19:21:11 2020 New Revision: 364932 URL: https://svnweb.freebsd.org/changeset/base/364932 Log: Allow slow USB devices to be given more time to return their USB descriptors, like Logitech HD Pro Webcam C920. PR: 248926 MFC after:1 week

svn commit: r364860 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf modules/linuxkpi

2020-08-27 Thread Hans Petter Selasky
Author: hselasky Date: Thu Aug 27 10:28:12 2020 New Revision: 364860 URL: https://svnweb.freebsd.org/changeset/base/364860 Log: Implement extensible arrays API using the existing radix tree implementation in the LinuxKPI. Differential Revision:https://reviews.freebsd.org/D25101

  1   2   3   4   5   6   7   8   9   10   >