svn commit: r345976 - head/sbin/fsck_msdosfs

2019-04-05 Thread Xin LI
Author: delphij Date: Sat Apr 6 03:42:15 2019 New Revision: 345976 URL: https://svnweb.freebsd.org/changeset/base/345976 Log: Write string constant differently to improve readability. Reported by: rgrimes Reviewed by: rgrimes, emaste MFC after:13 days Differential Revision:

svn commit: r345975 - head/sys/powerpc/powernv

2019-04-05 Thread Justin Hibbits
Author: jhibbits Date: Sat Apr 6 02:39:56 2019 New Revision: 345975 URL: https://svnweb.freebsd.org/changeset/base/345975 Log: powerpc/powernv: Fix major bugs in opal_flash * The BIO bio_data may not be page aligned. Only the base address of each page worth of data is extracted to

svn commit: r345974 - head/sys/powerpc/powernv

2019-04-05 Thread Justin Hibbits
Author: jhibbits Date: Sat Apr 6 02:31:01 2019 New Revision: 345974 URL: https://svnweb.freebsd.org/changeset/base/345974 Log: powerpc/powernv: Fix issues in opal_async * Properly return the full opal_msg from an async completion. * Don't keep bugging OPAL, wait 100us or so. With some

svn commit: r345972 - in stable/12/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/nandfs fs/nfsclient kern ufs/ufs

2019-04-05 Thread Simon J. Gerraty
Author: sjg Date: Fri Apr 5 23:34:46 2019 New Revision: 345972 URL: https://svnweb.freebsd.org/changeset/base/345972 Log: Add _PC_ACL_* to vop_stdpathconf This avoid EINVAL from tmpfs etc. Merge of r345024 Reviewed by:kib Differential Revision:

Re: svn commit: r345970 - head/libexec/rc

2019-04-05 Thread Rodney W. Grimes
> Author: eugen > Date: Fri Apr 5 22:45:08 2019 > New Revision: 345970 > URL: https://svnweb.freebsd.org/changeset/base/345970 > > Log: > network.subr: improve configuration of cloned gif(4) interfaces > > ifconfig(8) syntax allows to specify only single address_family, > so we

svn commit: r345971 - vendor-sys/acpica/20190405

2019-04-05 Thread Jung-uk Kim
Author: jkim Date: Fri Apr 5 22:45:43 2019 New Revision: 345971 URL: https://svnweb.freebsd.org/changeset/base/345971 Log: Tag ACPICA 20190405. Added: vendor-sys/acpica/20190405/ - copied from r345970, vendor-sys/acpica/dist/ ___ svn-src-all

svn commit: r345970 - head/libexec/rc

2019-04-05 Thread Eugene Grosbein
Author: eugen Date: Fri Apr 5 22:45:08 2019 New Revision: 345970 URL: https://svnweb.freebsd.org/changeset/base/345970 Log: network.subr: improve configuration of cloned gif(4) interfaces ifconfig(8) syntax allows to specify only single address_family, so we need additional invocation

svn commit: r345969 - in vendor-sys/acpica/dist: . source/common source/compiler source/components/events source/components/namespace source/include

2019-04-05 Thread Jung-uk Kim
Author: jkim Date: Fri Apr 5 22:45:01 2019 New Revision: 345969 URL: https://svnweb.freebsd.org/changeset/base/345969 Log: Import ACPICA 20190405. Modified: vendor-sys/acpica/dist/changes.txt vendor-sys/acpica/dist/source/common/adisasm.c vendor-sys/acpica/dist/source/compiler

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

2019-04-05 Thread Conrad Meyer
On Fri, Apr 5, 2019 at 12:56 PM Hans Petter Selasky wrote: > > 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

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

