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

2019-11-07 Thread Andriy Gapon
Author: avg Date: Fri Nov 8 07:56:14 2019 New Revision: 354532 URL: https://svnweb.freebsd.org/changeset/base/354532 Log: MFC r354065: gpioiic: set output after switching to output mode... if presetting it failed. Modified: stable/12/sys/dev/gpio/gpioiic.c Directory Properties: stable

svn commit: r354531 - stable/12/sys/dev/ow

2019-11-07 Thread Andriy Gapon
Author: avg Date: Fri Nov 8 07:38:34 2019 New Revision: 354531 URL: https://svnweb.freebsd.org/changeset/base/354531 Log: MFC r354077,r354078: owc_gpiobus_read_data: add recovery time to the read slot Modified: stable/12/sys/dev/ow/owc_gpiobus.c Directory Properties: stable/12/ (props ch

svn commit: r354530 - stable/12/sys/dev/ow

2019-11-07 Thread Andriy Gapon
Author: avg Date: Fri Nov 8 07:36:51 2019 New Revision: 354530 URL: https://svnweb.freebsd.org/changeset/base/354530 Log: MFC r354076: owc_gpiobus_read_data: compare times in sbintime_t units Modified: stable/12/sys/dev/ow/owc_gpiobus.c Directory Properties: stable/12/ (props changed) M

svn commit: r354529 - stable/12/sys/dev/ow

2019-11-07 Thread Andriy Gapon
Author: avg Date: Fri Nov 8 07:35:32 2019 New Revision: 354529 URL: https://svnweb.freebsd.org/changeset/base/354529 Log: MFC r354069: owc_gpiobus_read_data: disable preemption earlier Modified: stable/12/sys/dev/ow/owc_gpiobus.c Directory Properties: stable/12/ (props changed) Modified

svn commit: r354528 - head/share/man/man9

2019-11-07 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 8 06:40:17 2019 New Revision: 354528 URL: https://svnweb.freebsd.org/changeset/base/354528 Log: Fix the man page to correctly describe the use of the "len" argument. The man page incorrectly described the use of the"len" argument, which is updated to the nu

svn commit: r354527 - head/sys/powerpc/booke

2019-11-07 Thread Justin Hibbits
Author: jhibbits Date: Fri Nov 8 04:26:19 2019 New Revision: 354527 URL: https://svnweb.freebsd.org/changeset/base/354527 Log: powerpc/booke: Only handle kernel page faults in KVA range The memory range between VM_MAXUSER_ADDRESS and VM_MIN_KERNEL_ADDRESS is reserved for devices current

svn commit: r354526 - in head/sys/powerpc: booke include

2019-11-07 Thread Justin Hibbits
Author: jhibbits Date: Fri Nov 8 03:45:13 2019 New Revision: 354526 URL: https://svnweb.freebsd.org/changeset/base/354526 Log: powerpc/booke: Make the TLB save area and mask match Since TLB_MAXNEST is 3, the insert mask should only be 2 bits. Given that 2 bits counts to 4, and that we a

svn commit: r354525 - in head/sys/powerpc: include mpc85xx ofw powerpc

2019-11-07 Thread Justin Hibbits
Author: jhibbits Date: Fri Nov 8 03:36:19 2019 New Revision: 354525 URL: https://svnweb.freebsd.org/changeset/base/354525 Log: powerpc/mpc85xx: Add MSI support for Freescale PowerPC SoCs Freescale SoCs use a set of IRQs at the high end of the OpenPIC IRQ list, not counted in the NIRQs of

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

2019-11-07 Thread Kyle Evans
Author: kevans Date: Fri Nov 8 03:27:56 2019 New Revision: 354524 URL: https://svnweb.freebsd.org/changeset/base/354524 Log: bcm2835_dma: Mark IRQs shareable On the RPi4, some of these IRQs are shared. Start moving toward a mode where we accept that shared IRQs happen and simply ignore i

svn commit: r354523 - head/share/mk

2019-11-07 Thread Brooks Davis
Author: brooks Date: Fri Nov 8 03:14:06 2019 New Revision: 354523 URL: https://svnweb.freebsd.org/changeset/base/354523 Log: Turn the error about a lack of LIBCOMPAT into a warning. Add some diagnostic output. This works around the fact that buildworld calls cleandir in libexec with

svn commit: r354522 - head/sys/dev/cxgbe

2019-11-07 Thread Navdeep Parhar
Author: np Date: Fri Nov 8 01:13:12 2019 New Revision: 354522 URL: https://svnweb.freebsd.org/changeset/base/354522 Log: cxgbe(4): Query Vdd from the firmware if its last known value is 0. TVSENSE may not be ready by the time t4_fw_initialize returns and the firmware returns 0 if the dri

