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

2019-05-03 Thread Hans Petter Selasky
On 2019-05-02 09:32, Hans Petter Selasky wrote: On 2019-05-02 04:26, Johannes Lundberg wrote: Author: johalun Date: Thu May  2 02:26:42 2019 New Revision: 347012 URL: https://svnweb.freebsd.org/changeset/base/347012 Log:    MFC r346712:    Don't call cdev_init where cdev_alloc is called

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

2019-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 09:38:23 2019 New Revision: 347053 URL: https://svnweb.freebsd.org/changeset/base/347053 Log: MFC r346712: Don't call cdev_init where cdev_alloc is called. cdev_alloc already handles initialization. Modified:

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

2019-05-02 Thread Hans Petter Selasky
On 2019-05-02 04:26, Johannes Lundberg wrote: Author: johalun Date: Thu May 2 02:26:42 2019 New Revision: 347012 URL: https://svnweb.freebsd.org/changeset/base/347012 Log: MFC r346712: Don't call cdev_init where cdev_alloc is called. cdev_alloc already handles initialization.

Re: svn commit: r341586 - head/sys/dev/mlx5/mlx5_en

2019-05-01 Thread Hans Petter Selasky
Hi, Try this first: https://reviews.freebsd.org/D20117 --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

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

2019-04-30 Thread Hans Petter Selasky
On 4/30/19 3:10 PM, Niclas Zeising wrote: On 2019-04-30 12:41, Hans Petter Selasky wrote: Author: hselasky Date: Tue Apr 30 10:41:20 2019 New Revision: 346958 URL: https://svnweb.freebsd.org/changeset/base/346958 Log:    Reduce the number of mutexes after r346645 in the LinuxKPI.    Make

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

2019-04-30 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 30 10:41:20 2019 New Revision: 346958 URL: https://svnweb.freebsd.org/changeset/base/346958 Log: Reduce the number of mutexes after r346645 in the LinuxKPI. Make function macro wrappers for locking and unlocking to ease readability. No functional change.

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

2019-04-30 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 30 09:38:22 2019 New Revision: 346957 URL: https://svnweb.freebsd.org/changeset/base/346957 Log: Make the dma_pool structure private to the LinuxKPI similar to Linux. No functional change. Discussed with: kib @ Sponsored by:

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

2019-04-30 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 30 09:26:11 2019 New Revision: 346956 URL: https://svnweb.freebsd.org/changeset/base/346956 Log: Store a pointer to the device instead of the PCI device in the DMA pool implementation in the LinuxKPI. This avoids use of container_of(). No functional change.

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

2019-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 25 12:02:17 2019 New Revision: 346669 URL: https://svnweb.freebsd.org/changeset/base/346669 Log: MFC r346229 and r346248: Fix spelling and remove superfluous USB keyword. Submitted by: Dmitry Luhtionov Sponsored by: Mellanox Technologies

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

2019-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 25 12:00:06 2019 New Revision: 346667 URL: https://svnweb.freebsd.org/changeset/base/346667 Log: MFC r346229 and r346248: Fix spelling and remove superfluous USB keyword. Submitted by: Dmitry Luhtionov Sponsored by: Mellanox Technologies

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

2019-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 25 12:01:11 2019 New Revision: 346668 URL: https://svnweb.freebsd.org/changeset/base/346668 Log: MFC r346229 and r346248: Fix spelling and remove superfluous USB keyword. Submitted by: Dmitry Luhtionov Sponsored by: Mellanox Technologies

svn commit: r346666 - in stable/11: lib/libcuse sys/fs/cuse

2019-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 25 11:57:34 2019 New Revision: 34 URL: https://svnweb.freebsd.org/changeset/base/34 Log: MFC r346356: Implement flag for telling cuse(3) clients if the peer is running in 32-bit compat mode or not. This is useful when implementing compatibility

svn commit: r346665 - in stable/12: lib/libcuse sys/fs/cuse

