svn commit: r350624 - in head/sys/dev: amdsmn amdtemp

2019-08-05 Thread Conrad Meyer
Author: cem Date: Tue Aug 6 03:54:27 2019 New Revision: 350624 URL: https://svnweb.freebsd.org/changeset/base/350624 Log: amdtemp(4), amdsmn(4): Attach to Ryzen 3 (Zen 2) hostbridges PR: 239607 Reported by: "drclaw" Modified: head/sys/dev/amdsmn/amdsmn.c head/sys/dev/amdtemp/amd

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

2019-08-05 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 6 03:49:40 2019 New Revision: 350623 URL: https://svnweb.freebsd.org/changeset/base/350623 Log: Fix build from r350622 It helps if my local kernel build has INVARIANTS. Modified: head/sys/powerpc/booke/pmap.c Modified: head/sys/powerpc/booke/pmap.c ==

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

2019-08-05 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 6 03:16:06 2019 New Revision: 350622 URL: https://svnweb.freebsd.org/changeset/base/350622 Log: powerpc/pmap: Simplify Book-E 64-bit page table management There is no need for the 64-bit pmap to have a fixed number of page table buffers. Since the 64-bit p

Re: svn commit: r349929 - head/sys/contrib/ipfilter/netinet

2019-08-05 Thread Cy Schubert
In message <20190806011317.gg1...@freebsd.org>, Gleb Smirnoff writes: > Hi, > > On Fri, Jul 12, 2019 at 01:59:09AM +, Cy Schubert wrote: > C> Log: > C> Move the new ipf_pcksum6() function from ip_fil_freebsd.c to fil.c. > C> The reason for this is that ipftest(8), which still works on Fre

Re: svn commit: r349929 - head/sys/contrib/ipfilter/netinet