svn commit: r354521 - head

2019-11-07 Thread Mark Johnston
Author: markj Date: Fri Nov 8 00:01:37 2019 New Revision: 354521 URL: https://svnweb.freebsd.org/changeset/base/354521 Log: Document iwm(4) support for 9000-series devices. Sponsored by: The FreeBSD Foundation Modified: head/RELNOTES Modified: head/RELNOTES

svn commit: r354520 - head/lib/msun/src

2019-11-07 Thread Li-Wen Hsu
Author: lwhsu Date: Thu Nov 7 23:57:48 2019 New Revision: 354520 URL: https://svnweb.freebsd.org/changeset/base/354520 Log: Get the fix in back by reverting the part accidentally included in r354491. This brings back r354467. MFC after:1 week Sponsored by: The FreeBSD Foundation

svn commit: r354519 - in head: . share/mk

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 23:54:40 2019 New Revision: 354519 URL: https://svnweb.freebsd.org/changeset/base/354519 Log: Revert r354518 and commit the intented fix rather than the diagnostic check. This fixes the definition of MK_LIB32 in Makefile.inc1. Modified: head/Makefile.inc

svn commit: r354518 - head

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 23:50:33 2019 New Revision: 354518 URL: https://svnweb.freebsd.org/changeset/base/354518 Log: Fix the ARCH check for LIB32 from Makefile.inc1. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ===

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

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:39:33 2019 New Revision: 354517 URL: https://svnweb.freebsd.org/changeset/base/354517 Log: Update iwm and iwmfw man pages with info about 9000-series chips. Thanks to bapt, bz, cem, woodsb02, Neel Chauhan and Salvador Martínez Mármol for helping test the

svn commit: r354516 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:39:17 2019 New Revision: 354516 URL: https://svnweb.freebsd.org/changeset/base/354516 Log: iwm: Sync device initialization and reset code with iwlwifi. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iwm/if_iwm.c hea

svn commit: r354513 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:38:36 2019 New Revision: 354513 URL: https://svnweb.freebsd.org/changeset/base/354513 Log: iwm: Set flag for pad bytes in offload_assist. Though we don't otherwise use firmware's offload capabilities, we need to set this flag when the MAC header's size is

svn commit: r354515 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:39:04 2019 New Revision: 354515 URL: https://svnweb.freebsd.org/changeset/base/354515 Log: iwm: Implement support for scans with "adaptive" dwell time. This is required by 9000-series firmware. MFC after:2 weeks Sponsored by: The FreeBSD Foundati

svn commit: r354514 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:38:49 2019 New Revision: 354514 URL: https://svnweb.freebsd.org/changeset/base/354514 Log: iwm: Use the default station for all transmits. This is what iwlwifi seems to do, and the previous behaviour triggered firmware panics during transmit on a 9560.

svn commit: r354508 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:37:02 2019 New Revision: 354508 URL: https://svnweb.freebsd.org/changeset/base/354508 Log: iwm: Implement the new receive path. This is the multiqueue receive code required for 9000-series chips. Note that we still only configure a single RX queue for now

svn commit: r354510 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:37:30 2019 New Revision: 354510 URL: https://svnweb.freebsd.org/changeset/base/354510 Log: iwm: Sync with iwm_run_init_mvm_ucode() with iwlwifi. Do not configure bluetooth on newer chips, it causes firmware panics. MFC after:2 weeks Sponsored by:

svn commit: r354512 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:38:17 2019 New Revision: 354512 URL: https://svnweb.freebsd.org/changeset/base/354512 Log: iwm: Use antenna B for TX on 9000-series chips. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iwm/if_iwm.c Modified: head/sy

svn commit: r354509 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:37:17 2019 New Revision: 354509 URL: https://svnweb.freebsd.org/changeset/base/354509 Log: iwm: Fix scheduler configuration for aux and cmd queue configuration. - Configure the scheduler only for the management queue. - Fix a bug when enabling the schdule

svn commit: r354511 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:37:55 2019 New Revision: 354511 URL: https://svnweb.freebsd.org/changeset/base/354511 Log: iwm: Update the station add command for the new RX API. The firmware expects a new version of the add-station command in 9000-series chips. MFC after:2 wee

svn commit: r354507 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:36:46 2019 New Revision: 354507 URL: https://svnweb.freebsd.org/changeset/base/354507 Log: iwm: Enable all 31 tx queues. For now iwm only ever uses queue 0 and the management queue, but my 9560 raises a software error interrupt during initialization if th

