Re: svn commit: r348886 - in head/sys/riscv: include riscv

2019-06-10 Thread Mitchell Horne
On Mon, Jun 10, 2019 at 9:12 PM Ian Lepore wrote: > > On Tue, 2019-06-11 at 00:55 +, Mitchell Horne wrote: > > Author: mhorne > > Date: Tue Jun 11 00:55:54 2019 > > New Revision: 348886 > > URL: https://svnweb.freebsd.org/changeset/base/348886 > > > > Log: > > RISC-V: expose extension bits i

svn commit: r348892 - stable/11/sys/contrib/ipfilter/netinet

2019-06-10 Thread Cy Schubert
Author: cy Date: Tue Jun 11 03:40:25 2019 New Revision: 348892 URL: https://svnweb.freebsd.org/changeset/base/348892 Log: MFC r348667: While working on a PR, more are discovered. Remove more #ifdefs missed in r343701. Approved by: re (gjb@) Modified: stable/11/sys/contrib/ipfilte

svn commit: r348891 - stable/11/sys/contrib/ipfilter/netinet

2019-06-10 Thread Cy Schubert
Author: cy Date: Tue Jun 11 03:39:20 2019 New Revision: 348891 URL: https://svnweb.freebsd.org/changeset/base/348891 Log: MFC r348666: Clean up #ifdefs from old unsupported releases of FreeBSD. Approved by: re (gjb@) Modified: stable/11/sys/contrib/ipfilter/netinet/fil.c stable/1

svn commit: r348890 - stable/12/sys/contrib/ipfilter/netinet

2019-06-10 Thread Cy Schubert
Author: cy Date: Tue Jun 11 03:07:23 2019 New Revision: 348890 URL: https://svnweb.freebsd.org/changeset/base/348890 Log: MFC r348667: While working on a PR, more are discovered. Remove more #ifdefs missed in r343701. Modified: stable/12/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Di

svn commit: r348889 - stable/12/sys/contrib/ipfilter/netinet

2019-06-10 Thread Cy Schubert
Author: cy Date: Tue Jun 11 03:06:36 2019 New Revision: 348889 URL: https://svnweb.freebsd.org/changeset/base/348889 Log: MFC r348666: Clean up #ifdefs from old unsupported releases of FreeBSD. Modified: stable/12/sys/contrib/ipfilter/netinet/fil.c stable/12/sys/contrib/ipfilter/netine

Re: svn commit: r348886 - in head/sys/riscv: include riscv

2019-06-10 Thread Ian Lepore
On Tue, 2019-06-11 at 00:55 +, Mitchell Horne wrote: > Author: mhorne > Date: Tue Jun 11 00:55:54 2019 > New Revision: 348886 > URL: https://svnweb.freebsd.org/changeset/base/348886 > > Log: > RISC-V: expose extension bits in AT_HWCAP > > AT_HWCAP is a field in the elf auxiliary vector

svn commit: r348888 - stable/12/sys/dev/oce

2019-06-10 Thread Alexander Motin
Author: mav Date: Tue Jun 11 01:09:54 2019 New Revision: 34 URL: https://svnweb.freebsd.org/changeset/base/34 Log: MFC r348332: Fix array out of bound panic introduced in r306219. As I see, different NICs in different configurations may have different numbers of TX and RX queues.

svn commit: r348887 - head/usr.bin/procstat

2019-06-10 Thread Mitchell Horne
Author: mhorne Date: Tue Jun 11 00:59:46 2019 New Revision: 348887 URL: https://svnweb.freebsd.org/changeset/base/348887 Log: procstat: Recognize HWCAP and HWCAP2 with auxv command The two most recent additions to the elf auxiliary vector are HWCAP and HWCAP2 which describe platform speci

svn commit: r348886 - in head/sys/riscv: include riscv

