Re: svn commit: r354095 - in head/sys: amd64/amd64 amd64/include kern

2019-10-25 Thread Antoine Brodin
On Fri, Oct 25, 2019 at 10:09 PM Konstantin Belousov wrote: > > Author: kib > Date: Fri Oct 25 20:09:42 2019 > New Revision: 354095 > URL: https://svnweb.freebsd.org/changeset/base/354095 > > Log: > amd64: move pcb out of kstack to struct thread. > > This saves 320 bytes of the precious stack

svn commit: r354111 - in stable: 11/contrib/ipfilter/tools 12/contrib/ipfilter/tools

2019-10-25 Thread Cy Schubert
Author: cy Date: Sat Oct 26 03:07:28 2019 New Revision: 354111 URL: https://svnweb.freebsd.org/changeset/base/354111 Log: MFC r352738: Teach the ippool parser about address families. This is a precursor to implementing IPv6 support within ippool which requires reworking radix_ipf.c. Mo

svn commit: r354111 - in stable: 11/contrib/ipfilter/tools 12/contrib/ipfilter/tools

2019-10-25 Thread Cy Schubert
Author: cy Date: Sat Oct 26 03:07:28 2019 New Revision: 354111 URL: https://svnweb.freebsd.org/changeset/base/354111 Log: MFC r352738: Teach the ippool parser about address families. This is a precursor to implementing IPv6 support within ippool which requires reworking radix_ipf.c. Mo

Re: svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Warner Losh
On Fri, Oct 25, 2019, 6:51 PM Rodney W. Grimes wrote: > > On Fri, 2019-10-25 at 19:03 +0300, Andriy Gapon wrote: > > > On 25/10/2019 18:56, Ian Lepore wrote: > > > > On Fri, 2019-10-25 at 18:51 +0300, Andriy Gapon wrote: > > > > > On 25/10/2019 18:46, Ian Lepore wrote: > > > > > > On Fri, 2019-10

Re: svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Rodney W. Grimes
> On Fri, 2019-10-25 at 19:03 +0300, Andriy Gapon wrote: > > On 25/10/2019 18:56, Ian Lepore wrote: > > > On Fri, 2019-10-25 at 18:51 +0300, Andriy Gapon wrote: > > > > On 25/10/2019 18:46, Ian Lepore wrote: > > > > > On Fri, 2019-10-25 at 15:38 +, Andriy Gapon wrote: > > > > > > Author: avg >

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

2019-10-25 Thread Navdeep Parhar
Author: np Date: Fri Oct 25 22:39:26 2019 New Revision: 354110 URL: https://svnweb.freebsd.org/changeset/base/354110 Log: Fix typo in cxgbe.4. MFC after:1 week Modified: head/share/man/man4/cxgbe.4 Modified: head/share/man/man4/cxgbe.4 ===

svn commit: r354109 - in stable: 11/sys/conf 12/sys/conf

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 22:17:24 2019 New Revision: 354109 URL: https://svnweb.freebsd.org/changeset/base/354109 Log: MFC 353023: Fix the EMBEDFS_FORMAT helper variable for riscv64. It was defined with the wrong MACHINE_ARCH previously. This permits using an MFS image without defini

svn commit: r354109 - in stable: 11/sys/conf 12/sys/conf

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 22:17:24 2019 New Revision: 354109 URL: https://svnweb.freebsd.org/changeset/base/354109 Log: MFC 353023: Fix the EMBEDFS_FORMAT helper variable for riscv64. It was defined with the wrong MACHINE_ARCH previously. This permits using an MFS image without defini

svn commit: r354108 - in stable: 11/usr.bin/netstat 12/usr.bin/netstat

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 22:15:20 2019 New Revision: 354108 URL: https://svnweb.freebsd.org/changeset/base/354108 Log: MFC 353059: Restore description of packets dropped due to full reassembly queue. r265408 renamed tcps_rcvmemdrop to tcps_rcvreassfull and gave it a more specific des