svn commit: r354505 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:36:10 2019 New Revision: 354505 URL: https://svnweb.freebsd.org/changeset/base/354505 Log: iwm: Define the mqrx_supported capability. The firmware for 9000-series and newer devices has a different receive API which supports multiple queues. MFC after

svn commit: r354506 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:36:25 2019 New Revision: 354506 URL: https://svnweb.freebsd.org/changeset/base/354506 Log: iwm: Explicitly enable MSI on newer chipsets. 9000-series chips implement support for MSI-X interrupts and disable MSI by default. MFC after:2 weeks Spon

svn commit: r354502 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:35:15 2019 New Revision: 354502 URL: https://svnweb.freebsd.org/changeset/base/354502 Log: iwm: Use the same delays as iwlwifi when resetting the device. This is required for initialization to succeed for newer device families. MFC after:2 weeks

svn commit: r354504 - in head/sys: dev/iwm modules/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:35:54 2019 New Revision: 354504 URL: https://svnweb.freebsd.org/changeset/base/354504 Log: iwm: Add device configuration definitions for 9000-series chips. Match such chips using the device ID. We should really be checking the subdevice as well, since a

svn commit: r354503 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:35:29 2019 New Revision: 354503 URL: https://svnweb.freebsd.org/changeset/base/354503 Log: iwm: Sync the firmware tx_cmd descriptor fields with iwlwifi. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iwm/if_iwm.c he

svn commit: r354501 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:35:01 2019 New Revision: 354501 URL: https://svnweb.freebsd.org/changeset/base/354501 Log: iwm: Add a device family definition for 9000 chips. Convert existing device family checks to avoid assuming that the device family is always one of IWM_DEVICE_FAMIL

svn commit: r354499 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:34:28 2019 New Revision: 354499 URL: https://svnweb.freebsd.org/changeset/base/354499 Log: iwm: Add a few _prph functions needed for 9000-series chips. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iwm/if_iwm_pcie_tr

svn commit: r354500 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:34:41 2019 New Revision: 354500 URL: https://svnweb.freebsd.org/changeset/base/354500 Log: iwm: Add 9000-series RX register definitions. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iwm/if_iwmreg.h Modified: head/s

svn commit: r354498 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:34:12 2019 New Revision: 354498 URL: https://svnweb.freebsd.org/changeset/base/354498 Log: iwm: Sync the TLV API enum with iwlwifi. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iwm/if_iwmreg.h Modified: head/sys/de

svn commit: r354497 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:33:58 2019 New Revision: 354497 URL: https://svnweb.freebsd.org/changeset/base/354497 Log: iwm: Define a name for TLV 48. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iwm/if_iwm.c head/sys/dev/iwm/if_iwmreg.h Mod

svn commit: r354496 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:29:57 2019 New Revision: 354496 URL: https://svnweb.freebsd.org/changeset/base/354496 Log: iwm: Avoid calling iwm_start() each time a descriptor is reclaimed. Only perform the call when a qfull bit transitions. While here, avoid assignments in declaratio

svn commit: r354495 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:29:43 2019 New Revision: 354495 URL: https://svnweb.freebsd.org/changeset/base/354495 Log: iwm: Call iwm_dev_check() earlier in iwm_attach(). This ensures that the driver softc reflects device capabilities as early as possible, for use by device initializ

svn commit: r354493 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:29:00 2019 New Revision: 354493 URL: https://svnweb.freebsd.org/changeset/base/354493 Log: iwm: Remove a couple of unused fields from the softc. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iwm/if_iwmvar.h Modified

svn commit: r354494 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:29:25 2019 New Revision: 354494 URL: https://svnweb.freebsd.org/changeset/base/354494 Log: iwm: Simplify fw_has_{api,capa}(). No functional change intended. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iwm/if_i

svn commit: r354492 - head/sys/dev/iwm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 23:27:54 2019 New Revision: 354492 URL: https://svnweb.freebsd.org/changeset/base/354492 Log: iwm: Fix style in the TX path. Also ensure that the htole* macros are applied correctly when specifying the segment length and upper address bits. No functional ch

svn commit: r354491 - in head: . lib/msun/src libexec libexec/rtld-elf libexec/rtld-elf32 share/mk usr.bin usr.bin/ldd32

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 22:58:10 2019 New Revision: 354491 URL: https://svnweb.freebsd.org/changeset/base/354491 Log: libcompat: build 32-bit rtld and ldd as part of "everything" Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when included directly so MD paths in Makefiles wo

svn commit: r354490 - head/sys/netinet

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 22:26:54 2019 New Revision: 354490 URL: https://svnweb.freebsd.org/changeset/base/354490 Log: Remove now unused INP_INFO_RLOCK macros. Modified: head/sys/netinet/in_pcb.h Modified: head/sys/netinet/in_pcb.h