2019-06-10 Thread Mitchell Horne
Author: mhorne Date: Tue Jun 11 00:55:54 2019 New Revision: 348886 URL: https://svnweb.freebsd.org/changeset/base/348886 Log: RISC-V: expose extension bits in AT_HWCAP AT_HWCAP is a field in the elf auxiliary vector meant to describe cpu-specific hardware features. For RISC-V we want to u

svn commit: r348885 - in head/sys: arm/allwinner arm/broadcom/bcm2835 arm64/rockchip

2019-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 10 23:25:40 2019 New Revision: 348885 URL: https://svnweb.freebsd.org/changeset/base/348885 Log: A bit of code hygiene (no functional changes). Hide unused code under #ifdef notyet (in one case the only caller is under that same ifdef), or if it is arm (not arm64)

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

2019-06-10 Thread Warner Losh
On Mon, Jun 10, 2019 at 10:51 AM Conrad Meyer wrote: > On Mon, Jun 10, 2019 at 9:17 AM Bruce Evans wrote: > > Only headers and libraries should support -std=c89. has > > lots of support for compilers and POSIX versions going back to K&R C, > > and only the K&R parts are completely broken. > >

svn commit: r348883 - head/sys/vm

2019-06-10 Thread Doug Moore
Author: dougm Date: Mon Jun 10 22:06:40 2019 New Revision: 348883 URL: https://svnweb.freebsd.org/changeset/base/348883 Log: r348879 introduced a wrong-way comparison that broke mmap. This change rights that comparison. Reported by: pho Approved by: markj (mentor) MFC after: 3 days

svn commit: r348882 - head/sys/dev/sdhci

2019-06-10 Thread Luiz Otavio O Souza
Author: loos Date: Mon Jun 10 21:50:07 2019 New Revision: 348882 URL: https://svnweb.freebsd.org/changeset/base/348882 Log: Add support for the GPIO SD Card VCC regulator/switch and the GPIO SD Card detection pins to the Marvell Xenon SDHCI controller. These features are enable by 'vqmmc-

svn commit: r348881 - head/sys/vm

2019-06-10 Thread Doug Moore
Author: dougm Date: Mon Jun 10 21:34:07 2019 New Revision: 348881 URL: https://svnweb.freebsd.org/changeset/base/348881 Log: The computations of vm_map_splay_split and vm_map_splay_merge touch both children of every entry on the search path as part of updating values of the max_free field. B

svn commit: r348880 - in head/sys: arm/mv arm64/conf conf

2019-06-10 Thread Luiz Otavio O Souza
Author: loos Date: Mon Jun 10 21:27:21 2019 New Revision: 348880 URL: https://svnweb.freebsd.org/changeset/base/348880 Log: Add the GPIO driver for the North/South bridge in Marvell Armada 37x0. The A3700 has a different GPIO controller and thus, do not use the old (and shared) code for M

svn commit: r348879 - in head/sys: sys vm

2019-06-10 Thread Doug Moore
Author: dougm Date: Mon Jun 10 21:26:14 2019 New Revision: 348879 URL: https://svnweb.freebsd.org/changeset/base/348879 Log: Change the check for 'size' wrapping around to zero in kern_mmap to account for both the lower and upper bound modifications. Change the error returned to ENOMEM. Rena

svn commit: r348878 - head/sys/arm/broadcom/bcm2835

2019-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 10 21:24:38 2019 New Revision: 348878 URL: https://svnweb.freebsd.org/changeset/base/348878 Log: Add a bus_add_child device method to bcm2835_sdhci. This allows SDIO (through CAM) to attach to an upstream, e.g., .. sdhci_bcm0 pnpinfo name=mmc@7e3

Re: svn commit: r348873 - head/sys/dev/atkbdc

2019-06-10 Thread Rodney W. Grimes
> Author: zeising (doc,ports committer) > Date: Mon Jun 10 18:19:49 2019 > New Revision: 348873 > URL: https://svnweb.freebsd.org/changeset/base/348873 > > Log: > psm(4): Enable touchpads and trackpads by default > > Enable synaptics and elantech touchpads, as well as IBM/Lenovo TrackPoints