svn commit: r354108 - in stable: 11/usr.bin/netstat 12/usr.bin/netstat

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 22:15:20 2019 New Revision: 354108 URL: https://svnweb.freebsd.org/changeset/base/354108 Log: MFC 353059: Restore description of packets dropped due to full reassembly queue. r265408 renamed tcps_rcvmemdrop to tcps_rcvreassfull and gave it a more specific des

svn commit: r354094 - head/sys/arm64/rockchip

2019-10-25 Thread Peter Jeremy
Author: peterj Date: Fri Oct 25 19:38:02 2019 New Revision: 354094 URL: https://svnweb.freebsd.org/changeset/base/354094 Log: Fix use of uninitialised variable. The RK805 regs array was being allocated before it's required size was known, causing the driver to use memory it didn't own. T

svn commit: r354100 - head/sys/arm64/rockchip/clk

2019-10-25 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Oct 25 21:21:21 2019 New Revision: 354100 URL: https://svnweb.freebsd.org/changeset/base/354100 Log: arm64: rk3399: Add clock and gate for SPI clocks MFC after:1 month Modified: head/sys/arm64/rockchip/clk/rk3399_cru.c Modified: head/sys/arm64/rockchip/clk/rk

svn commit: r354098 - in stable: 11/sys/dev/cxgbe/crypto 12/sys/dev/cxgbe/crypto

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 21:14:43 2019 New Revision: 354098 URL: https://svnweb.freebsd.org/changeset/base/354098 Log: MFC 353323: Set the FID field in lookaside crypto requests to the rx queue ID. The PCI block in the adapter requires this field to be set to a valid queue ID. It is

svn commit: r354104 - head/sys/riscv/riscv

2019-10-25 Thread Mitchell Horne
Author: mhorne Date: Fri Oct 25 21:39:29 2019 New Revision: 354104 URL: https://svnweb.freebsd.org/changeset/base/354104 Log: RISC-V: skip cpu-map when parsing elf_hwcap The fill_elf_hwcap() function expects to find only cpu nodes under the /cpus entry of the device tree. Newer versions o

svn commit: r354099 - in stable: 11/sys/dev/cxgbe 12/sys/dev/cxgbe

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 21:20:04 2019 New Revision: 354099 URL: https://svnweb.freebsd.org/changeset/base/354099 Log: MFC 353369: Remove adapters from t4_list earlier during detach. This ensures the clip task won't race with t4_destroy_clip_table. While here, make some mutex destr

svn commit: r354095 - in head/sys: amd64/amd64 amd64/include kern

2019-10-25 Thread Konstantin Belousov
Author: kib Date: Fri Oct 25 20:09:42 2019 New Revision: 354095 URL: https://svnweb.freebsd.org/changeset/base/354095 Log: amd64: move pcb out of kstack to struct thread. This saves 320 bytes of the precious stack space. The only negative aspect of the change I can think of is that the

svn commit: r354098 - in stable: 11/sys/dev/cxgbe/crypto 12/sys/dev/cxgbe/crypto

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 21:14:43 2019 New Revision: 354098 URL: https://svnweb.freebsd.org/changeset/base/354098 Log: MFC 353323: Set the FID field in lookaside crypto requests to the rx queue ID. The PCI block in the adapter requires this field to be set to a valid queue ID. It is

svn commit: r354103 - in head/sys: arm64/conf arm64/rockchip conf

2019-10-25 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Oct 25 21:38:38 2019 New Revision: 354103 URL: https://svnweb.freebsd.org/changeset/base/354103 Log: arm64: rk3399: add SPI driver and include it in GENERIC config SPI driver for Rockchip's RK3399 SoC. Implements PIO mode, CS selection, SPI mode and frequency confi

svn commit: r354107 - in stable: 11/sys/dev/acpica 11/sys/dev/pci 12/sys/dev/acpica 12/sys/dev/pci

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 22:04:05 2019 New Revision: 354107 URL: https://svnweb.freebsd.org/changeset/base/354107 Log: MFC 353585,353586: Support hot insertion and removal of PCI devices on EC2. 353585: Export pci_attach() and pci_detach(). 353586: Support hot insertion and rem