Re: svn commit: r354482 - head/sys/x86/x86

2019-11-07 Thread Colin Percival
On 2019-11-07 13:34, Andriy Gapon wrote: > On 07/11/2019 23:19, Colin Percival wrote: >> On 2019-11-07 13:14, Andriy Gapon wrote: >>> x86 stack_save_td_running() can work safely only if IPI_TRACE is a >>> non-maskable interrupt. But at the moment FreeBSD/Xen does not provide >>> support for

svn commit: r354489 - head/sys/x86/x86

2019-11-07 Thread Andriy Gapon
Author: avg Date: Thu Nov 7 21:43:31 2019 New Revision: 354489 URL: https://svnweb.freebsd.org/changeset/base/354489 Log: revert r354482, checking for XENHVM was a wrong way of checking for Xen Modified: head/sys/x86/x86/stack_machdep.c Modified: head/sys/x86/x86/stack_machdep.c ===

Re: svn commit: r354482 - head/sys/x86/x86

2019-11-07 Thread Andriy Gapon
On 07/11/2019 23:19, Colin Percival wrote: > On 2019-11-07 13:14, Andriy Gapon wrote: >> x86 stack_save_td_running() can work safely only if IPI_TRACE is a >> non-maskable interrupt. But at the moment FreeBSD/Xen does not provide >> support for the NMI delivery mode. So, mark the functional

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

2019-11-07 Thread Kyle Evans
Author: kevans Date: Thu Nov 7 21:31:15 2019 New Revision: 354488 URL: https://svnweb.freebsd.org/changeset/base/354488 Log: bcm_lintc: don't attach if "interrupt-controller" is missing This is a standard required property for interrupt controllers, and present on the bcm_lintc nodes for

svn commit: r354487 - head/sys/netinet

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 21:30:27 2019 New Revision: 354487 URL: https://svnweb.freebsd.org/changeset/base/354487 Log: In TCP HPTS enter the epoch in tcp_hpts_thread() and assert it in the leaf functions. Modified: head/sys/netinet/tcp_hpts.c Modified: head/sys/netinet/tcp_hpts.c =

svn commit: r354486 - head/sys/netinet

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 21:29:38 2019 New Revision: 354486 URL: https://svnweb.freebsd.org/changeset/base/354486 Log: Mechanically convert INP_INFO_RLOCK() to NET_EPOCH_ENTER() in TCP timewait manipulation leaf functions. Modified: head/sys/netinet/tcp_timewait.c Modified: head/sy

svn commit: r354485 - head/sys/netinet

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 21:28:46 2019 New Revision: 354485 URL: https://svnweb.freebsd.org/changeset/base/354485 Log: Since pfslowtimo() runs in the network epoch, tcp_slowtimo() also does. This allows to simplify tcp_tw_2msl_scan() and always require the network epoch in it. Modi

svn commit: r354484 - head/sys/netinet

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 21:27:32 2019 New Revision: 354484 URL: https://svnweb.freebsd.org/changeset/base/354484 Log: Now that there is no R/W lock on PCB list the pcblist sysctls handlers can be greatly simplified. All the previous double cycling and complex locking was added to a

svn commit: r354483 - in head/sys/netinet: . tcp_stacks

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 21:23:07 2019 New Revision: 354483 URL: https://svnweb.freebsd.org/changeset/base/354483 Log: Now that all of the tcp_input() and all its branches are executed in the network epoch, we can greatly simplify synchronization. Remove all unneccesary epoch enters

Re: svn commit: r354482 - head/sys/x86/x86

2019-11-07 Thread Colin Percival
On 2019-11-07 13:14, Andriy Gapon wrote: > x86 stack_save_td_running() can work safely only if IPI_TRACE is a > non-maskable interrupt. But at the moment FreeBSD/Xen does not provide > support for the NMI delivery mode. So, mark the functionality as > unsupported similarly to other platfo

svn commit: r354482 - head/sys/x86/x86

2019-11-07 Thread Andriy Gapon
Author: avg Date: Thu Nov 7 21:14:59 2019 New Revision: 354482 URL: https://svnweb.freebsd.org/changeset/base/354482 Log: IPI_TRACE is not really supported on xen x86 stack_save_td_running() can work safely only if IPI_TRACE is a non-maskable interrupt. But at the moment FreeBSD/Xen doe

svn commit: r354481 - head/sys/netinet

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 21:08:49 2019 New Revision: 354481 URL: https://svnweb.freebsd.org/changeset/base/354481 Log: Remove unnecessary recursive epoch enter via INP_INFO_RLOCK macro in udp_input(). It shall always run in the network epoch. Modified: head/sys/netinet/udp_usrreq.c

