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

2020-11-25 Thread Poul-Henning Kamp
Author: phk Date: Thu Nov 26 07:34:20 2020 New Revision: 368052 URL: https://svnweb.freebsd.org/changeset/base/368052 Log: Add support for Fintek F81803 SuperIO chip Reviewed by: avg Modified: head/sys/dev/superio/superio.c head/sys/dev/superio/superio.h Modified:

svn commit: r368051 - stable/12/usr.sbin/bhyve

2020-11-25 Thread Konstantin Belousov
Author: kib Date: Thu Nov 26 07:31:30 2020 New Revision: 368051 URL: https://svnweb.freebsd.org/changeset/base/368051 Log: MFC r367613: bhyve: remove a hack to map all 8G BARs 1:1 Modified: stable/12/usr.sbin/bhyve/pci_emul.c stable/12/usr.sbin/bhyve/pci_emul.h

svn commit: r368050 - stable/12/usr.sbin/bhyve

2020-11-25 Thread Konstantin Belousov
Author: kib Date: Thu Nov 26 07:30:29 2020 New Revision: 368050 URL: https://svnweb.freebsd.org/changeset/base/368050 Log: MFC r367607: bhyve: increase allowed size for 64bit BAR allocation below 4G from 32 to 128 MB. Modified: stable/12/usr.sbin/bhyve/pci_emul.c Directory Properties:

svn commit: r368049 - stable/12/usr.sbin/bhyve

2020-11-25 Thread Konstantin Belousov
Author: kib Date: Thu Nov 26 07:29:28 2020 New Revision: 368049 URL: https://svnweb.freebsd.org/changeset/base/368049 Log: MFC r367606: bhyve: avoid allocating BARs above the end of supported physical addresses. Modified: stable/12/usr.sbin/bhyve/pci_emul.c Directory Properties:

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

2020-11-25 Thread Mateusz Guzik
Author: mjg Date: Thu Nov 26 06:59:27 2020 New Revision: 368048 URL: https://svnweb.freebsd.org/changeset/base/368048 Log: thread: staticize thread_reap and move td_allocdomain thread_init is a much better fit as the the value is constant after initialization. Modified:

svn commit: r368047 - head/sys/amd64/vmm/amd

2020-11-25 Thread Peter Grehan
Author: grehan Date: Thu Nov 26 05:58:55 2020 New Revision: 368047 URL: https://svnweb.freebsd.org/changeset/base/368047 Log: Remove manual instruction encodings for VMLOAD, VMRUN, and VMSAVE. This is a relic from when these instructions weren't supported by the toolchain.

svn commit: r368046 - in head: contrib/traceroute share/man/man4 tests/sys/netinet tests/sys/netinet6 tests/sys/netipsec/tunnel tests/sys/netpfil/common tests/sys/netpfil/pf usr.sbin/traceroute6

2020-11-25 Thread Alan Somers
Author: asomers Date: Thu Nov 26 04:55:02 2020 New Revision: 368046 URL: https://svnweb.freebsd.org/changeset/base/368046 Log: ping: fix some man pages and tests after r368045 MFC-with: r368045 Modified: head/contrib/traceroute/traceroute.8 head/share/man/man4/inet6.4

svn commit: r368045 - in head: . etc/mtree rescue/rescue sbin sbin/ping sbin/ping/tests sbin/ping6 sbin/ping6/tests tools/build/mk

2020-11-25 Thread Alan Somers
Author: asomers Date: Thu Nov 26 04:29:30 2020 New Revision: 368045 URL: https://svnweb.freebsd.org/changeset/base/368045 Log: Merge ping6 to ping There is now a single ping binary, which chooses to use ICMP or ICMPv4 based on the -4 and -6 options, and the format of the address.

svn commit: r368044 - head/sys/dev/isp

2020-11-25 Thread Alexander Motin
Author: mav Date: Thu Nov 26 02:14:52 2020 New Revision: 368044 URL: https://svnweb.freebsd.org/changeset/base/368044 Log: Some minor FCoE bits I had lying around. Modified: head/sys/dev/isp/isp.c head/sys/dev/isp/isp_library.c head/sys/dev/isp/ispmbox.h Modified: head/sys/dev/isp/isp.c

svn commit: r368043 - head/sys/dev/isp

2020-11-25 Thread Alexander Motin
Author: mav Date: Thu Nov 26 01:59:44 2020 New Revision: 368043 URL: https://svnweb.freebsd.org/changeset/base/368043 Log: Remove some more dead code from pre-24xx. Modified: head/sys/dev/isp/isp_freebsd.c head/sys/dev/isp/isp_library.c head/sys/dev/isp/isp_library.h