svn commit: r354107 - in stable: 11/sys/dev/acpica 11/sys/dev/pci 12/sys/dev/acpica 12/sys/dev/pci

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 22:04:05 2019 New Revision: 354107 URL: https://svnweb.freebsd.org/changeset/base/354107 Log: MFC 353585,353586: Support hot insertion and removal of PCI devices on EC2. 353585: Export pci_attach() and pci_detach(). 353586: Support hot insertion and rem

svn commit: r354106 - in head/sys/dev/cxgbe: . common iw_cxgbe

2019-10-25 Thread Navdeep Parhar
Author: np Date: Fri Oct 25 21:53:05 2019 New Revision: 354106 URL: https://svnweb.freebsd.org/changeset/base/354106 Log: cxgbe(4): Use correct FetchBurstMin values for T6. MFC after:1 week Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/common/t4_regs_values.h

svn commit: r354105 - stable/12/tests/sys/kern

2019-10-25 Thread Li-Wen Hsu
Author: lwhsu Date: Fri Oct 25 21:52:02 2019 New Revision: 354105 URL: https://svnweb.freebsd.org/changeset/base/354105 Log: MFC r350211, r350220, r350235, r350238-r350239, r350295, r350512, r350700, r352219 r350211: Temporarily skip flakey test case sys.kern.ptrace_test.ptrace__follow

svn commit: r354097 - in head/contrib/llvm: lib/Object lib/Support lib/Target/ARM lib/Target/ARM/AsmParser lib/Target/ARM/MCTargetDesc tools/clang/lib/Basic/Targets tools/clang/lib/Driver/ToolChain...

2019-10-25 Thread Dimitry Andric
Author: dim Date: Fri Oct 25 21:00:49 2019 New Revision: 354097 URL: https://svnweb.freebsd.org/changeset/base/354097 Log: Pull in r372186 from upstream llvm trunk (by Eli Friedman): [ARM] VFPv2 only supports 16 D registers. r361845 changed the way we handle "D16" vs. "D32" targets

svn commit: r354102 - head/sys/sys

2019-10-25 Thread Ravi Pokala
Author: rpokala Date: Fri Oct 25 21:32:28 2019 New Revision: 354102 URL: https://svnweb.freebsd.org/changeset/base/354102 Log: Args for buf_track() might be unused If neither FULL_BUF_TRACKING nor BUF_TRACKING are defined, then the body of buf_track() becomes empty. Mark the arguments wit

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

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 21:23:44 2019 New Revision: 354101 URL: https://svnweb.freebsd.org/changeset/base/354101 Log: MFC 353371: Don't free the cursor boundary tag during vmem_destroy(). The cursor boundary tag is statically allocated in the vmem instead of from the vmem_bt_zone. E

svn commit: r354099 - in stable: 11/sys/dev/cxgbe 12/sys/dev/cxgbe

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 21:20:04 2019 New Revision: 354099 URL: https://svnweb.freebsd.org/changeset/base/354099 Log: MFC 353369: Remove adapters from t4_list earlier during detach. This ensures the clip task won't race with t4_destroy_clip_table. While here, make some mutex destr

svn commit: r354096 - head/sys/conf

2019-10-25 Thread Mark Johnston
Author: markj Date: Fri Oct 25 20:15:04 2019 New Revision: 354096 URL: https://svnweb.freebsd.org/changeset/base/354096 Log: Apply kernel module linker scripts to firmware files. Use a separate make variable to specify the linker script so that it is only applied at link time and not duri

svn commit: r354093 - in stable/12/sys: amd64/amd64 amd64/include arm/arm arm/include arm64/arm64 arm64/include i386/i386 i386/include mips/include powerpc/include powerpc/powerpc riscv/include ris...

2019-10-25 Thread Alexander Motin
Author: mav Date: Fri Oct 25 18:56:46 2019 New Revision: 354093 URL: https://svnweb.freebsd.org/changeset/base/354093 Log: MFC r351594 (by kib): Centralize __pcpu definitions. Many extern struct pcpu __pcpu declarations were copied/pasted in sources. The issue is that the definition is M

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