svn commit: r354480 - head/sys/netinet

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 21:03:15 2019 New Revision: 354480 URL: https://svnweb.freebsd.org/changeset/base/354480 Log: Remove now unused INP_HASH_RLOCK() macros. Modified: head/sys/netinet/in_pcb.h Modified: head/sys/netinet/in_pcb.h ==

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

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 21:01:36 2019 New Revision: 354479 URL: https://svnweb.freebsd.org/changeset/base/354479 Log: Now with epoch synchronized PCB lookup tables we can greatly simplify locking in udp_output() and udp6_output(). First, we select if we need read or write lock in

svn commit: r354478 - head/sys/netinet

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 20:57:51 2019 New Revision: 354478 URL: https://svnweb.freebsd.org/changeset/base/354478 Log: Add INP_UNLOCK() which will do whatever R/W unlock is required. Modified: head/sys/netinet/in_pcb.h Modified: head/sys/netinet/in_pcb.h =

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

2019-11-07 Thread Gleb Smirnoff
On Thu, Nov 07, 2019 at 08:49:56PM +, Gleb Smirnoff wrote: T> Author: glebius T> Date: Thu Nov 7 20:49:56 2019 T> New Revision: 354477 T> URL: https://svnweb.freebsd.org/changeset/base/354477 T> T> Log: T> Since r353292 on input path we are always in network epoch, when T> we lookup PCBs.

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

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 20:49:56 2019 New Revision: 354477 URL: https://svnweb.freebsd.org/changeset/base/354477 Log: Since r353292 on input path we are always in network epoch, when we lookup PCBs. Thus, do not enter epoch recursively in in_pcblookup_hash() and in6_pcblookup_hash(

svn commit: r354476 - head/sys/netinet

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 20:44:34 2019 New Revision: 354476 URL: https://svnweb.freebsd.org/changeset/base/354476 Log: Remove unnecessary recursive epoch enter via INP_INFO_RLOCK macro in divert_packet(). This function is called only from pfil(9) filters, which in their place always

svn commit: r354475 - head/sys/netinet6

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 20:43:12 2019 New Revision: 354475 URL: https://svnweb.freebsd.org/changeset/base/354475 Log: Remove unnecessary recursive epoch enter via INP_INFO_RLOCK macro in icmp6_rip6_input(). It shall always run in the network epoch. Modified: head/sys/netinet6/ic

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

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 20:40:44 2019 New Revision: 354474 URL: https://svnweb.freebsd.org/changeset/base/354474 Log: Remove unnecessary recursive epoch enter via INP_INFO_RLOCK macro in raw input functions for IPv4 and IPv6. They shall always run in the network epoch. Modified:

svn commit: r354473 - head/sys/netinet6

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 20:38:53 2019 New Revision: 354473 URL: https://svnweb.freebsd.org/changeset/base/354473 Log: Remove unnecessary recursive epoch enter via INP_INFO_RLOCK macro in udp6_input(). It shall always run in the network epoch. Modified: head/sys/netinet6/udp6_usrre

svn commit: r354472 - stable/12/sys/net

2019-11-07 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Nov 7 20:11:53 2019 New Revision: 354472 URL: https://svnweb.freebsd.org/changeset/base/354472 Log: MFC r354231 netmap: fix build issue in netmap_user.h The issue was a comparison of integers of different signs on 32 bit architectures. Reported by:

svn commit: r354471 - in stable/12: share/man/man4 sys/dev/netmap sys/net tools/tools/netmap usr.sbin usr.sbin/valectl

2019-11-07 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Nov 7 20:09:41 2019 New Revision: 354471 URL: https://svnweb.freebsd.org/changeset/base/354471 Log: MFC r354229 add valectl to the system commands The valectl(4) program is used to manage vale(4) switches. Add it to the system commands so that it can be u

svn commit: r354469 - in head/contrib/llvm: include/llvm/DebugInfo/DWARF include/llvm/MC lib/DebugInfo/DWARF lib/MC lib/Object lib/Target/RISCV lib/Target/RISCV/AsmParser lib/Target/RISCV/MCTargetD...

2019-11-07 Thread Dimitry Andric
Author: dim Date: Thu Nov 7 19:54:08 2019 New Revision: 354469 URL: https://svnweb.freebsd.org/changeset/base/354469 Log: Merge commit f596f4507 from llvm git (by Sam Elliott): [RISCV] Add Custom Parser for Atomic Memory Operands Summary: GCC Accepts both (reg) and 0(reg) for