2019-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 25 11:56:07 2019 New Revision: 346665 URL: https://svnweb.freebsd.org/changeset/base/346665 Log: MFC r346356: Implement flag for telling cuse(3) clients if the peer is running in 32-bit compat mode or not. This is useful when implementing compatibility

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

2019-04-25 Thread Hans Petter Selasky
On 4/25/19 8:09 AM, Li-Wen Hsu wrote: On Thu, Apr 25, 2019 at 5:31 AM Tycho Nightingale wrote: Author: tychon Date: Wed Apr 24 20:30:45 2019 New Revision: 346645 URL: https://svnweb.freebsd.org/changeset/base/346645 ... Modified: head/sys/compat/linuxkpi/common/src/linux_pci.c

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

2019-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 25 09:13:15 2019 New Revision: 346664 URL: https://svnweb.freebsd.org/changeset/base/346664 Log: LinuxKPI buildfix for 32-bit DMA architectures after r346645. The APIs expect a 64-bit DMA key. This is fine as long as the DMA is less than or equal to 64

svn commit: r346581 - in head/sys: netinet netinet6

2019-04-22 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 22 19:36:19 2019 New Revision: 346581 URL: https://svnweb.freebsd.org/changeset/base/346581 Log: Revert r346530 until further. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/netinet/ip_reass.c

Re: Panic with r346530 [Re: svn commit: r346530 - in head/sys: netinet netinet6]

2019-04-22 Thread Hans Petter Selasky
On 4/22/19 3:28 PM, Kristof Provost wrote: On 22 Apr 2019, at 12:25, Enji Cooper wrote: Either the sys/netinet/ or sys/netipsec/ tests triggered the panic. Not sure which right now. That looks to be happening during a vnet jail teardown, so it’s likely the sys/netipsec or sys/netpfil/pf

Re: svn commit: r346530 - in head/sys: netinet netinet6

2019-04-22 Thread Hans Petter Selasky
On 4/22/19 10:10 AM, Hans Petter Selasky wrote: On 4/22/19 9:52 AM, Enji Cooper wrote: On Apr 22, 2019, at 12:27 AM, Hans Petter Selasky wrote: Author: hselasky Date: Mon Apr 22 07:27:24 2019 New Revision: 346530 URL: https://svnweb.freebsd.org/changeset/base/346530 Log:   Fix panic

svn commit: r346535 - in head/sys: netinet netinet6

2019-04-22 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 22 08:32:00 2019 New Revision: 346535 URL: https://svnweb.freebsd.org/changeset/base/346535 Log: Fix build for mips and powerpc after r346530. Need to include sys/kernel.h to define SYSINIT() which is used by sys/eventhandler.h . MFC after:

Re: svn commit: r346530 - in head/sys: netinet netinet6

2019-04-22 Thread Hans Petter Selasky
On 4/22/19 9:52 AM, Enji Cooper wrote: On Apr 22, 2019, at 12:27 AM, Hans Petter Selasky wrote: Author: hselasky Date: Mon Apr 22 07:27:24 2019 New Revision: 346530 URL: https://svnweb.freebsd.org/changeset/base/346530 Log: Fix panic in network stack due to memory use after free

svn commit: r346530 - in head/sys: netinet netinet6

2019-04-22 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 22 07:27:24 2019 New Revision: 346530 URL: https://svnweb.freebsd.org/changeset/base/346530 Log: Fix panic in network stack due to memory use after free in relation to fragmented packets. When sending IPv4 and IPv6 fragmented packets and a fragment is lost,

svn commit: r346356 - in head: lib/libcuse sys/fs/cuse

2019-04-18 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 18 19:04:07 2019 New Revision: 346356 URL: https://svnweb.freebsd.org/changeset/base/346356 Log: Implement flag for telling cuse(3) clients if the peer is running in 32-bit compat mode or not. This is useful when implementing compatibility ioctl(2) handlers in

Re: svn commit: r341586 - head/sys/dev/mlx5/mlx5_en