2019-10-25 Thread Bjoern A. Zeeb
Author: bz Date: Fri Oct 25 18:54:06 2019 New Revision: 354092 URL: https://svnweb.freebsd.org/changeset/base/354092 Log: Properly set VNET when nuking recvif from fragment queues. In theory the eventhandler invoke should be in the same VNET as the the current interface. We however cannot

svn commit: r354091 - in releng/12.1/sys: netinet netinet6

2019-10-25 Thread Michael Tuexen
Author: tuexen Date: Fri Oct 25 18:46:53 2019 New Revision: 354091 URL: https://svnweb.freebsd.org/changeset/base/354091 Log: MFS r354090: Ensure that the flags indicating IPv4/IPv6 are not changed by failing bind() calls. This would lead to inconsistent state resulting in a panic. A fi

svn commit: r354090 - in stable/12/sys: netinet netinet6

2019-10-25 Thread Michael Tuexen
Author: tuexen Date: Fri Oct 25 18:17:56 2019 New Revision: 354090 URL: https://svnweb.freebsd.org/changeset/base/354090 Log: MFC r354044: Ensure that the flags indicating IPv4/IPv6 are not changed by failing bind() calls. This would lead to inconsistent state resulting in a panic. A fi

svn commit: r354089 - in head/sys: arm64/conf arm64/rockchip conf

2019-10-25 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 25 18:10:02 2019 New Revision: 354089 URL: https://svnweb.freebsd.org/changeset/base/354089 Log: arm64: rockchip: Add RK3399 TypeC phy driver This is a driver for the USB3 PHY present in the RK3399. While the phy support DP (Display Port) the driver doesn't has

svn commit: r354088 - in head/sys: arm64/conf arm64/rockchip conf

2019-10-25 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 25 18:08:59 2019 New Revision: 354088 URL: https://svnweb.freebsd.org/changeset/base/354088 Log: arm64: rockchip: Add rk_dwc3 driver This is a simplebus like driver that attaches the dwc3 child node and enable the clocks needed for the module. MFC after:

svn commit: r354087 - head/sys/arm64/rockchip/clk

2019-10-25 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 25 18:08:25 2019 New Revision: 354087 URL: https://svnweb.freebsd.org/changeset/base/354087 Log: arm64: rk3399: Add clock and gate for usb3 clocks MFC after:1 month Modified: head/sys/arm64/rockchip/clk/rk3399_cru.c Modified: head/sys/arm64/rockchip/clk/rk

Re: svn commit: r354049 - in stable/12/sys/amd64: amd64 include

2019-10-25 Thread Alexander Motin
On 25.10.2019 13:26, John Baldwin wrote: > On 10/24/19 2:10 PM, Alexander Motin wrote: >> Author: mav >> Date: Thu Oct 24 21:10:09 2019 >> New Revision: 354049 >> URL: https://svnweb.freebsd.org/changeset/base/354049 >> >> Log: >> MFC r351457 (by kib): amd64: rework PCPU allocation >> >> Mov

svn commit: r354086 - head/sys/dev/flash

2019-10-25 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 25 17:56:24 2019 New Revision: 354086 URL: https://svnweb.freebsd.org/changeset/base/354086 Log: flash: Add GigaDevice gd25q128 flash Add this flash chip which is a 128Mb spi flash. MFC after:1 week Modified: head/sys/dev/flash/mx25l.c Modified: head/

svn commit: r354085 - in stable/12/sys/amd64/vmm: . amd

2019-10-25 Thread Alexander Motin
Author: mav Date: Fri Oct 25 17:54:37 2019 New Revision: 354085 URL: https://svnweb.freebsd.org/changeset/base/354085 Log: MFC r351591 (by jhb): Use get_pcpu() to fetch the current CPU's pcpu pointer. This avoids encoding knowledge about how pcpu objects are allocated and is also a few in

svn commit: r354084 - head/tests/sys/netinet6/frag6