svn commit: r368042 - in head: share/doc/legal share/doc/legal/imx sys/arm/freescale/imx sys/contrib/dev/imx

2020-11-25 Thread Ian Lepore
Author: ian Date: Thu Nov 26 01:40:04 2020 New Revision: 368042 URL: https://svnweb.freebsd.org/changeset/base/368042 Log: Add the firmware blob required to use the sdma hardware in the imx6 processor, and its associated license text (which is similar to a bsd-3-clause, but with a

svn commit: r368041 - in head: stand/efi/loader sys/amd64/amd64 sys/amd64/include sys/conf

2020-11-25 Thread Maxim Sobolev
Author: sobomax Date: Wed Nov 25 23:19:01 2020 New Revision: 368041 URL: https://svnweb.freebsd.org/changeset/base/368041 Log: Unobfuscate "KERNLOAD" parameter on amd64. This change lines-up amd64 with the i386 and the rest of supported architectures by defining KERNLOAD in the vmparam.h

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

2020-11-25 Thread John Baldwin
Author: jhb Date: Wed Nov 25 23:17:23 2020 New Revision: 368040 URL: https://svnweb.freebsd.org/changeset/base/368040 Log: Add a manpage for kernel TLS. This subsumes some of the content from tcp(4) describing the socket options but also adds additional notes. Reviewed by:

svn commit: r368039 - head/sys/kern

2020-11-25 Thread Mateusz Guzik
Author: mjg Date: Wed Nov 25 22:53:21 2020 New Revision: 368039 URL: https://svnweb.freebsd.org/changeset/base/368039 Log: pipe: follow up cleanup to previous The commited patch was incomplete. - add back missing goto retry, noted by jhb - 'if (error)' -> 'if (error != 0)' -

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

2020-11-25 Thread John Baldwin
On 11/25/20 1:41 PM, Mateusz Guzik wrote: > Author: mjg > Date: Wed Nov 25 21:41:23 2020 > New Revision: 368038 > URL: https://svnweb.freebsd.org/changeset/base/368038 > > Log: > pipe: drop spurious pipeunlock/pipelock cycle on write > > Modified: > head/sys/kern/sys_pipe.c > > Modified:

Re: svn commit: r368022 - head/lib/libsysdecode

2020-11-25 Thread John Baldwin
On 11/25/20 8:30 AM, Pawel Biernacki wrote: > Author: kaktus > Date: Wed Nov 25 16:30:57 2020 > New Revision: 368022 > URL: https://svnweb.freebsd.org/changeset/base/368022 > > Log: > libsysdecode: correctly decode mmap flags > > r352913 added decoding of mmap PROT_MAX()'d flags but didn’t

svn commit: r368038 - head/sys/kern

2020-11-25 Thread Mateusz Guzik
Author: mjg Date: Wed Nov 25 21:41:23 2020 New Revision: 368038 URL: https://svnweb.freebsd.org/changeset/base/368038 Log: pipe: drop spurious pipeunlock/pipelock cycle on write Modified: head/sys/kern/sys_pipe.c Modified: head/sys/kern/sys_pipe.c

svn commit: r368037 - stable/12/tools/tools/netmap

2020-11-25 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Nov 25 21:25:17 2020 New Revision: 368037 URL: https://svnweb.freebsd.org/changeset/base/368037 Log: MFC r367936 netmap: bridge: improve readability Multiple cosmetic changes, plus a fix to a verbose print (indicating wrong net->host/host->net direction).

svn commit: r368036 - stable/12/usr.sbin/valectl

2020-11-25 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Nov 25 21:24:39 2020 New Revision: 368036 URL: https://svnweb.freebsd.org/changeset/base/368036 Log: MFC r367935 netmap: valectl: switch to libnetmap Use the newer libnetmap (included in base) rather than the older nm_open()/nm_close() defined in

svn commit: r368035 - stable/12/tools/tools/netmap

2020-11-25 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Nov 25 21:23:58 2020 New Revision: 368035 URL: https://svnweb.freebsd.org/changeset/base/368035 Log: MFC r367934 netmap: nmreplay: switch to libnetmap Use the newer libnetmap (included in base) rather than the older nm_open()/nm_close() defined in

svn commit: r368034 - stable/12/tools/tools/netmap

2020-11-25 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Nov 25 21:23:13 2020 New Revision: 368034 URL: https://svnweb.freebsd.org/changeset/base/368034 Log: MFC r367933 netmap: lb: switch to libnetmap Use the newer libnetmap (included in base) rather than the older nm_open()/nm_close() defined in netmap_user.h

svn commit: r368033 - stable/12/tools/tools/netmap