2019-04-16 Thread Hans Petter Selasky
On 4/16/19 4:39 PM, Andrey V. Elsukov wrote: On 05.12.2018 17:25, Slava Shwartsman wrote: Author: slavash Date: Wed Dec 5 14:25:03 2018 New Revision: 341586 URL: https://svnweb.freebsd.org/changeset/base/341586 Log: mlx5en: Implement backpressure indication. The backpressure

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

2019-04-15 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 15 17:32:38 2019 New Revision: 346248 URL: https://svnweb.freebsd.org/changeset/base/346248 Log: Remove superfluous USB keyword. Discussed with: danfe@ MFC after:1 week Sponsored by: Mellanox Technologies Modified:

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

2019-04-15 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 15 14:32:19 2019 New Revision: 346229 URL: https://svnweb.freebsd.org/changeset/base/346229 Log: Fix spelling. Submitted by: Dmitry Luhtionov MFC after:1 week Sponsored by: Mellanox Technologies Modified:

Re: svn commit: r345900 - head/sbin/fsck_msdosfs

2019-04-05 Thread Hans Petter Selasky
On 4/5/19 9:51 PM, Conrad Meyer wrote: static const u_char dot_name[11] = ". "; static const u_char dotdot_name[11] = ".. "; Seems more clear to me. Using this syntax will include a terminating zero. --HPS ___

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:39:21 2019 New Revision: 345946 URL: https://svnweb.freebsd.org/changeset/base/345946 Log: MFC r345633: Add new USB PCI ID. Submitted by: Dmitry Luhtionov Sponsored by: Mellanox Technologies Modified:

svn commit: r345944 - stable/9/sys/sys

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:37:17 2019 New Revision: 345944 URL: https://svnweb.freebsd.org/changeset/base/345944 Log: MFC r345499: Change all kernel C-type macros into static inline functions. The current kernel C-type macros might obscurely hide the fact that the input

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:38:34 2019 New Revision: 345945 URL: https://svnweb.freebsd.org/changeset/base/345945 Log: MFC r345633: Add new USB PCI ID. Submitted by: Dmitry Luhtionov Sponsored by: Mellanox Technologies Modified:

svn commit: r345943 - stable/10/sys/sys

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:35:58 2019 New Revision: 345943 URL: https://svnweb.freebsd.org/changeset/base/345943 Log: MFC r345499: Change all kernel C-type macros into static inline functions. The current kernel C-type macros might obscurely hide the fact that the input

svn commit: r345942 - stable/12/sys/sys

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:35:02 2019 New Revision: 345942 URL: https://svnweb.freebsd.org/changeset/base/345942 Log: MFC r345499: Change all kernel C-type macros into static inline functions. The current kernel C-type macros might obscurely hide the fact that the input