svn commit: r348877 - head/share/mk

2019-06-10 Thread Bryan Drewery
Author: bdrewery Date: Mon Jun 10 19:38:35 2019 New Revision: 348877 URL: https://svnweb.freebsd.org/changeset/base/348877 Log: DPSRCS need to be built before recursing. MFC after:2 weeks Sponsored by: DellEMC Modified: head/share/mk/bsd.progs.mk Modified: head/share/mk/bsd.progs.

Re: svn commit: r348876 - head/sys/opencrypto

2019-06-10 Thread John Baldwin
On 6/10/19 12:26 PM, John Baldwin wrote: > Author: jhb > Date: Mon Jun 10 19:26:57 2019 > New Revision: 348876 > URL: https://svnweb.freebsd.org/changeset/base/348876 > > Log: > Add warnings to /dev/crypto for deprecated algorithms. > > These algorithms are deprecated algorithms that will h

Re: svn commit: r348876 - head/sys/opencrypto

2019-06-10 Thread John Baldwin
On 6/10/19 12:26 PM, John Baldwin wrote: > Author: jhb > Date: Mon Jun 10 19:26:57 2019 > New Revision: 348876 > URL: https://svnweb.freebsd.org/changeset/base/348876 > > Log: > Add warnings to /dev/crypto for deprecated algorithms. > > These algorithms are deprecated algorithms that will h

Re: svn commit: r348875 - head/sys/kgssapi/krb5

2019-06-10 Thread John Baldwin
On 6/10/19 12:22 PM, John Baldwin wrote: > Author: jhb > Date: Mon Jun 10 19:22:36 2019 > New Revision: 348875 > URL: https://svnweb.freebsd.org/changeset/base/348875 > > Log: > Add warnings for Kerberos GSS algorithms deprecated in RFCs 6649 and 8429. > > All of these algorithms are explic

svn commit: r348876 - head/sys/opencrypto

2019-06-10 Thread John Baldwin
Author: jhb Date: Mon Jun 10 19:26:57 2019 New Revision: 348876 URL: https://svnweb.freebsd.org/changeset/base/348876 Log: Add warnings to /dev/crypto for deprecated algorithms. These algorithms are deprecated algorithms that will have no in-kernel consumers in FreeBSD 13. Specifically,

svn commit: r348875 - head/sys/kgssapi/krb5

2019-06-10 Thread John Baldwin
Author: jhb Date: Mon Jun 10 19:22:36 2019 New Revision: 348875 URL: https://svnweb.freebsd.org/changeset/base/348875 Log: Add warnings for Kerberos GSS algorithms deprecated in RFCs 6649 and 8429. All of these algorithms are explicitly marked SHOULD NOT in one of these RFCs. Specifi

svn commit: r348874 - head/sys/vm

2019-06-10 Thread John Baldwin
Author: jhb Date: Mon Jun 10 19:01:54 2019 New Revision: 348874 URL: https://svnweb.freebsd.org/changeset/base/348874 Log: Remove an overly-aggressive assertion. While it is true that the new vmspace passed to vmspace_switch_aio will always have a valid reference due to the AIO job or the

svn commit: r348873 - head/sys/dev/atkbdc

2019-06-10 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Mon Jun 10 18:19:49 2019 New Revision: 348873 URL: https://svnweb.freebsd.org/changeset/base/348873 Log: psm(4): Enable touchpads and trackpads by default Enable synaptics and elantech touchpads, as well as IBM/Lenovo TrackPoints by default, ins

svn commit: r348872 - stable/12/sys/dev/efidev

2019-06-10 Thread Konstantin Belousov
Author: kib Date: Mon Jun 10 17:44:50 2019 New Revision: 348872 URL: https://svnweb.freebsd.org/changeset/base/348872 Log: MFC r348541: efirt efi_enter(): Release acquired locks and restore FPU ownership if efi_arch_enter() returned an error. Modified: stable/12/sys/dev/efidev/efirt.c Dir