2019-10-25 Thread Bjoern A. Zeeb
Author: bz Date: Fri Oct 25 17:41:08 2019 New Revision: 354084 URL: https://svnweb.freebsd.org/changeset/base/354084 Log: frag6-test: update for r354046, conform to 8200 for overlapping fragments The change to conform to RFC 8200 for overlapping fragments now frees the entire reassembly

Re: svn commit: r354049 - in stable/12/sys/amd64: amd64 include

2019-10-25 Thread John Baldwin
On 10/24/19 2:10 PM, Alexander Motin wrote: > Author: mav > Date: Thu Oct 24 21:10:09 2019 > New Revision: 354049 > URL: https://svnweb.freebsd.org/changeset/base/354049 > > Log: > MFC r351457 (by kib): amd64: rework PCPU allocation > > Move pcpu KVA out of .bss into dynamically allocated V

svn commit: r354083 - head/sys/vm

2019-10-25 Thread Gleb Smirnoff
Author: glebius Date: Fri Oct 25 16:59:54 2019 New Revision: 354083 URL: https://svnweb.freebsd.org/changeset/base/354083 Log: Add couple more assertions to vm_pager_assert_in(). The bogus page is not allowed at ends of the request, and all non-bogus pages must be consecutive. Reviewed

svn commit: r354081 - head/sys/netinet6

2019-10-25 Thread Bjoern A. Zeeb
Author: bz Date: Fri Oct 25 16:29:09 2019 New Revision: 354081 URL: https://svnweb.freebsd.org/changeset/base/354081 Log: frag6: do not leak counter in error cases When allocating the IPv6 fragement packet queue entry we do checks against counters and if we pass we increment one of the co

svn commit: r354082 - head/sys/dev/superio

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 16:30:24 2019 New Revision: 354082 URL: https://svnweb.freebsd.org/changeset/base/354082 Log: superio: do not crash if failed to create the character device MFC after:1 week Modified: head/sys/dev/superio/superio.c Modified: head/sys/dev/superio/superio.

svn commit: r354080 - head/sys/dev/superio

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 16:28:39 2019 New Revision: 354080 URL: https://svnweb.freebsd.org/changeset/base/354080 Log: superio_io.h: fix the copyright MFC after:1 week Modified: head/sys/dev/superio/superio_io.h Modified: head/sys/dev/superio/superio_io.h ===

Re: svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Andriy Gapon
On 25/10/2019 19:06, Ian Lepore wrote: > I will say if you ever do > anything like this to code I wrote, I will revert it immediately. I hope you never write code like: - if (sbttons(now - then) < t->t_rdv * 1000) - } while ((now - then) / SBT_1US < t->t_slot); -- Andriy Gapon __

Re: svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Ian Lepore
On Fri, 2019-10-25 at 19:03 +0300, Andriy Gapon wrote: > On 25/10/2019 18:56, Ian Lepore wrote: > > On Fri, 2019-10-25 at 18:51 +0300, Andriy Gapon wrote: > > > On 25/10/2019 18:46, Ian Lepore wrote: > > > > On Fri, 2019-10-25 at 15:38 +, Andriy Gapon wrote: > > > > > Author: avg > > > > > Date

svn commit: r354079 - head/sys/dev/superio

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 16:07:24 2019 New Revision: 354079 URL: https://svnweb.freebsd.org/changeset/base/354079 Log: superio: add a simple ioctl interface MFC after:1 week Added: head/sys/dev/superio/superio_io.h (contents, props changed) Modified: head/sys/dev/superio/supe

Re: svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Andriy Gapon
On 25/10/2019 18:56, Ian Lepore wrote: > On Fri, 2019-10-25 at 18:51 +0300, Andriy Gapon wrote: >> On 25/10/2019 18:46, Ian Lepore wrote: >>> On Fri, 2019-10-25 at 15:38 +, Andriy Gapon wrote: Author: avg Date: Fri Oct 25 15:38:09 2019 New Revision: 354076 URL: https://svnwe