svn commit: r345941 - stable/11/sys/sys

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:34:13 2019 New Revision: 345941 URL: https://svnweb.freebsd.org/changeset/base/345941 Log: MFC r345499: Change all kernel C-type macros into static inline functions. The current kernel C-type macros might obscurely hide the fact that the input

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:33:11 2019 New Revision: 345940 URL: https://svnweb.freebsd.org/changeset/base/345940 Log: MFC r345109: Implement sg_virt() function in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:32:57 2019 New Revision: 345939 URL: https://svnweb.freebsd.org/changeset/base/345939 Log: MFC r345109: Implement sg_virt() function in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:31:52 2019 New Revision: 345938 URL: https://svnweb.freebsd.org/changeset/base/345938 Log: MFC r345108: Define SG_CHAIN and SG_END in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:31:37 2019 New Revision: 345937 URL: https://svnweb.freebsd.org/changeset/base/345937 Log: MFC r345108: Define SG_CHAIN and SG_END in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:30:13 2019 New Revision: 345935 URL: https://svnweb.freebsd.org/changeset/base/345935 Log: MFC r345107: Implement pr_info_ratelimited() function macro in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:30:27 2019 New Revision: 345936 URL: https://svnweb.freebsd.org/changeset/base/345936 Log: MFC r345107: Implement pr_info_ratelimited() function macro in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:29:05 2019 New Revision: 345934 URL: https://svnweb.freebsd.org/changeset/base/345934 Log: MFC r345106: Define some RCU debug macros in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:28:50 2019 New Revision: 345933 URL: https://svnweb.freebsd.org/changeset/base/345933 Log: MFC r345106: Define some RCU debug macros in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:27:48 2019 New Revision: 345932 URL: https://svnweb.freebsd.org/changeset/base/345932 Log: MFC r345105: Honor SYSCTL function return values when creating sysfs nodes in the LinuxKPI. Return proper error code upon failure. Submitted by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:27:35 2019 New Revision: 345931 URL: https://svnweb.freebsd.org/changeset/base/345931 Log: MFC r345105: Honor SYSCTL function return values when creating sysfs nodes in the LinuxKPI. Return proper error code upon failure. Submitted by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:26:18 2019 New Revision: 345929 URL: https://svnweb.freebsd.org/changeset/base/345929 Log: MFC r345104: Implement more malloc function macros in the LinuxKPI. Fix arguments for currently unused kvmalloc(). Submitted by: Johannes Lundberg

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:26:33 2019 New Revision: 345930 URL: https://svnweb.freebsd.org/changeset/base/345930 Log: MFC r345104: Implement more malloc function macros in the LinuxKPI. Fix arguments for currently unused kvmalloc(). Submitted by: Johannes Lundberg

svn commit: r345927 - in stable/11/sys/compat/linuxkpi/common: include/linux src

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:24:05 2019 New Revision: 345927 URL: https://svnweb.freebsd.org/changeset/base/345927 Log: MFC r345101: Implement si_meminfo() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:24:14 2019 New Revision: 345928 URL: https://svnweb.freebsd.org/changeset/base/345928 Log: MFC r345101: Implement si_meminfo() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:21:00 2019 New Revision: 345926 URL: https://svnweb.freebsd.org/changeset/base/345926 Log: MFC r345099: Implement get_task_comm() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:20:44 2019 New Revision: 345925 URL: https://svnweb.freebsd.org/changeset/base/345925 Log: MFC r345099: Implement get_task_comm() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