svn commit: r348871 - in stable/12/sys/amd64: amd64 include

2019-06-10 Thread Konstantin Belousov
Author: kib Date: Mon Jun 10 17:43:33 2019 New Revision: 348871 URL: https://svnweb.freebsd.org/changeset/base/348871 Log: MFC r348539: amd64 ef_rt_arch_call: Preserve %rflags around call into EFI RT service. Modified: stable/12/sys/amd64/amd64/efirt_support.S stable/12/sys/amd64/amd64/ge

svn commit: r348870 - stable/12/sys/vm

2019-06-10 Thread Konstantin Belousov
Author: kib Date: Mon Jun 10 17:40:31 2019 New Revision: 348870 URL: https://svnweb.freebsd.org/changeset/base/348870 Log: MFC r348533: Remove dead store. Modified: stable/12/sys/vm/swap_pager.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/vm/swap_pager.c ==

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

2019-06-10 Thread Konstantin Belousov
Author: kib Date: Mon Jun 10 17:38:47 2019 New Revision: 348869 URL: https://svnweb.freebsd.org/changeset/base/348869 Log: MFC r348536: Remove dead check. Modified: stable/12/sys/kern/link_elf_obj.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/kern/link_elf_

svn commit: r348868 - stable/12/sys/dev/hwpmc

2019-06-10 Thread Konstantin Belousov
Author: kib Date: Mon Jun 10 17:36:14 2019 New Revision: 348868 URL: https://svnweb.freebsd.org/changeset/base/348868 Log: MFC r348544: hwpmc_intel: List all Silvermont ids. Modified: stable/12/sys/dev/hwpmc/hwpmc_intel.c Directory Properties: stable/12/ (props changed) Modified: stabl

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

2019-06-10 Thread Konstantin Belousov
On Mon, Jun 10, 2019 at 09:28:24AM -0700, Conrad Meyer wrote: > On Mon, Jun 10, 2019 at 9:17 AM Bruce Evans wrote: > > Only headers and libraries should support -std=c89. has > > lots of support for compilers and POSIX versions going back to K&R C, > > and only the K&R parts are completely broke

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