Re: svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Ian Lepore
On Fri, 2019-10-25 at 18:51 +0300, Andriy Gapon wrote: > On 25/10/2019 18:46, Ian Lepore wrote: > > On Fri, 2019-10-25 at 15:38 +, Andriy Gapon wrote: > > > Author: avg > > > Date: Fri Oct 25 15:38:09 2019 > > > New Revision: 354076 > > > URL: https://svnweb.freebsd.org/changeset/base/354076 >

Re: svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Andriy Gapon
On 25/10/2019 18:46, Ian Lepore wrote: > On Fri, 2019-10-25 at 15:38 +, Andriy Gapon wrote: >> Author: avg >> Date: Fri Oct 25 15:38:09 2019 >> New Revision: 354076 >> URL: https://svnweb.freebsd.org/changeset/base/354076 >> >> Log: >> owc_gpiobus_read_data: compare times in sbintime_t units

svn commit: r354078 - head/sys/dev/ow

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 15:46:54 2019 New Revision: 354078 URL: https://svnweb.freebsd.org/changeset/base/354078 Log: owc_gpiobus: add missing space in r354077 Modified: head/sys/dev/ow/owc_gpiobus.c Modified: head/sys/dev/ow/owc_gpiobus.c ===

Re: svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Ian Lepore
On Fri, 2019-10-25 at 15:38 +, Andriy Gapon wrote: > Author: avg > Date: Fri Oct 25 15:38:09 2019 > New Revision: 354076 > URL: https://svnweb.freebsd.org/changeset/base/354076 > > Log: > owc_gpiobus_read_data: compare times in sbintime_t units > > Previously the code used sbttous() bef

svn commit: r354077 - head/sys/dev/ow

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 15:39:46 2019 New Revision: 354077 URL: https://svnweb.freebsd.org/changeset/base/354077 Log: owc_gpiobus_read_data: add recovery time to the read slot Reviewed by: imp MFC after:2 weeks Modified: head/sys/dev/ow/owc_gpiobus.c Modified: head/sys/dev/o

svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 15:38:09 2019 New Revision: 354076 URL: https://svnweb.freebsd.org/changeset/base/354076 Log: owc_gpiobus_read_data: compare times in sbintime_t units Previously the code used sbttous() before microseconds comparison in one place, sbttons() and nanoseconds in

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

2019-10-25 Thread Alexander Motin
Author: mav Date: Fri Oct 25 15:02:50 2019 New Revision: 354075 URL: https://svnweb.freebsd.org/changeset/base/354075 Log: MFC r353454: Allocate device softc from the device domain. Since we are trying to bind device interrupt threads to the device domain, it should have sense to make mem

svn commit: r354074 - stable/12/sys/dev/nvme

2019-10-25 Thread Alexander Motin
Author: mav Date: Fri Oct 25 14:55:37 2019 New Revision: 354074 URL: https://svnweb.freebsd.org/changeset/base/354074 Log: MFC r352630: Make nvme(4) driver some more NUMA aware. - For each queue pair precalculate CPU and domain it is bound to. If queue pairs are not per-CPU, then use the

svn commit: r354073 - in stable/12: share/man/man4 sys/kern sys/powerpc/powernv sys/powerpc/powerpc sys/powerpc/ps3 sys/powerpc/pseries sys/sys sys/x86/x86

2019-10-25 Thread Alexander Motin
Author: mav Date: Fri Oct 25 14:51:21 2019 New Revision: 354073 URL: https://svnweb.freebsd.org/changeset/base/354073 Log: MFC r342771 (by cem): Expose threads-per-core and physical core count information With new sysctls (to the best of our ability do detect them). Restructured smp.4 s

svn commit: r354072 - head/sys/arm64/include

2019-10-25 Thread Andrew Turner
Author: andrew Date: Fri Oct 25 14:46:09 2019 New Revision: 354072 URL: https://svnweb.freebsd.org/changeset/base/354072 Log: Remove the arm4 ID register masks, they are not needed after r353641. Sponsored by: DARPA, AFRL Modified: head/sys/arm64/include/armreg.h Modified: head/sys/arm6

svn commit: r354071 - stable/12/sys/ufs/ffs