2020-11-25 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Nov 25 21:22:16 2020 New Revision: 368033 URL: https://svnweb.freebsd.org/changeset/base/368033 Log: MFC r367932 netmap: pkt-gen: switch to libnetmap Use the newer libnetmap (included in base) rather than the older nm_open()/nm_close() defined in

svn commit: r368032 - stable/12/tools/tools/netmap

2020-11-25 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Nov 25 21:20:55 2020 New Revision: 368032 URL: https://svnweb.freebsd.org/changeset/base/368032 Log: MFC r367931 netmap: bridge: switch to libnetmap Use the newer libnetmap (included in base) rather than the older nm_open()/nm_close() defined in

svn commit: r368031 - in head: libexec/rc sys/netinet6

2020-11-25 Thread Bjoern A. Zeeb
Author: bz Date: Wed Nov 25 20:58:01 2020 New Revision: 368031 URL: https://svnweb.freebsd.org/changeset/base/368031 Log: IPv6: set ifdisabled in the kernel rather than in rc Enable ND6_IFF_IFDISABLED when the interface is created in the kernel before return to user space. This

svn commit: r368030 - head/sys/arm/freescale/imx

2020-11-25 Thread Ian Lepore
Author: ian Date: Wed Nov 25 20:05:05 2020 New Revision: 368030 URL: https://svnweb.freebsd.org/changeset/base/368030 Log: Extend the imx6 gpc->gic interrupt controller fixup of fdt data at runtime to work with the pmu and tempmon nodes as well as the soc node. This allows interrupts to

svn commit: r368029 - in head/sys: arm/freescale/imx modules/imx/imx6_snvs

2020-11-25 Thread Ian Lepore
Author: ian Date: Wed Nov 25 19:10:20 2020 New Revision: 368029 URL: https://svnweb.freebsd.org/changeset/base/368029 Log: Convert the imx6_snvs RTC driver to access registers via the syscon device. This is required for it to work correctly in the GENERIC kernel. Modified:

svn commit: r368028 - head/sys/arm/conf

2020-11-25 Thread Ian Lepore
Author: ian Date: Wed Nov 25 19:08:22 2020 New Revision: 368028 URL: https://svnweb.freebsd.org/changeset/base/368028 Log: Add the standard extres pseudo devices to the IMX6 kernel config. Some imx6 drivers are being converted to use features that weren't available when they were first

svn commit: r368027 - stable/12/lib/libc/string

2020-11-25 Thread Ed Maste
Author: emaste Date: Wed Nov 25 18:36:38 2020 New Revision: 368027 URL: https://svnweb.freebsd.org/changeset/base/368027 Log: MFC r351700: libc: Use musl's optimized memchr Parentheses added to HASZERO macro to avoid a GCC warning. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r368026 - head/sys/arm/freescale/imx

2020-11-25 Thread Ian Lepore
Author: ian Date: Wed Nov 25 18:09:01 2020 New Revision: 368026 URL: https://svnweb.freebsd.org/changeset/base/368026 Log: A couple small fixes for the imx6_sdma driver... Attach after interrupt controllers, since the attach function tries to set up an interrupt handler. Check for

svn commit: r368025 - head/sys/net

2020-11-25 Thread Kristof Provost
Author: kp Date: Wed Nov 25 17:15:24 2020 New Revision: 368025 URL: https://svnweb.freebsd.org/changeset/base/368025 Log: if: Fix non-VIMAGE build if_link_ifnet() and if_unlink_ifnet() are needed even when VIMAGE is not enabled. MFC after:2 weeks Sponsored by: Modirum MDPay

svn commit: r368024 - head/sys/ufs/ffs

2020-11-25 Thread Konstantin Belousov
Author: kib Date: Wed Nov 25 17:12:21 2020 New Revision: 368024 URL: https://svnweb.freebsd.org/changeset/base/368024 Log: ffs_softdep.c: get_parent_vp(): Fix bp lock leak when inum inode was already freed. Reported by: markj, pho Tested by:pho Sponsored by: The FreeBSD

svn commit: r368023 - head/lib/libc/gen

2020-11-25 Thread Konstantin Belousov
Author: kib Date: Wed Nov 25 17:04:26 2020 New Revision: 368023 URL: https://svnweb.freebsd.org/changeset/base/368023 Log: Use designated initializers for libc pthread stubs' jump table. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r368022 - head/lib/libsysdecode

2020-11-25 Thread Pawel Biernacki
Author: kaktus Date: Wed Nov 25 16:30:57 2020 New Revision: 368022 URL: https://svnweb.freebsd.org/changeset/base/368022 Log: libsysdecode: correctly decode mmap flags r352913 added decoding of mmap PROT_MAX()'d flags but didn’t account for the case where different values were specified

svn commit: r368021 - head/sys/arm/ti