svn commit: r354470 - head/sys/dev/hwpmc

2019-11-07 Thread Andrew Gallatin
Author: gallatin Date: Thu Nov 7 19:54:24 2019 New Revision: 354470 URL: https://svnweb.freebsd.org/changeset/base/354470 Log: hwpmc : fix AMD perf counter MSR access - amd_intr() does not account for the offset (0x200) in the counter MSR address and ends up accessing invalid regions whi

svn commit: r354468 - head/share/man/man7

2019-11-07 Thread Ed Maste
Author: emaste Date: Thu Nov 7 19:37:26 2019 New Revision: 354468 URL: https://svnweb.freebsd.org/changeset/base/354468 Log: arch.7: claim 12.x as the last architecture with sparc64 support GCC 4.2.1 is being removed before FreeBSD 13, as are some other components required by FreeBSD/spa

svn commit: r354467 - head/lib/msun/src

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 19:31:56 2019 New Revision: 354467 URL: https://svnweb.freebsd.org/changeset/base/354467 Log: Fix declaration of S1 by swapping misplaced ',' and ';'. Reported by: kargl Obtained from:OpenBSD (t...@openbsd.org) MFC after:1 week Modified: h

svn commit: r354466 - head/lib/msun/src

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 19:28:03 2019 New Revision: 354466 URL: https://svnweb.freebsd.org/changeset/base/354466 Log: Revert change accidentally included in r354465. Will recommit with a proper commit message shortly. Modified: head/lib/msun/src/k_sincosl.h Modified: head/lib/ms

svn commit: r354465 - in head: . lib/msun/src libexec libexec/rtld-elf libexec/rtld-elf32 share/mk usr.bin usr.bin/ldd32

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 19:22:51 2019 New Revision: 354465 URL: https://svnweb.freebsd.org/changeset/base/354465 Log: Revert r354449: libcompat: build 32-bit rtld and ldd as part of "everything" Additional testing is required.. Deleted: head/libexec/rtld-elf32/ head/usr.bin/ldd

svn commit: r354464 - head/sys/conf

2019-11-07 Thread Kyle Evans
Author: kevans Date: Thu Nov 7 19:13:53 2019 New Revision: 354464 URL: https://svnweb.freebsd.org/changeset/base/354464 Log: sys/conf/files.arm64: remove some unnecessary soc_* dependencies These files already have 'device' lines that they require; adding a dependency on SOC_* options is

svn commit: r354463 - head/sys/net

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 19:06:18 2019 New Revision: 354463 URL: https://svnweb.freebsd.org/changeset/base/354463 Log: sysctl_rtsock() has all necessary locking and doesn't need Giant to run. While here add description. Modified: head/sys/net/rtsock.c Modified: head/sys/net/rtsock.

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

2019-11-07 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 7 18:29:51 2019 New Revision: 354462 URL: https://svnweb.freebsd.org/changeset/base/354462 Log: netinet*: variable cleanup In preparation for another change factor out various variable cleanups. These mainly include: (1) do not assign values to variables during

svn commit: r354461 - head/sys/vm

2019-11-07 Thread Mark Johnston
Author: markj Date: Thu Nov 7 18:26:29 2019 New Revision: 354461 URL: https://svnweb.freebsd.org/changeset/base/354461 Log: Drop Giant before sleeping on a busy page. Before the page busy code was converted to make direct use of sleepqueues, this was handled by _sleep(). Reported by

svn commit: r354460 - in head: contrib/libc++/include sys/sys

2019-11-07 Thread Dimitry Andric
Author: dim Date: Thu Nov 7 18:26:01 2019 New Revision: 354460 URL: https://svnweb.freebsd.org/changeset/base/354460 Log: Merge commit e8316372b from llvm git (by Louis Dionne): [libc++] Add `__truncating_cast` for safely casting float types to integers This is needed anytime

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

2019-11-07 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Nov 7 18:16:46 2019 New Revision: 354459 URL: https://svnweb.freebsd.org/changeset/base/354459 Log: The cdceem(4) driver debuted in 12.1. MFC after:2 weeks Modified: head/share/man/man4/cdceem.4 Modified: head/share/man/man4/cdceem.4

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

2019-11-07 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Nov 7 18:15:24 2019 New Revision: 354458 URL: https://svnweb.freebsd.org/changeset/base/354458 Log: Extend the linux rc script to mount the neccessary file systems, set ELF fallback brand, and load pty(4). Reviewed by: emaste (earlier version) MFC after:2 w

svn commit: r354457 - stable/12/lib/libpmc/pmu-events