svn commit: r345924 - in stable/11/sys/compat/linuxkpi/common: include/linux src

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:19:23 2019 New Revision: 345924 URL: https://svnweb.freebsd.org/changeset/base/345924 Log: MFC r345098: Implement current_exiting() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:19:07 2019 New Revision: 345923 URL: https://svnweb.freebsd.org/changeset/base/345923 Log: MFC r345098: Implement current_exiting() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:17:27 2019 New Revision: 345922 URL: https://svnweb.freebsd.org/changeset/base/345922 Log: MFC r345097: Implement list_for_each_entry_from_reverse() and list_bulk_move_tail() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:17:12 2019 New Revision: 345921 URL: https://svnweb.freebsd.org/changeset/base/345921 Log: MFC r345097: Implement list_for_each_entry_from_reverse() and list_bulk_move_tail() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:16:06 2019 New Revision: 345920 URL: https://svnweb.freebsd.org/changeset/base/345920 Log: MFC r345096: Implement dma_map_page_attrs() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:15:48 2019 New Revision: 345919 URL: https://svnweb.freebsd.org/changeset/base/345919 Log: MFC r345096: Implement dma_map_page_attrs() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:14:27 2019 New Revision: 345918 URL: https://svnweb.freebsd.org/changeset/base/345918 Log: MFC r345095 and r345110: Implement ida_free() and ida_alloc_max() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:14:01 2019 New Revision: 345917 URL: https://svnweb.freebsd.org/changeset/base/345917 Log: MFC r345095 and r345110: Implement ida_free() and ida_alloc_max() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:11:35 2019 New Revision: 345916 URL: https://svnweb.freebsd.org/changeset/base/345916 Log: MFC r345094: Implement DEFINE_STATIC_SRCU() function macro in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:11:20 2019 New Revision: 345915 URL: https://svnweb.freebsd.org/changeset/base/345915 Log: MFC r345094: Implement DEFINE_STATIC_SRCU() function macro in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:10:27 2019 New Revision: 345914 URL: https://svnweb.freebsd.org/changeset/base/345914 Log: MFC r345093: Implement BITS_PER_TYPE() function macro in the LinuxKPI. Fix some style while at it. Submitted by: Johannes Lundberg Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:10:09 2019 New Revision: 345913 URL: https://svnweb.freebsd.org/changeset/base/345913 Log: MFC r345093: Implement BITS_PER_TYPE() function macro in the LinuxKPI. Fix some style while at it. Submitted by: Johannes Lundberg Sponsored by:

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:08:50 2019 New Revision: 345912 URL: https://svnweb.freebsd.org/changeset/base/345912 Log: MFC r345092: Properly define the DMA attribute values in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:08:35 2019 New Revision: 345911 URL: https://svnweb.freebsd.org/changeset/base/345911 Log: MFC r345092: Properly define the DMA attribute values in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:07:15 2019 New Revision: 345909 URL: https://svnweb.freebsd.org/changeset/base/345909 Log: MFC r345091: Implement dev_err_once() function macro in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:07:29 2019 New Revision: 345910 URL: https://svnweb.freebsd.org/changeset/base/345910 Log: MFC r345091: Implement dev_err_once() function macro in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:06:15 2019 New Revision: 345908 URL: https://svnweb.freebsd.org/changeset/base/345908 Log: MFC r345090: Implement dma_set_mask_and_coherent() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks

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

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 11:05:55 2019 New Revision: 345907 URL: https://svnweb.freebsd.org/changeset/base/345907 Log: MFC r345090: Implement dma_set_mask_and_coherent() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight Networks

svn commit: r345906 - stable/11/sys/sparc64/include

2019-04-05 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 5 10:00:40 2019 New Revision: 345906 URL: https://svnweb.freebsd.org/changeset/base/345906 Log: MFC r336832: Implement atomic_swap_{32,64,int,long,ptr}(9). Modified: stable/11/sys/sparc64/include/atomic.h Directory Properties: stable/11/ (props changed)

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

2019-03-28 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 28 09:00:56 2019 New Revision: 345633 URL: https://svnweb.freebsd.org/changeset/base/345633 Log: Add new USB PCI ID. Submitted by: Dmitry Luhtionov MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r345546 - in stable/10/sys/dev: sound/usb usb usb/quirk

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:53:33 2019 New Revision: 345546 URL: https://svnweb.freebsd.org/changeset/base/345546 Log: MFC r342961: snd_uaudio: Add quirks for Edirol UA-25EX in advanced driver mode. Extend the vendor class USB audio quirk to cover devices without the USB audio

svn commit: r345545 - in stable/11/sys/dev: sound/usb usb usb/quirk

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:52:46 2019 New Revision: 345545 URL: https://svnweb.freebsd.org/changeset/base/345545 Log: MFC r342961: snd_uaudio: Add quirks for Edirol UA-25EX in advanced driver mode. Extend the vendor class USB audio quirk to cover devices without the USB audio

svn commit: r345544 - in stable/12/sys/dev: sound/usb usb usb/quirk

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:52:01 2019 New Revision: 345544 URL: https://svnweb.freebsd.org/changeset/base/345544 Log: MFC r342961: snd_uaudio: Add quirks for Edirol UA-25EX in advanced driver mode. Extend the vendor class USB audio quirk to cover devices without the USB audio

svn commit: r345543 - in stable/11/sys/dev/usb: . quirk

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:49:44 2019 New Revision: 345543 URL: https://svnweb.freebsd.org/changeset/base/345543 Log: MFC r343352: Add USB quirk. Submitted by: Gary Jennejohn Sponsored by: Mellanox Technologies Modified:

