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: head/sys/dev/superi

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: head/sys/kern/k

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. No

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

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. Sub

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 head/sys/dev/isp/is

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 prohibitio

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 and

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

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)' - consi

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

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

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 wor

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: head/sys/arm/free

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 wr

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 th

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 Mo

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 Foundation

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: head/lib/libc/gen/_pthread_stub

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 f

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@, mmel@

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 C

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 fin

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 ineffic

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 Modifi

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 b

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 Diffe

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