2019-11-07 Thread Ed Maste
Author: emaste Date: Thu Nov 7 18:14:58 2019 New Revision: 354457 URL: https://svnweb.freebsd.org/changeset/base/354457 Log: MFC r354342: libpmc: jevents: handle empty description PR: 241258 Reported by: sigsys @ gmail.com Obtained from:github.com/andikleen/pmu-tools

svn commit: r354456 - vendor/Juniper/libxo

2019-11-07 Thread Phil Shafer
Author: phil Date: Thu Nov 7 18:07:34 2019 New Revision: 354456 URL: https://svnweb.freebsd.org/changeset/base/354456 Log: Remove oxtradoc version of documentation; move to RST/Sphinx Modified: vendor/Juniper/libxo/import.sh Modified: vendor/Juniper/libxo/import.sh =

svn commit: r354455 - in head: contrib/libxo contrib/libxo/libxo contrib/libxo/tests/core lib/libxo lib/libxo/encoder/csv usr.bin/xohtml

2019-11-07 Thread Phil Shafer
Author: phil Date: Thu Nov 7 18:06:44 2019 New Revision: 354455 URL: https://svnweb.freebsd.org/changeset/base/354455 Log: Import libxo-1.3.1: - handle argv[0] without '/' - add test case for argv[0] without '/' Modified: head/contrib/libxo/configure.ac head/contrib/libxo/libxo/libxo.c

svn commit: r354454 - vendor/Juniper/libxo/1.3.1

2019-11-07 Thread Phil Shafer
Author: phil Date: Thu Nov 7 18:05:38 2019 New Revision: 354454 URL: https://svnweb.freebsd.org/changeset/base/354454 Log: Tag libxo 1.3.1 Added: - copied from r354453, vendor/Juniper/libxo/dist/ Directory Properties: vendor/Juniper/libxo/1.3.1/ (props changed) ___

svn commit: r354453 - in vendor/Juniper/libxo/dist: . libxo tests/core

2019-11-07 Thread Phil Shafer
Author: phil Date: Thu Nov 7 18:05:26 2019 New Revision: 354453 URL: https://svnweb.freebsd.org/changeset/base/354453 Log: Import libxo 1.3.1 Modified: vendor/Juniper/libxo/dist/configure.ac vendor/Juniper/libxo/dist/libxo/libxo.c vendor/Juniper/libxo/dist/tests/core/test_01.c Modified:

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

2019-11-07 Thread Andrew Turner
Author: andrew Date: Thu Nov 7 17:34:44 2019 New Revision: 354452 URL: https://svnweb.freebsd.org/changeset/base/354452 Log: Add more 8 and 16 bit variants of the the atomic(9) functions on arm64. These are direct copies of the 32 bit functions, adjusted ad needed. While here fix atomic_

svn commit: r354451 - head/sys/sys

2019-11-07 Thread Andrew Turner
Author: andrew Date: Thu Nov 7 17:21:17 2019 New Revision: 354451 URL: https://svnweb.freebsd.org/changeset/base/354451 Log: Add the missing volatile qualifier in atomic_store_ptr MFC after:1 week Sponsored by: DARPA, AFRL Modified: head/sys/sys/atomic_common.h Modified: head/sys

svn commit: r354450 - head/usr.bin/env

2019-11-07 Thread Joseph Mingrone
Author: jrm (ports committer) Date: Thu Nov 7 17:14:59 2019 New Revision: 354450 URL: https://svnweb.freebsd.org/changeset/base/354450 Log: Add -0 option to ENV(1) With the -0 option added to ENV(1), some ports will no longer require genv from sysutils/coreutils. Reviewed by: kevan

svn commit: r354449 - in head: . libexec libexec/rtld-elf libexec/rtld-elf32 share/mk usr.bin usr.bin/ldd32

2019-11-07 Thread Brooks Davis
Author: brooks Date: Thu Nov 7 17:10:33 2019 New Revision: 354449 URL: https://svnweb.freebsd.org/changeset/base/354449 Log: libcompat: build 32-bit rtld and ldd as part of "everything" Alter bsd.compat.mk to set MACHINE and MACHINE_ARCH when included directly so MD paths in Makefiles wo

svn commit: r354448 - head/sys/netinet6

2019-11-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 7 17:00:20 2019 New Revision: 354448 URL: https://svnweb.freebsd.org/changeset/base/354448 Log: Widen network epoch coverage in nd6_prefix_onlink() as in6ifa_ifpforlinklocal() requires the epoch. Reported by: bz Reviewed by: bz Modified: head/sys/neti

Re: svn commit: r354435 - head/stand/efi/libefi