svn commit: r345542 - in stable/12/sys/dev/usb: . quirk

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:48:59 2019 New Revision: 345542 URL: https://svnweb.freebsd.org/changeset/base/345542 Log: MFC r343352: Add USB quirk. Submitted by: Gary Jennejohn Sponsored by: Mellanox Technologies Modified:

svn commit: r345541 - stable/10/lib/libusb

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:46:47 2019 New Revision: 345541 URL: https://svnweb.freebsd.org/changeset/base/345541 Log: MFC r344795: Fix typos in libusb. Found by: Denis Ahrens Sponsored by: Mellanox Technologies Modified: stable/10/lib/libusb/libusb10.c

svn commit: r345540 - stable/11/lib/libusb

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:46:00 2019 New Revision: 345540 URL: https://svnweb.freebsd.org/changeset/base/345540 Log: MFC r344795: Fix typos in libusb. Found by: Denis Ahrens Sponsored by: Mellanox Technologies Modified: stable/11/lib/libusb/libusb10.c

svn commit: r345539 - stable/12/lib/libusb

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:45:11 2019 New Revision: 345539 URL: https://svnweb.freebsd.org/changeset/base/345539 Log: MFC r344795: Fix typos in libusb. Found by: Denis Ahrens Sponsored by: Mellanox Technologies Modified: stable/12/lib/libusb/libusb10.c

svn commit: r345538 - stable/11/sys/dev/mlx4/mlx4_core

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:43:32 2019 New Revision: 345538 URL: https://svnweb.freebsd.org/changeset/base/345538 Log: MFC r345011: Eliminate useless warning message when reading sysctl node in mlx4core. Sponsored by: Mellanox Technologies Modified:

svn commit: r345537 - stable/12/sys/dev/mlx4/mlx4_core

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:42:44 2019 New Revision: 345537 URL: https://svnweb.freebsd.org/changeset/base/345537 Log: MFC r345011: Eliminate useless warning message when reading sysctl node in mlx4core. Sponsored by: Mellanox Technologies Modified:

svn commit: r345536 - stable/11/sys/dev/mlx4/mlx4_core

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:41:27 2019 New Revision: 345536 URL: https://svnweb.freebsd.org/changeset/base/345536 Log: MFC r345010: Improve support for switching to and from command polling mode in mlx4core. Make sure the enter and leave polling routines can be called multiple

svn commit: r345534 - stable/11/sys/dev/mlx4/mlx4_en

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:38:49 2019 New Revision: 345534 URL: https://svnweb.freebsd.org/changeset/base/345534 Log: MFC r344920: Teardown ifnet after stopping port in the mlx4en(4) driver. mlx4_en_stop_port() calls mlx4_en_put_qp() which can refer the link level address of

svn commit: r345535 - stable/12/sys/dev/mlx4/mlx4_core

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:40:33 2019 New Revision: 345535 URL: https://svnweb.freebsd.org/changeset/base/345535 Log: MFC r345010: Improve support for switching to and from command polling mode in mlx4core. Make sure the enter and leave polling routines can be called multiple

svn commit: r345533 - stable/12/sys/dev/mlx4/mlx4_en

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:37:56 2019 New Revision: 345533 URL: https://svnweb.freebsd.org/changeset/base/345533 Log: MFC r344920: Teardown ifnet after stopping port in the mlx4en(4) driver. mlx4_en_stop_port() calls mlx4_en_put_qp() which can refer the link level address of

svn commit: r345532 - stable/11/sys/dev/mlx4/mlx4_en

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:35:23 2019 New Revision: 345532 URL: https://svnweb.freebsd.org/changeset/base/345532 Log: MFC r344919: Don't hold state lock while detaching network device instance in mlx4en(4). It can happen during shutdown that the lock will recurse when the

svn commit: r345531 - stable/12/sys/dev/mlx4/mlx4_en