2019-04-05 Thread Rodney W. Grimes
> On Apr 5, 2019, at 13:22, Rodney W. Grimes wrote: > > >>> On Fri, Apr 5, 2019 at 6:49 AM Ed Maste wrote: > >>> > On Fri, 5 Apr 2019 at 00:49, Rodney W. Grimes > wrote: > > >>> > > +static const u_char dot_name[] = { > > + '.', ' ',' ',' ',' ',' ',' ',' ',' ','

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

2019-04-05 Thread Enji Cooper
On Apr 5, 2019, at 13:22, Rodney W. Grimes wrote: >>> On Fri, Apr 5, 2019 at 6:49 AM Ed Maste wrote: >>> On Fri, 5 Apr 2019 at 00:49, Rodney W. Grimes wrote: >>> > +static const u_char dot_name[] = { > + '.', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; >

Re: svn commit: r345967 - head/contrib/libxo/libxo

2019-04-05 Thread Enji Cooper
> On Apr 5, 2019, at 12:42, Phil Shafer wrote: > > Author: phil > Date: Fri Apr 5 19:42:54 2019 > New Revision: 345967 > URL: https://svnweb.freebsd.org/changeset/base/345967 > > Log: > Emergency fix for NULL deref in xo_xml_leader_len Could you please add a test for this as well upstream?

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

2019-04-05 Thread Konstantin Belousov
On Fri, Apr 05, 2019 at 09:55:43PM +0200, Hans Petter Selasky wrote: > 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

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

2019-04-05 Thread Rodney W. Grimes
> On Fri, Apr 5, 2019 at 6:49 AM Ed Maste wrote: > > > > On Fri, 5 Apr 2019 at 00:49, Rodney W. Grimes > > wrote: > > > > > > > > > +static const u_char dot_name[] = { > > > > + '.', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; > > > > +static const u_char dotdot_name[] = { > > > > + '.',

svn commit: r345968 - head/usr.sbin/devctl

2019-04-05 Thread Konstantin Belousov
Author: kib Date: Fri Apr 5 20:12:19 2019 New Revision: 345968 URL: https://svnweb.freebsd.org/changeset/base/345968 Log: Fix gcc warning about shadowed global. Sponsored by: Mellanox Technologies MFC after:2 weeks Modified: head/usr.sbin/devctl/devctl.c Modified:

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

2019-04-05 Thread Xin LI
On Fri, Apr 5, 2019 at 12:56 PM Hans Petter Selasky wrote: > 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

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 ___

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

2019-04-05 Thread Conrad Meyer
On Fri, Apr 5, 2019 at 6:49 AM Ed Maste wrote: > > On Fri, 5 Apr 2019 at 00:49, Rodney W. Grimes > wrote: > > > > > > +static const u_char dot_name[] = { > > > + '.', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; > > > +static const u_char dotdot_name[] = { > > > + '.', '.',' ',' ',' ','

svn commit: r345967 - head/contrib/libxo/libxo

2019-04-05 Thread Phil Shafer
Author: phil Date: Fri Apr 5 19:42:54 2019 New Revision: 345967 URL: https://svnweb.freebsd.org/changeset/base/345967 Log: Emergency fix for NULL deref in xo_xml_leader_len Modified: head/contrib/libxo/libxo/libxo.c Modified: head/contrib/libxo/libxo/libxo.c

svn commit: r345966 - in head: lib/libdevctl usr.sbin/devctl

2019-04-05 Thread Konstantin Belousov
Author: kib Date: Fri Apr 5 19:32:26 2019 New Revision: 345966 URL: https://svnweb.freebsd.org/changeset/base/345966 Log: Implement devctl(8) command 'reset', using DEV_RESET /dev/devctl2 ioctl. Reviewed by: imp (previous version), jhb (previous version) Sponsored by: Mellanox

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

2019-04-05 Thread Konstantin Belousov
Author: kib Date: Fri Apr 5 19:31:26 2019 New Revision: 345965 URL: https://svnweb.freebsd.org/changeset/base/345965 Log: Add DEV_RESET /dev/devctl2 ioctl. It performs BUS_RESET_CHILD() on the parental bus and the specified device. Reviewed by: imp (previous version), jhb

svn commit: r345964 - head/sys/dev/smartpqi

2019-04-05 Thread Konstantin Belousov
Author: kib Date: Fri Apr 5 19:27:51 2019 New Revision: 345964 URL: https://svnweb.freebsd.org/changeset/base/345964 Log: Remove single-use DEV_RESET() macro. It conflicts with the sys/bus.h DEV_XXX namespace. Reviewed by: imp (previous version), jhb (previous version) Sponsored

svn commit: r345963 - in head/sys: amd64/vmm/io dev/pci

2019-04-05 Thread Konstantin Belousov
Author: kib Date: Fri Apr 5 19:25:26 2019 New Revision: 345963 URL: https://svnweb.freebsd.org/changeset/base/345963 Log: Implement resets for PCI buses and PCIe bridges. For PCI device (i.e. child of a PCI bus), reset tries FLR if implemented and worked, and falls to power reset

svn commit: r345961 - stable/12/share/man/man4

2019-04-05 Thread Guangyuan Yang
Author: ygy (doc committer) Date: Fri Apr 5 18:17:11 2019 New Revision: 345961 URL: https://svnweb.freebsd.org/changeset/base/345961 Log: MFC r345816: Correct SMC definition in asmc(4) man page. PR: 236954 Submitted by: fbsdbu...@sentry.org Modified:

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

2019-04-05 Thread Konstantin Belousov
Author: kib Date: Fri Apr 5 18:09:22 2019 New Revision: 345960 URL: https://svnweb.freebsd.org/changeset/base/345960 Log: Provide newbus infrastructure for initiating device reset. The methods BUS_RESET_PREPARE(), BUS_RESET(), and BUS_RESET_POST() should be implemented by bus which can

svn commit: r345959 - head/lib/libdevctl

2019-04-05 Thread Konstantin Belousov
Author: kib Date: Fri Apr 5 17:54:31 2019 New Revision: 345959 URL: https://svnweb.freebsd.org/changeset/base/345959 Log: Add __BEGIN_DECLS/__END_DECLS braces to libdevctl header. Reviewed by: imp (previous version), jhb (previous version) Sponsored by: Mellanox Technologies MFC

svn commit: r345957 - head/usr.sbin/bhyve

2019-04-05 Thread Chuck Tuffli
Author: chuck Date: Fri Apr 5 16:54:20 2019 New Revision: 345957 URL: https://svnweb.freebsd.org/changeset/base/345957 Log: bhyve: Fix NVMe data structure copy to guest bhyve's NVMe emulation was transferring Identify data back to the guest incorrectly causing memory corruptions. These

svn commit: r345956 - head/usr.sbin/bhyve

2019-04-05 Thread Chuck Tuffli
Author: chuck Date: Fri Apr 5 16:54:16 2019 New Revision: 345956 URL: https://svnweb.freebsd.org/changeset/base/345956 Log: bhyve: Fix NVMe BAR size calculation The NVMe specification defines bits 13:4 of BAR0 as Reserved (i.e. 0x0). Most drivers do not enforce this, but the Windows

svn commit: r345955 - head/sys/kern

2019-04-05 Thread Konstantin Belousov
Author: kib Date: Fri Apr 5 16:14:16 2019 New Revision: 345955 URL: https://svnweb.freebsd.org/changeset/base/345955 Log: vn_vmap_seekhole(): align running offset to the block boundary. Otherwise we might miss the last iteration where EOF appears below unaligned noff. Reported and

svn commit: r345952 - in stable: 11/contrib/llvm/tools/clang/lib/CodeGen 12/contrib/llvm/tools/clang/lib/CodeGen

2019-04-05 Thread Dimitry Andric
Author: dim Date: Fri Apr 5 16:09:23 2019 New Revision: 345952 URL: https://svnweb.freebsd.org/changeset/base/345952 Log: MFC r345806: Pull in r357362 from upstream clang trunk (by David Chisnall): [objc-gnustep] Use .init_array not .ctors when requested. This doesn't make a

svn commit: r345953 - stable/12/usr.bin/top

2019-04-05 Thread Dimitry Andric
Author: dim Date: Fri Apr 5 16:12:31 2019 New Revision: 345953 URL: https://svnweb.freebsd.org/changeset/base/345953 Log: MFC r345807: Fix regression in top(1) after r344381, causing informational messages to no longer be displayed. This was because the reimplementation of

svn commit: r345954 - head/sys/vm

2019-04-05 Thread Konstantin Belousov
Author: kib Date: Fri Apr 5 16:12:35 2019 New Revision: 345954 URL: https://svnweb.freebsd.org/changeset/base/345954 Log: Fix mis-merge. Amusingly, it is nop. Noted by: trasz Sponsored by: The FreeBSD Foundation MFC after:1 week X-MFC-rev:r345702 Modified:

svn commit: r345952 - in stable: 11/contrib/llvm/tools/clang/lib/CodeGen 12/contrib/llvm/tools/clang/lib/CodeGen

2019-04-05 Thread Dimitry Andric
Author: dim Date: Fri Apr 5 16:09:23 2019 New Revision: 345952 URL: https://svnweb.freebsd.org/changeset/base/345952 Log: MFC r345806: Pull in r357362 from upstream clang trunk (by David Chisnall): [objc-gnustep] Use .init_array not .ctors when requested. This doesn't make a

svn commit: r345951 - head/sys/dev/iicbus/twsi

2019-04-05 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 5 15:53:27 2019 New Revision: 345951 URL: https://svnweb.freebsd.org/changeset/base/345951 Log: twsi: Use config_intrhook_oneshot instead of config_intrhook_establish Suggested by: ian MFC after:1 month X-MFC-With: 345948 Modified:

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

2019-04-05 Thread Ian Lepore
On Sat, 2019-04-06 at 01:47 +1100, Bruce Evans wrote: > On Fri, 5 Apr 2019, Ed Maste wrote: > > > On Fri, 5 Apr 2019 at 00:49, Rodney W. Grimes > > wrote: > >> > > > >>> +static const u_char dot_name[] = { > >>> + '.', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; > >>> +static const u_char

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

2019-04-05 Thread Rodney W. Grimes
> On Fri, 5 Apr 2019, Ed Maste wrote: > > > On Fri, 5 Apr 2019 at 00:49, Rodney W. Grimes > > wrote: > >> > > > >>> +static const u_char dot_name[] = { > >>> + '.', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; > >>> +static const u_char dotdot_name[] = { > >>> + '.', '.',' ',' ',' ',' ','

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

2019-04-05 Thread Bruce Evans
On Fri, 5 Apr 2019, Ed Maste wrote: On Fri, 5 Apr 2019 at 00:49, Rodney W. Grimes wrote: +static const u_char dot_name[] = { + '.', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; +static const u_char dotdot_name[] = { + '.', '.',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; + Does it make

svn commit: r345948 - head/sys/dev/iicbus/twsi

2019-04-05 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 5 14:44:23 2019 New Revision: 345948 URL: https://svnweb.freebsd.org/changeset/base/345948 Log: twsi: Add interrupt mode Add the ability to use interrupts for i2c message. We still use polling for early boot i2c transfer (for PMIC for example) but as soon as

svn commit: r345947 - head/sys/conf

2019-04-05 Thread Warner Losh
Author: imp Date: Fri Apr 5 14:27:48 2019 New Revision: 345947 URL: https://svnweb.freebsd.org/changeset/base/345947 Log: Remove another instance of All Rights Reserved. Remove the phrase from boilerplate copyright we stick on vers.c when we can't find the template file. In practice,

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

2019-04-05 Thread Ed Maste
On Fri, 5 Apr 2019 at 00:49, Rodney W. Grimes wrote: > > > +static const u_char dot_name[] = { > > + '.', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; > > +static const u_char dotdot_name[] = { > > + '.', '.',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; > > + > > Does it make since to encode

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)