2019-06-10 Thread Conrad Meyer
On Mon, Jun 10, 2019 at 9:17 AM Bruce Evans wrote: > Only headers and libraries should support -std=c89. has > lots of support for compilers and POSIX versions going back to K&R C, > and only the K&R parts are completely broken. Is this due to specific policy, or just inertia? (No one has both

svn commit: r348867 - stable/11/sys/cddl/boot/zfs

2019-06-10 Thread Kyle Evans
Author: kevans Date: Mon Jun 10 16:36:31 2019 New Revision: 348867 URL: https://svnweb.freebsd.org/changeset/base/348867 Log: MFC r342747 (mmacy): zfsboot: support newer ZFS versions declare v3 objset size/layout to fix userboot and possibly other loader issues - fix for userboot ass

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

2019-06-10 Thread Bruce Evans
On Mon, 10 Jun 2019, Ian Lepore wrote: On Mon, 2019-06-10 at 07:49 -0600, Warner Losh wrote: On Mon, Jun 10, 2019, 7:44 AM Conrad Meyer wrote: On Mon, Jun 10, 2019 at 2:10 AM T??l Coosemans wrote: On Mon, 10 Jun 2019 05:28:04 + (UTC) Dmitry Chagin wrote: ... URL: https://svnweb.freeb

svn commit: r348866 - in stable/11/stand: common i386/zfsboot

2019-06-10 Thread Kyle Evans
Author: kevans Date: Mon Jun 10 15:55:38 2019 New Revision: 348866 URL: https://svnweb.freebsd.org/changeset/base/348866 Log: MFC r348569: [zfsboot] Fix boot env back compat (#190) * Fix boot env back compat zfsboot must try zfsloader before loader in order to remain compatible with

svn commit: r348865 - in stable/12/stand: common i386/zfsboot

2019-06-10 Thread Kyle Evans
Author: kevans Date: Mon Jun 10 15:46:19 2019 New Revision: 348865 URL: https://svnweb.freebsd.org/changeset/base/348865 Log: MFC r348569: [zfsboot] Fix boot env back compat (#190) * Fix boot env back compat zfsboot must try zfsloader before loader in order to remain compatible with

svn commit: r348864 - stable/12/share/examples/bhyve

2019-06-10 Thread Mark Johnston
Author: markj Date: Mon Jun 10 15:44:09 2019 New Revision: 348864 URL: https://svnweb.freebsd.org/changeset/base/348864 Log: MFC r348782: vmrun: Add a missing close-paren to the usage message. Modified: stable/12/share/examples/bhyve/vmrun.sh Directory Properties: stable/12/ (props chan

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

2019-06-10 Thread Shawn Webb
On Tue, Jun 11, 2019 at 01:33:23AM +1000, Bruce Evans wrote: > On Mon, 10 Jun 2019, Shawn Webb wrote: > > > On Mon, Jun 10, 2019 at 03:07:11AM +, Doug Moore wrote: > > > ... > > > Log: > > > There are times when a len==0 parameter to mmap is okay. But on a > > > 32-bit machine, a len param

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

2019-06-10 Thread Bruce Evans
On Mon, 10 Jun 2019, Shawn Webb wrote: On Mon, Jun 10, 2019 at 03:07:11AM +, Doug Moore wrote: ... Log: There are times when a len==0 parameter to mmap is okay. But on a 32-bit machine, a len parameter just a few bytes short of 4G, rounded up to a page boundary and hitting zero then,

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

2019-06-10 Thread Tijl Coosemans
On Mon, 10 Jun 2019 06:43:26 -0700 Conrad Meyer wrote: > On Mon, Jun 10, 2019 at 2:10 AM Tijl Coosemans wrote: >> On Mon, 10 Jun 2019 05:28:04 + (UTC) Dmitry Chagin >> wrote: >>> ... >>> URL: https://svnweb.freebsd.org/changeset/base/348847 >>> Log: >>> Use C11 anonymous unions. >>> >>> Mod

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

2019-06-10 Thread Ian Lepore
On Mon, 2019-06-10 at 07:49 -0600, Warner Losh wrote: > On Mon, Jun 10, 2019, 7:44 AM Conrad Meyer wrote: > > > On Mon, Jun 10, 2019 at 2:10 AM Tijl Coosemans > > wrote: > > > On Mon, 10 Jun 2019 05:28:04 + (UTC) Dmitry Chagin > > > wrote: > > > > ... > > > > URL: https://svnweb.freebsd.org/

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

2019-06-10 Thread Doug Moore
The comment and the code that rejects size==0, or doesn't, are copied below.  Konstantin Belousov is the last person to have touched most of it, and can better explain its meaning than I. Doug Moore     /*      * Enforce the constraints.      * Mapping of length 0 is only allowed for old binaries

svn commit: r348863 - stable/11/sbin/bectl

2019-06-10 Thread Kyle Evans
Author: kevans Date: Mon Jun 10 14:47:56 2019 New Revision: 348863 URL: https://svnweb.freebsd.org/changeset/base/348863 Log: MFC r348510: bectl(8): Don't accept jid=0 from jail_getid This will trivially exist, but we don't want it - none of our jailed BEs will have jid=0. Approved b

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

2019-06-10 Thread Conrad Meyer
Hi Warner, That doesn't seem responsive to the question. On Mon, Jun 10, 2019 at 6:49 AM Warner Losh wrote: > > > > On Mon, Jun 10, 2019, 7:44 AM Conrad Meyer wrote: >> >> On Mon, Jun 10, 2019 at 2:10 AM Tijl Coosemans wrote: >> > On Mon, 10 Jun 2019 05:28:04 + (UTC) Dmitry Chagin >> > wro

svn commit: r348862 - stable/12/sbin/bectl

2019-06-10 Thread Kyle Evans
Author: kevans Date: Mon Jun 10 14:35:04 2019 New Revision: 348862 URL: https://svnweb.freebsd.org/changeset/base/348862 Log: MFC r348510: bectl(8): Don't accept jid=0 from jail_getid This will trivially exist, but we don't want it - none of our jailed BEs will have jid=0. Modified: st

svn commit: r348861 - head/sys/net80211

2019-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 10 14:31:18 2019 New Revision: 348861 URL: https://svnweb.freebsd.org/changeset/base/348861 Log: Enhance the comment ieee80211_add_channel() to avoid a misunderstanding that the function does not work additive when repeatedly called for diffferent bands. Reviewe

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

2019-06-10 Thread Shawn Webb
Sounds good! I think the manpage still might still need a change to match the current behavior, or perhaps matching something similar to that vm_mmap.c comment. But that comment brings another question: what's the definition of "old binaries"? a.out? Thanks, -- Shawn Webb Cofounder / Security En

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

2019-06-10 Thread Doug Moore
This comment appears in vm_mmap.c: * Mapping of length 0 is only allowed for old binaries. and my intent was to say, to whoever wrote that comment, that I was not disallowing the mapping of length zero with this change.  I was only intending to affect a case in which the length was transform

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

2019-06-10 Thread Warner Losh
On Mon, Jun 10, 2019, 7:44 AM Conrad Meyer wrote: > On Mon, Jun 10, 2019 at 2:10 AM Tijl Coosemans wrote: > > On Mon, 10 Jun 2019 05:28:04 + (UTC) Dmitry Chagin > > wrote: > > > ... > > > URL: https://svnweb.freebsd.org/changeset/base/348847 > > > Log: > > > Use C11 anonymous unions. > > >

svn commit: r348860 - head/sys/arm/allwinner

2019-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 10 13:46:36 2019 New Revision: 348860 URL: https://svnweb.freebsd.org/changeset/base/348860 Log: allwinner mmc: move variable assignment into block "blksz is only used in one of the two blocks, so assign it inside that block rather than outside. MFC after:

svn commit: r348859 - stable/11/sys/ofed/drivers/infiniband/core

2019-06-10 Thread Slava Shwartsman
Author: slavash Date: Mon Jun 10 13:44:29 2019 New Revision: 348859 URL: https://svnweb.freebsd.org/changeset/base/348859 Log: MFC r348601: Fix prio vs. nonprio tagged traffic in RDMACM In current RDMACM implementation RDMACM server will not find a GID index when the request was prio-ta

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

2019-06-10 Thread Conrad Meyer
On Mon, Jun 10, 2019 at 2:10 AM Tijl Coosemans wrote: > On Mon, 10 Jun 2019 05:28:04 + (UTC) Dmitry Chagin > wrote: > > ... > > URL: https://svnweb.freebsd.org/changeset/base/348847 > > Log: > > Use C11 anonymous unions. > > > > Modified: head/sys/sys/ucred.h > ... > > Isn't this a userland

svn commit: r348858 - stable/9/sys/dev/usb

2019-06-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 10 13:38:57 2019 New Revision: 348858 URL: https://svnweb.freebsd.org/changeset/base/348858 Log: MFC r348631: In usb(4) fix a lost completion event issue towards libusb(3). It may happen if a USB transfer is cancelled that we need to fake a completion event.

svn commit: r348857 - stable/10/sys/dev/usb

2019-06-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 10 13:37:38 2019 New Revision: 348857 URL: https://svnweb.freebsd.org/changeset/base/348857 Log: MFC r348631: In usb(4) fix a lost completion event issue towards libusb(3). It may happen if a USB transfer is cancelled that we need to fake a completion event.

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

2019-06-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 10 13:36:53 2019 New Revision: 348856 URL: https://svnweb.freebsd.org/changeset/base/348856 Log: MFC r348631: In usb(4) fix a lost completion event issue towards libusb(3). It may happen if a USB transfer is cancelled that we need to fake a completion event.

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

2019-06-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 10 13:36:12 2019 New Revision: 348855 URL: https://svnweb.freebsd.org/changeset/base/348855 Log: MFC r348631: In usb(4) fix a lost completion event issue towards libusb(3). It may happen if a USB transfer is cancelled that we need to fake a completion event.

svn commit: r348854 - head/libexec/rc/rc.d

2019-06-10 Thread Conrad Meyer
Author: cem Date: Mon Jun 10 13:34:18 2019 New Revision: 348854 URL: https://svnweb.freebsd.org/changeset/base/348854 Log: /etc/rc.d/local: Fix typo in description PR: 238448 Submitted by: Marián Černý Modified: head/libexec/rc/rc.d/local Modified: head/libexec/rc/rc.d/loca

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

2019-06-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 10 13:17:39 2019 New Revision: 348853 URL: https://svnweb.freebsd.org/changeset/base/348853 Log: MFC r348604: In xhci(4) there is no stream ID in the completion TRB. Instead iterate all the stream IDs in stream mode to find the matching USB transfer. Spo

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

2019-06-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 10 13:16:49 2019 New Revision: 348852 URL: https://svnweb.freebsd.org/changeset/base/348852 Log: MFC r348604: In xhci(4) there is no stream ID in the completion TRB. Instead iterate all the stream IDs in stream mode to find the matching USB transfer. Spo

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

2019-06-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 10 13:15:49 2019 New Revision: 348851 URL: https://svnweb.freebsd.org/changeset/base/348851 Log: MFC r348604: In xhci(4) there is no stream ID in the completion TRB. Instead iterate all the stream IDs in stream mode to find the matching USB transfer. App

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

2019-06-10 Thread Shawn Webb
On Mon, Jun 10, 2019 at 03:07:11AM +, Doug Moore wrote: > Author: dougm > Date: Mon Jun 10 03:07:10 2019 > New Revision: 348843 > URL: https://svnweb.freebsd.org/changeset/base/348843 > > Log: > There are times when a len==0 parameter to mmap is okay. But on a > 32-bit machine, a len param

svn commit: r348850 - stable/11/sys/contrib/ipfilter/netinet

2019-06-10 Thread Cy Schubert
Author: cy Date: Mon Jun 10 12:40:38 2019 New Revision: 348850 URL: https://svnweb.freebsd.org/changeset/base/348850 Log: MFC r348575: Properly define the fourth argument to ipf_check, the main entry point into ipfilter. A proper definition simplifies dtrace scripts a little. Approve

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

2019-06-10 Thread Tijl Coosemans
On Mon, 10 Jun 2019 05:28:04 + (UTC) Dmitry Chagin wrote: > Author: dchagin > Date: Mon Jun 10 05:28:03 2019 > New Revision: 348847 > URL: https://svnweb.freebsd.org/changeset/base/348847 > > Log: > Use C11 anonymous unions. > > PR: 215202 > Reported by:glebius > MF

svn commit: r348849 - stable/12/sys/ofed/drivers/infiniband/core

2019-06-10 Thread Slava Shwartsman
Author: slavash Date: Mon Jun 10 09:03:08 2019 New Revision: 348849 URL: https://svnweb.freebsd.org/changeset/base/348849 Log: MFC r348601: Fix prio vs. nonprio tagged traffic in RDMACM In current RDMACM implementation RDMACM server will not find a GID index when the request was prio-ta

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

2019-06-10 Thread Andriy Gapon
On 10/06/2019 09:42, Doug Moore wrote: > -fwrapv concerns signed arithmetic.  This calculation is with unsigned > arithmetic, and the possibility of wrapping around to 0 is part of the > language. Oh, sorry for the noise! > On 6/10/19 1:35 AM, Andriy Gapon wrote: >> On 10/06/2019 06:07, Doug Moor