2019-08-05 Thread Gleb Smirnoff
Hi, On Fri, Jul 12, 2019 at 01:59:09AM +, Cy Schubert wrote: C> Log: C> Move the new ipf_pcksum6() function from ip_fil_freebsd.c to fil.c. C> The reason for this is that ipftest(8), which still works on FreeBSD-11, C> fails to link to it, breaking stable/11 builds. C> C> ipftest(

svn commit: r350620 - head/contrib/netbsd-tests/lib/libpthread

2019-08-05 Thread Eric van Gyzen
Author: vangyzen Date: Mon Aug 5 22:59:35 2019 New Revision: 350620 URL: https://svnweb.freebsd.org/changeset/base/350620 Log: Relax time constraint in pthread_cond_timedwait unit test pthread_cond_timedwait() should wait _at least_ until the timeout, but it might appear to wait longer d

svn commit: r350619 - in stable: 11/usr.sbin/bhyve 12/usr.sbin/bhyve

2019-08-05 Thread John Baldwin
Author: jhb Date: Mon Aug 5 22:04:16 2019 New Revision: 350619 URL: https://svnweb.freebsd.org/changeset/base/350619 Log: MFC 350618: Validate guest-supplied length of headers for TSO transmit requests. When transmitting a large TCP packet, the final transmit descriptor includes the le

svn commit: r350619 - in stable: 11/usr.sbin/bhyve 12/usr.sbin/bhyve

2019-08-05 Thread John Baldwin
Author: jhb Date: Mon Aug 5 22:04:16 2019 New Revision: 350619 URL: https://svnweb.freebsd.org/changeset/base/350619 Log: MFC 350618: Validate guest-supplied length of headers for TSO transmit requests. When transmitting a large TCP packet, the final transmit descriptor includes the le

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

2019-08-05 Thread John Baldwin
Author: jhb Date: Mon Aug 5 21:39:55 2019 New Revision: 350618 URL: https://svnweb.freebsd.org/changeset/base/350618 Log: Validate guest-supplied length of headers for TSO transmit requests. When transmitting a large TCP packet, the final transmit descriptor includes the length of the pr

svn commit: r350617 - head/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:31:17 2019 New Revision: 350617 URL: https://svnweb.freebsd.org/changeset/base/350617 Log: procdesc: fix the function name I changed name of the function r350429 and forgot to update the r350612 patch. Reported by: jenkins MFC after:1 month

svn commit: r350616 - head/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:26:01 2019 New Revision: 350616 URL: https://svnweb.freebsd.org/changeset/base/350616 Log: process: style We don't need to check if the parent is already set. This is done already in the proc_reparent. No functional behaviour changes intended.

svn commit: r350615 - stable/11/usr.bin/printf

2019-08-05 Thread Jilles Tjoelker
Author: jilles Date: Mon Aug 5 20:21:35 2019 New Revision: 350615 URL: https://svnweb.freebsd.org/changeset/base/350615 Log: MFC r350425: printf(1): Note that \c only works in %b strings PR: 238313 Modified: stable/11/usr.bin/printf/printf.1 Directory Properties: stable/11/

svn commit: r350614 - head/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:20:14 2019 New Revision: 350614 URL: https://svnweb.freebsd.org/changeset/base/350614 Log: exit1: fix style nits MFC after:1 month Modified: head/sys/kern/kern_exit.c Modified: head/sys/kern/kern_exit.c

svn commit: r350613 - stable/12/usr.bin/printf

2019-08-05 Thread Jilles Tjoelker
Author: jilles Date: Mon Aug 5 20:19:38 2019 New Revision: 350613 URL: https://svnweb.freebsd.org/changeset/base/350613 Log: MFC r350425: printf(1): Note that \c only works in %b strings PR: 238313 Modified: stable/12/usr.bin/printf/printf.1 Directory Properties: stable/12/

svn commit: r350612 - in head: sys/kern tests/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:15:46 2019 New Revision: 350612 URL: https://svnweb.freebsd.org/changeset/base/350612 Log: procdesc: fix reparenting when the debugger is attached The process is reparented to the debugger while it is attached. B B / > | A

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

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 20:11:57 2019 New Revision: 350611 URL: https://svnweb.freebsd.org/changeset/base/350611 Log: proc: introduce the proc_add_orphan function This API allows adding the process to its parent orphan list. Reviewed by: kib, markj MFC after:1 month Mo

svn commit: r350610 - head/sys/kern

2019-08-05 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Aug 5 19:59:23 2019 New Revision: 350610 URL: https://svnweb.freebsd.org/changeset/base/350610 Log: exit1: postpone clearing P_TRACED flag until the proctree lock is acquired In case of the process being debugged. The P_TRACED is cleared very early, which would

svn commit: r350609 - head/sbin/nvmecontrol

2019-08-05 Thread Alexander Motin
Author: mav Date: Mon Aug 5 19:30:28 2019 New Revision: 350609 URL: https://svnweb.freebsd.org/changeset/base/350609 Log: Fix alignment issue r350599. MFC after:10 days Modified: head/sbin/nvmecontrol/resv.c Modified: head/sbin/nvmecontrol/resv.c ===

Re: svn commit: r350607 - head/sys/kern

2019-08-05 Thread Konstantin Belousov
On Mon, Aug 05, 2019 at 07:16:34PM +, Konstantin Belousov wrote: > Author: kib > Date: Mon Aug 5 19:16:33 2019 > New Revision: 350607 > URL: https://svnweb.freebsd.org/changeset/base/350607 > > Log: > Fix mis-merge This should have been: Account for the stack limit when calculating effectiv

svn commit: r350608 - head/sys/kern

2019-08-05 Thread Konstantin Belousov
Author: kib Date: Mon Aug 5 19:19:25 2019 New Revision: 350608 URL: https://svnweb.freebsd.org/changeset/base/350608 Log: Fix mis-merge. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/kern/imgact_elf.c Modified: head/sys/kern/imgact_elf.c ===

svn commit: r350607 - head/sys/kern

2019-08-05 Thread Konstantin Belousov
Author: kib Date: Mon Aug 5 19:16:33 2019 New Revision: 350607 URL: https://svnweb.freebsd.org/changeset/base/350607 Log: Fix mis-merge Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/kern/kern_exec.c Modified: head/sys/kern/kern_exec.c ==

svn commit: r350606 - stable/12/sys/modules/dtb/allwinner

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 18:59:53 2019 New Revision: 350606 URL: https://svnweb.freebsd.org/changeset/base/350606 Log: MFC r347362: dtb: allwinner: Add the pinebook dtb to the build Modified: stable/12/sys/modules/dtb/allwinner/Makefile Directory Properties: stable/12/ (props ch

svn commit: r350605 - in stable/12/sys: arm/allwinner arm/allwinner/a10 arm/allwinner/clkng arm64/conf conf dts/arm64/overlays modules/dtb/allwinner

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 18:27:25 2019 New Revision: 350605 URL: https://svnweb.freebsd.org/changeset/base/350605 Log: MFC r346334, r346787-r346789, r347017 r346334: arm: allwinner: Fix audio for Allwinner H3/H5 Due to three conditions the codec driver for Allwinner A10/A20 and

svn commit: r350604 - stable/12/usr.sbin/config

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 18:17:03 2019 New Revision: 350604 URL: https://svnweb.freebsd.org/changeset/base/350604 Log: MFC r346298: config: Only warn if duplicate option/device comes from the same file This is useful for arm (possibly other arches too) where we want to have a GE

svn commit: r350603 - in stable/12/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/broadcom/bcm2835 arm/freescale/imx arm/freescale/vybrid arm/mv arm/nvidia/tegra...

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 18:13:13 2019 New Revision: 350603 URL: https://svnweb.freebsd.org/changeset/base/350603 Log: MFC r346295, r346297 r346295: arm: Add kern_clocksource.c directly in files.arm This files is needed and included in all our config so move it to a common loc

svn commit: r350602 - in stable/12/sys: arm/allwinner arm/conf modules/allwinner modules/allwinner/aw_rsb modules/allwinner/aw_rtc modules/allwinner/aw_sid modules/allwinner/aw_thermal modules/allw...

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 18:05:22 2019 New Revision: 350602 URL: https://svnweb.freebsd.org/changeset/base/350602 Log: MFC r346305, r346691-r346694, r346696-r346697 r346305: arm: allwinner: Makes more device optional r346691: arm: allwinner: Add pnpinfo for aw_sid and add modu

svn commit: r350601 - in stable/12/sys: arm/mv arm64/conf conf dev/usb/controller

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 17:54:08 2019 New Revision: 350601 URL: https://svnweb.freebsd.org/changeset/base/350601 Log: MFC r344633-r344634, r344638 r344633: usb_nop_xceiv: Add support for this pseudo device This is a "fake" phy that handle regulator, clocks and reset gpio. Onl

svn commit: r350600 - in stable/12/sys: arm/mv arm64/conf conf dev/fdt dev/iicbus/twsi dev/sdhci

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 17:43:44 2019 New Revision: 350600 URL: https://svnweb.freebsd.org/changeset/base/350600 Log: MFC r342008, r342010-r342020 r342008: fdt: Add support for simple-mfd bus Quoting the binding Documentation : "These devices comprise a nexus for heterogen

svn commit: r350599 - in head: sbin/nvmecontrol sys/dev/nvme

2019-08-05 Thread Alexander Motin
Author: mav Date: Mon Aug 5 17:36:00 2019 New Revision: 350599 URL: https://svnweb.freebsd.org/changeset/base/350599 Log: Add `nvmecontrol resv` to handle NVMe reservations. NVMe reservations are quite alike to SCSI persistent reservations and can be used in clustered setups with shared

svn commit: r350598 - in stable/12/sys/arm/allwinner: . clk

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 17:32:16 2019 New Revision: 350598 URL: https://svnweb.freebsd.org/changeset/base/350598 Log: MFC r346293: allwinner: clk: Garbage collect old clock implementation The old clocks are disconneted from the build since r337344. Remove all those pseudo drive

svn commit: r350597 - in stable/12/sys: arm/allwinner arm/allwinner/clkng gnu/dts/arm gnu/dts/arm64/allwinner gnu/dts/arm64/altera gnu/dts/arm64/amlogic gnu/dts/arm64/arm gnu/dts/arm64/exynos gnu/d...

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 17:23:23 2019 New Revision: 350597 URL: https://svnweb.freebsd.org/changeset/base/350597 Log: MFC r346092, r346271-r346272 r346092: Import DTS files from Linux 5.0 r346271: aw_rtc: Register the clocks Since latest DTS update the rtc is supposed to

svn commit: r350596 - stable/12/sys/dev/iicbus/twsi

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 17:06:20 2019 New Revision: 350596 URL: https://svnweb.freebsd.org/changeset/base/350596 Log: MFC r345948, r345951 r345948: twsi: Add interrupt mode Add the ability to use interrupts for i2c message. We still use polling for early boot i2c transfer (fo

svn commit: r350595 - in stable/12: etc/mtree release/arm64 sys/arm/allwinner/clkng sys/conf sys/modules/dtb/allwinner

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 17:01:19 2019 New Revision: 350595 URL: https://svnweb.freebsd.org/changeset/base/350595 Log: MFC r342924, r343749-r343750, r343874, r344893-r344895, r345711 r342924: dtb: allwinner: Add orangepi-pc to the build PR: 226011 Submitted by: Greg

svn commit: r350594 - in stable/12/sys: gnu/dts/arm gnu/dts/arm64/actions gnu/dts/arm64/allwinner gnu/dts/arm64/altera gnu/dts/arm64/amd gnu/dts/arm64/amlogic gnu/dts/arm64/arm gnu/dts/arm64/broadc...

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 16:56:11 2019 New Revision: 350594 URL: https://svnweb.freebsd.org/changeset/base/350594 Log: MFC r342936, r343873 r342936: Import DTS from Linux 4.20 r343873: arm64: dtb: allwinner: Add the new pine64-lts dtb file to the build X-MFC-With: r3429

svn commit: r350593 - in stable/12: release/arm64 sys/arm64/conf sys/dev/extres/clk sys/dev/extres/regulator sys/dts/arm64/overlays

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 16:48:16 2019 New Revision: 350593 URL: https://svnweb.freebsd.org/changeset/base/350593 Log: MFC r340987, r340989, r341254, r341269, r341333 r340987: arm64: Add evdev support to GENERIC r340989: regulator_fixed: Do not disable fixed regulator at probe

svn commit: r350592 - in stable/12: release/arm64 release/tools sys/arm/allwinner sys/conf sys/dev/extres/phy

2019-08-05 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 5 16:36:11 2019 New Revision: 350592 URL: https://svnweb.freebsd.org/changeset/base/350592 Log: MFC r340845-r340848, r340971, r340981, r342076 r340845: Derive PHY class to new one specialized for USB PHY functions. Submitted by: mmel r340846: aw_usb

svn commit: r350591 - in head: share/man/man4 sys/conf sys/dev/iicbus sys/modules/i2c sys/modules/i2c/ads111x

2019-08-05 Thread Ian Lepore
Author: ian Date: Mon Aug 5 15:56:44 2019 New Revision: 350591 URL: https://svnweb.freebsd.org/changeset/base/350591 Log: Add a driver for Texas Instruments ADS101x/ADS111x i2c ADC chips. Instances of the device can be configured using hints or FDT data. Interfaces to reconfigure the

svn commit: r350590 - stable/12/sys/riscv/riscv

2019-08-05 Thread Kristof Provost
Author: kp Date: Mon Aug 5 15:24:05 2019 New Revision: 350590 URL: https://svnweb.freebsd.org/changeset/base/350590 Log: MFC r350416: riscv: Fix copyin/copyout r343275 introduced a performance optimisation to the copyin/copyout routines by attempting to copy word-per-word rather tha

svn commit: r350589 - head/tools/build/mk

2019-08-05 Thread Leandro Lupori
Author: luporl Date: Mon Aug 5 13:28:21 2019 New Revision: 350589 URL: https://svnweb.freebsd.org/changeset/base/350589 Log: [PPC64] Don't mark ld.bfd as obsolete PowerPC64 still needs ld.bfd for 32-bit binaries/libraries. This will be needed when ELFv2 becomes default, but there is n

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

2019-08-05 Thread Michael Tuexen
Author: tuexen Date: Mon Aug 5 13:22:15 2019 New Revision: 350588 URL: https://svnweb.freebsd.org/changeset/base/350588 Log: Improve consistency. No functional change. MFC after:3 days Modified: head/sys/netinet/sctp_asconf.c head/sys/netinet/sctp_os_bsd.h head/sys/netin

svn commit: r350587 - head/libexec/rtld-elf/powerpc64

2019-08-05 Thread Leandro Lupori
Author: luporl Date: Mon Aug 5 13:22:02 2019 New Revision: 350587 URL: https://svnweb.freebsd.org/changeset/base/350587 Log: [PPC64] Fix rtld direct exec mode Instead of restoring the saved values of argc, argv and envp, these must be loaded from the stack that _rtld() modifies. Thi

svn commit: r350586 - in head: etc/mtree tests/sys/netpfil tests/sys/netpfil/common

2019-08-05 Thread Tom Jones
Author: thj Date: Mon Aug 5 11:47:34 2019 New Revision: 350586 URL: https://svnweb.freebsd.org/changeset/base/350586 Log: Add common firewall test suite Add a common test suite for the firewalls included in the base system. The test suite allows common test infrastructure to test pf, ip

svn commit: r350585 - head/sys/netinet6

2019-08-05 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 5 11:01:12 2019 New Revision: 350585 URL: https://svnweb.freebsd.org/changeset/base/350585 Log: frag6.c: rename ip6q[] to ipq6b[] and consistently use "bucket" The hash buckets array is called ip6q. The data structure ip6q is a description of different object, t

svn commit: r350584 - head/sys/netinet6

2019-08-05 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 5 09:49:24 2019 New Revision: 350584 URL: https://svnweb.freebsd.org/changeset/base/350584 Log: frag6.c: re-order functions within file Re-order functions within the file in preparation for an upcoming code simplification. No functional changes. MFC aft

svn commit: r350583 - stable/11/sys/netpfil/ipfw

2019-08-05 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 5 07:50:25 2019 New Revision: 350583 URL: https://svnweb.freebsd.org/changeset/base/350583 Log: MFC r350417: Add ipfw_get_action() function to get the pointer to action opcode. ACTION_PTR() returns pointer to the start of rule action section, but rule can

svn commit: r350582 - stable/12/sys/netpfil/ipfw

2019-08-05 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 5 07:49:02 2019 New Revision: 350582 URL: https://svnweb.freebsd.org/changeset/base/350582 Log: MFC r350417: Add ipfw_get_action() function to get the pointer to action opcode. ACTION_PTR() returns pointer to the start of rule action section, but rule can