2019-11-07 Thread Warner Losh
On Thu, Nov 7, 2019 at 8:39 AM Toomas Soome wrote: > > > On 7. Nov 2019, at 17:29, Warner Losh wrote: > > > > On Thu, Nov 7, 2019 at 4:17 AM Toomas Soome wrote: > >> Author: tsoome >> Date: Thu Nov 7 11:17:03 2019 >> New Revision: 354435 >> URL: https://svnweb.freebsd.org/changeset/base/354435

svn commit: r354447 - head/sys/compat/linux

2019-11-07 Thread Ed Maste
Author: emaste Date: Thu Nov 7 15:51:44 2019 New Revision: 354447 URL: https://svnweb.freebsd.org/changeset/base/354447 Log: linux_renameat2: improve flag checks In the cases where Linux returns an error (e.g. passing in an undefined flag) there's no need for us to emit a message. (The

svn commit: r354446 - head/libexec/rc

2019-11-07 Thread Ed Maste
Author: emaste Date: Thu Nov 7 15:48:46 2019 New Revision: 354446 URL: https://svnweb.freebsd.org/changeset/base/354446 Log: rc.shutdown: print a newline before watchdog timeout message Previously the watchdog timeout message was appended to the last entry in the "Waiting for PIDS" list,

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

2019-11-07 Thread Ed Maste
Author: emaste Date: Thu Nov 7 15:47:05 2019 New Revision: 354445 URL: https://svnweb.freebsd.org/changeset/base/354445 Log: nvdimm.4: small grammar improvements Modified: head/share/man/man4/nvdimm.4 Modified: head/share/man/man4/nvdimm.4 ===

Re: svn commit: r354435 - head/stand/efi/libefi

2019-11-07 Thread Toomas Soome via svn-src-all
> On 7. Nov 2019, at 17:29, Warner Losh wrote: > > > > On Thu, Nov 7, 2019 at 4:17 AM Toomas Soome > wrote: > Author: tsoome > Date: Thu Nov 7 11:17:03 2019 > New Revision: 354435 > URL: https://svnweb.freebsd.org/changeset/base/354435 >

svn commit: r354444 - in stable/12/sys: cddl/contrib/opensolaris/uts/common/fs/zfs sys vm

2019-11-07 Thread Konstantin Belousov
Author: kib Date: Thu Nov 7 15:32:59 2019 New Revision: 35 URL: https://svnweb.freebsd.org/changeset/base/35 Log: MFC r353892: Assert that vnode_pager_setsize() is called with the vnode exclusively locked. Modified: stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsop

Re: svn commit: r354435 - head/stand/efi/libefi

2019-11-07 Thread Warner Losh
On Thu, Nov 7, 2019 at 4:17 AM Toomas Soome wrote: > Author: tsoome > Date: Thu Nov 7 11:17:03 2019 > New Revision: 354435 > URL: https://svnweb.freebsd.org/changeset/base/354435 > > Log: > loader: implement fallback efi_devpath_to_name() > > UEFI 1.10 on macs does not seem to provide devpat

Re: svn commit: r354286 - in head/sys/arm64: arm64 include

2019-11-07 Thread Ed Maste
On Sun, 3 Nov 2019 at 16:39, Alan Cox wrote: > > Author: alc > Date: Sun Nov 3 17:45:30 2019 > New Revision: 354286 > URL: https://svnweb.freebsd.org/changeset/base/354286 > > Log: > Utilize ASIDs to reduce both the direct and indirect costs of context I built a full pkg set on an Ampere eMAG

svn commit: r354443 - head/sys/net

2019-11-07 Thread Andrey V. Elsukov
Author: ae Date: Thu Nov 7 15:00:37 2019 New Revision: 354443 URL: https://svnweb.freebsd.org/changeset/base/354443 Log: Enqueue lladdr_task to update link level address of vlan, when its parent interface has changed. During vlan reconfiguration without destroying interface, it is possib

svn commit: r354441 - head/share/man/man7

2019-11-07 Thread Ed Maste
Author: emaste Date: Thu Nov 7 14:14:51 2019 New Revision: 354441 URL: https://svnweb.freebsd.org/changeset/base/354441 Log: arch.7: armv6 uses lld by default as of r354289 Modified: head/share/man/man7/arch.7 Modified: head/share/man/man7/arch.7

svn commit: r354440 - stable/12/sys/dev/mlx5/mlx5_en

2019-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 7 13:12:38 2019 New Revision: 354440 URL: https://svnweb.freebsd.org/changeset/base/354440 Log: Check CSUM_SND_TAG flag before classifying packet has having a send tag in mlx5en(4). This fixes an issue with packets being dropped when doing packet forwarding, b

  1   2   >