2020-11-25 Thread Ian Lepore
Author: ian Date: Wed Nov 25 15:45:20 2020 New Revision: 368021 URL: https://svnweb.freebsd.org/changeset/base/368021 Log: Only attach the ti_scm_syscon driver when running on a compatible TI chip. This prevents attaching on non-TI systems in the GENERIC kernel. Reviewed by: manu@,

svn commit: r368020 - head/sys/net

2020-11-25 Thread Kristof Provost
Author: kp Date: Wed Nov 25 15:07:22 2020 New Revision: 368020 URL: https://svnweb.freebsd.org/changeset/base/368020 Log: if: Protect V_ifnet in vnet_if_return() When we terminate a vnet (i.e. jail) we move interfaces back to their home vnet. We need to protect our access to the V_ifnet

svn commit: r368019 - head/contrib/llvm-project/clang/lib/Driver/ToolChains

2020-11-25 Thread Ed Maste
Author: emaste Date: Wed Nov 25 14:26:13 2020 New Revision: 368019 URL: https://svnweb.freebsd.org/changeset/base/368019 Log: clang: allow -fstack-clash-protection on FreeBSD -fstack-clash-protection was added in Clang commit e67cbac81211 but was enabled only on Linux. It should work

Re: svn commit: r367813 - head/lib/libutil

2020-11-25 Thread Stefan Esser
Am 19.11.20 um 00:20 schrieb Brooks Davis: On Thu, Nov 19, 2020 at 12:05:51AM +0100, Stefan Esser wrote: Am 18.11.20 um 23:14 schrieb Jessica Clarke: Why not? There could easily be code out there calling getenv in a multi-threaded context so this is inadequate as a replacement. Yes it's

svn commit: r368018 - head/sys/modules/dtb/allwinner

2020-11-25 Thread Emmanuel Vadot
Author: manu Date: Wed Nov 25 11:21:03 2020 New Revision: 368018 URL: https://svnweb.freebsd.org/changeset/base/368018 Log: dtb: allwinner: Add pineh64 to the build Modified: head/sys/modules/dtb/allwinner/Makefile Modified: head/sys/modules/dtb/allwinner/Makefile

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

2020-11-25 Thread Emmanuel Vadot
Author: manu Date: Wed Nov 25 11:20:04 2020 New Revision: 368017 URL: https://svnweb.freebsd.org/changeset/base/368017 Log: arm: allwinner: aw_rtc: Add H6 compatible Modified: head/sys/arm/allwinner/aw_rtc.c Modified: head/sys/arm/allwinner/aw_rtc.c

svn commit: r368016 - head/sys/arm/allwinner/clkng

2020-11-25 Thread Emmanuel Vadot
Author: manu Date: Wed Nov 25 11:19:42 2020 New Revision: 368016 URL: https://svnweb.freebsd.org/changeset/base/368016 Log: arm64: allwinner: H6: Fix pll 4x clocks The clock configured by the registers are the 4x version not the 1x. Modified: head/sys/arm/allwinner/clkng/ccu_h6.c

Re: svn commit: r367813 - head/lib/libutil

2020-11-25 Thread Stefan Esser
Am 19.11.20 um 01:37 schrieb Mateusz Guzik: On 11/19/20, Stefan Esser wrote: [...] I just wanted to provide an implementation of this functionality to be used in a number of programs where other developers had expressed interest in such a feature (and one of these programs has been worked on

svn commit: r368015 - head/sys/net

2020-11-25 Thread Kristof Provost
Author: kp Date: Wed Nov 25 10:56:38 2020 New Revision: 368015 URL: https://svnweb.freebsd.org/changeset/base/368015 Log: if: Remove ifnet_rwlock It no longer serves any purpose, as evidenced by the fact that we never take it without ifnet_sxlock. Sponsored by: Modirum MDPay

svn commit: r368014 - head/usr.bin/fortune/datfiles

2020-11-25 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Wed Nov 25 10:21:29 2020 New Revision: 368014 URL: https://svnweb.freebsd.org/changeset/base/368014 Log: Drop superfluous "of" from the systat example. Modified: head/usr.bin/fortune/datfiles/freebsd-tips Modified: head/usr.bin/fortune/datfiles/freebsd-tips

svn commit: r368013 - in stable/11: share/man/man4 sys/contrib/ena-com sys/contrib/ena-com/ena_defs sys/dev/ena sys/modules/ena

2020-11-25 Thread Marcin Wojtas
Author: mw Date: Wed Nov 25 09:37:17 2020 New Revision: 368013 URL: https://svnweb.freebsd.org/changeset/base/368013 Log: MFC: Merge ENA v2.3.0 driver r367805 Update ENA driver version to v2.3.0 r367803 Rename descriptions of the supported ENA devices r367802 Add ENI metrics for the