2019-03-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 26 13:33:36 2019 New Revision: 345531 URL: https://svnweb.freebsd.org/changeset/base/345531 Log: MFC r344919: Don't hold state lock while detaching network device instance in mlx4en(4). It can happen during shutdown that the lock will recurse when the

svn commit: r345499 - head/sys/sys

2019-03-25 Thread Hans Petter Selasky
Author: hselasky Date: Mon Mar 25 13:50:38 2019 New Revision: 345499 URL: https://svnweb.freebsd.org/changeset/base/345499 Log: Change all kernel C-type macros into static inline functions. The current kernel C-type macros might obscurely hide the fact that the input argument might be

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

2019-03-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 14 09:18:54 2019 New Revision: 345127 URL: https://svnweb.freebsd.org/changeset/base/345127 Log: Revert r345102 until the DRM next port issues are resolved. Requested by: Johannes Lundberg MFC after:1 week Sponsored by:

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 19:53:20 2019 New Revision: 345110 URL: https://svnweb.freebsd.org/changeset/base/345110 Log: Resolve duplicate symbol name conflict after r345095, when building LINT. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

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

2019-03-13 Thread Hans Petter Selasky
On 3/13/19 8:14 PM, Konstantin Belousov wrote: On Wed, Mar 13, 2019 at 06:55:42PM +, Hans Petter Selasky wrote: Author: hselasky Date: Wed Mar 13 18:55:41 2019 New Revision: 345100 URL: https://svnweb.freebsd.org/changeset/base/345100 Log: Implement task_euid() and get_task_state

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 19:31:33 2019 New Revision: 345109 URL: https://svnweb.freebsd.org/changeset/base/345109 Log: Implement sg_virt() function in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Limelight Networks

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 19:30:40 2019 New Revision: 345108 URL: https://svnweb.freebsd.org/changeset/base/345108 Log: Define SG_CHAIN and SG_END in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Limelight Networks

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 19:26:24 2019 New Revision: 345107 URL: https://svnweb.freebsd.org/changeset/base/345107 Log: Implement pr_info_ratelimited() function macro in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by:

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 19:24:30 2019 New Revision: 345106 URL: https://svnweb.freebsd.org/changeset/base/345106 Log: Define some RCU debug macros in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Limelight Networks

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 19:21:19 2019 New Revision: 345105 URL: https://svnweb.freebsd.org/changeset/base/345105 Log: Honor SYSCTL function return values when creating sysfs nodes in the LinuxKPI. Return proper error code upon failure. Submitted by: Johannes Lundberg

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 19:17:52 2019 New Revision: 345104 URL: https://svnweb.freebsd.org/changeset/base/345104 Log: Implement more malloc function macros in the LinuxKPI. Fix arguments for currently unused kvmalloc(). Submitted by: Johannes Lundberg MFC after:

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 19:15:36 2019 New Revision: 345103 URL: https://svnweb.freebsd.org/changeset/base/345103 Log: Implement more PCI speed related functions and macros in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by:

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 19:04:06 2019 New Revision: 345102 URL: https://svnweb.freebsd.org/changeset/base/345102 Log: Implement IS_ALIGNED() and DIV_ROUND_DOWN_ULL() function macros in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 19:01:55 2019 New Revision: 345101 URL: https://svnweb.freebsd.org/changeset/base/345101 Log: Implement si_meminfo() in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Limelight Networks

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 18:55:41 2019 New Revision: 345100 URL: https://svnweb.freebsd.org/changeset/base/345100 Log: Implement task_euid() and get_task_state() function macros in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 18:53:29 2019 New Revision: 345099 URL: https://svnweb.freebsd.org/changeset/base/345099 Log: Implement get_task_comm() in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Limelight Networks

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

2019-03-13 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 13 18:51:33 2019 New Revision: 345098 URL: https://svnweb.freebsd.org/changeset/base/345098 Log: Implement current_exiting() in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:1 week Sponsored by: Limelight Networks

<    9   10   11   12   13   14   15   16   17   18   >