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

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

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

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

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

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

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

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

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:

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: 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

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: 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: 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

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

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

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

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:

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

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

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

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

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

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

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: 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:

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

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: 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:

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

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:

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

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

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:

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

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

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

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

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

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:

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.

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

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

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

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:

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

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

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

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

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:

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:

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

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: 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

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:

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:

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/

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

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:

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

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

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

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

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

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:

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:

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

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:

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:

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"

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-head
> 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 >

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

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

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: r354437 - head/cddl/contrib/opensolaris/cmd/zpool

2019-11-07 Thread Andriy Gapon
Author: avg Date: Thu Nov 7 11:50:53 2019 New Revision: 354437 URL: https://svnweb.freebsd.org/changeset/base/354437 Log: fix zpool list property names This change is based on r354380 8899 zpool list property documentation doesn't match actual behaviour There is no "used" pool

svn commit: r354436 - in head: cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common sys/cddl/contrib/opensolaris/uts/common/...

2019-11-07 Thread Andriy Gapon
Author: avg Date: Thu Nov 7 11:18:28 2019 New Revision: 354436 URL: https://svnweb.freebsd.org/changeset/base/354436 Log: MFV r354377: 10554 Implemented zpool sync command illumos/illumos-gate@9c2acf00e275b6b2125a306f33cdddcc58393220

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

2019-11-07 Thread Toomas Soome
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 devpath to name translation, provide our own (limited) version, so we