2019-10-25 Thread Mark Johnston
Author: markj Date: Fri Oct 25 14:33:07 2019 New Revision: 354071 URL: https://svnweb.freebsd.org/changeset/base/354071 Log: MFC r353733: Abbreviate softdep lock names. Modified: stable/12/sys/ufs/ffs/ffs_softdep.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sy

svn commit: r354070 - head/sys/arm64/arm64

2019-10-25 Thread Andrew Turner
Author: andrew Date: Fri Oct 25 14:30:27 2019 New Revision: 354070 URL: https://svnweb.freebsd.org/changeset/base/354070 Log: Make special register names lowercase so they don't conflict with future ID register macros. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/sy

svn commit: r354069 - head/sys/dev/ow

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 14:20:59 2019 New Revision: 354069 URL: https://svnweb.freebsd.org/changeset/base/354069 Log: owc_gpiobus_read_data: disable preemption earlier Now this is done before starting the low pulse that has rather tight timing. Reviewed by: imp (D22108) MFC a

svn commit: r354068 - head/sys/dev/ow

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 13:47:17 2019 New Revision: 354068 URL: https://svnweb.freebsd.org/changeset/base/354068 Log: ow_temp: better scopes for the lock The lock is used only for start / stop signaling. It is used only for 'flags' field and the related condition variable. This

svn commit: r354067 - head/sys/dev/ow

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 13:42:36 2019 New Revision: 354067 URL: https://svnweb.freebsd.org/changeset/base/354067 Log: ow_temp: drop the lock around a call that can sleep This is similar to what is done around other calls that lead to own_command_wait() that can sleep. Reviewed b

Re: svn commit: r354060 - in stable/12: . sbin/ifconfig share/man/man4 sys/amd64/conf sys/arm/conf sys/arm64/conf sys/conf sys/i386/

2019-10-25 Thread Kyle Evans
On Thu, Oct 24, 2019 at 11:50 PM Helge Oldach wrote: > > Hi, > > Kyle Evans wrote on Fri, 25 Oct 2019 03:10:08 +0200 (CEST): > > Author: kevans > > Date: Fri Oct 25 01:10:08 2019 > > New Revision: 354060 > > URL: https://svnweb.freebsd.org/changeset/base/354060 > > > > Log: > > MFC tun/tap merge

svn commit: r354066 - stable/12

2019-10-25 Thread Kyle Evans
Author: kevans Date: Fri Oct 25 12:46:06 2019 New Revision: 354066 URL: https://svnweb.freebsd.org/changeset/base/354066 Log: MFC r352387: Fix if_tuntap UPDATING entry Reported by: yuripv [originally] Reported by: Helge Oldach (free...@oldach.net) [this time] Modified: stable/12/UPDA

svn commit: r354065 - head/sys/dev/gpio

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 09:37:54 2019 New Revision: 354065 URL: https://svnweb.freebsd.org/changeset/base/354065 Log: gpioiic: set output after switching to output mode if presetting it failed Some controllers cannot preset future output value while the pin is in input mode. This ad

svn commit: r354064 - stable/11/sys/dev/gpio

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 09:24:41 2019 New Revision: 354064 URL: https://svnweb.freebsd.org/changeset/base/354064 Log: MFC r353727: gpioiic: add the detach method Modified: stable/11/sys/dev/gpio/gpioiic.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/g

svn commit: r354063 - stable/12/sys/dev/gpio

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 09:23:53 2019 New Revision: 354063 URL: https://svnweb.freebsd.org/changeset/base/354063 Log: MFC r353727: gpioiic: add the detach method Modified: stable/12/sys/dev/gpio/gpioiic.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/dev/g

svn commit: r354062 - head/cddl/contrib/opensolaris/cmd/zfs

2019-10-25 Thread Andriy Gapon
Author: avg Date: Fri Oct 25 09:19:15 2019 New Revision: 354062 URL: https://svnweb.freebsd.org/changeset/base/354062 Log: zfs.8: fix a typo in the date Reported by: Trond Endrestøl MFC after:3 days Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs.8 Modified: head/cddl/contri