svn commit: r360066 - head/sys/kern

2020-04-17 Thread Konstantin Belousov
Author: kib Date: Sat Apr 18 03:09:25 2020 New Revision: 360066 URL: https://svnweb.freebsd.org/changeset/base/360066 Log: sendfile: When all io finished, assert that sfio->pa[] is in expected state. It must contain fully restored contigous run of the wired pages from the object, except

svn commit: r360065 - head/sys/kern

2020-04-17 Thread Konstantin Belousov
Author: kib Date: Sat Apr 18 03:07:18 2020 New Revision: 360065 URL: https://svnweb.freebsd.org/changeset/base/360065 Log: The pa argument for sendfile_iodone() is not necessary a slice of sfio->pa. It is true for zfs, but it is not for e.g. vnode or buffer pagers. When fixing bogus

svn commit: r360063 - in head: share/man/man4 sys/dev/twa

2020-04-17 Thread Warner Losh
Author: imp Date: Sat Apr 18 02:53:14 2020 New Revision: 360063 URL: https://svnweb.freebsd.org/changeset/base/360063 Log: twa(4) deprecation notice Modified: head/share/man/man4/twa.4 head/sys/dev/twa/tw_osl_freebsd.c Modified: head/share/man/man4/twa.4

svn commit: r360064 - in head: share/man/man4 sys/dev/amr

2020-04-17 Thread Warner Losh
Author: imp Date: Sat Apr 18 02:53:19 2020 New Revision: 360064 URL: https://svnweb.freebsd.org/changeset/base/360064 Log: Add deprecation notice to amr(4) Modified: head/share/man/man4/amr.4 head/sys/dev/amr/amr_pci.c Modified: head/share/man/man4/amr.4

svn commit: r360062 - in head: share/man/man4 sys/dev/iir

2020-04-17 Thread Warner Losh
Author: imp Date: Sat Apr 18 02:53:09 2020 New Revision: 360062 URL: https://svnweb.freebsd.org/changeset/base/360062 Log: Deprecation notice for iir Modified: head/share/man/man4/iir.4 head/sys/dev/iir/iir_pci.c Modified: head/share/man/man4/iir.4

svn commit: r360061 - in head: share/man/man4 sys/dev/mly

2020-04-17 Thread Warner Losh
Author: imp Date: Sat Apr 18 02:53:04 2020 New Revision: 360061 URL: https://svnweb.freebsd.org/changeset/base/360061 Log: Add deprecation notice to mly Modified: head/share/man/man4/mly.4 head/sys/dev/mly/mly.c Modified: head/share/man/man4/mly.4

svn commit: r360060 - in head: share/man/man4 sys/dev/esp

2020-04-17 Thread Warner Losh
Author: imp Date: Sat Apr 18 02:52:59 2020 New Revision: 360060 URL: https://svnweb.freebsd.org/changeset/base/360060 Log: Add deprecation notice for esp(4). Modified: head/share/man/man4/esp.4 head/sys/dev/esp/ncr53c9x.c Modified: head/share/man/man4/esp.4

Re: svn commit: r360025 - head/sys/dev/acpica

2020-04-17 Thread Alexey Dokuchaev
On Fri, Apr 17, 2020 at 08:54:52AM -0700, Colin Percival wrote: > On 2020-04-16 23:26, Alexey Dokuchaev wrote: > > On Thu, Apr 16, 2020 at 03:12:15PM -0700, Colin Percival wrote: > >> ... > >> I considered that, but so far I don't have any evidence that other > >> systems exist with the same

svn commit: r360059 - head/sys/sys

2020-04-17 Thread Simon J. Gerraty
Author: sjg Date: Sat Apr 18 01:22:41 2020 New Revision: 360059 URL: https://svnweb.freebsd.org/changeset/base/360059 Log: Define enum for so_qstate outside of struct. LLVM-9.0 clang++ throws an error for enum defined within an anonymous struct. Reviewed by: jtl, rpokala MFC

svn commit: r360058 - head/sys/dev/sound/pci/hda

2020-04-17 Thread Ed Maste
Author: emaste Date: Sat Apr 18 01:16:30 2020 New Revision: 360058 URL: https://svnweb.freebsd.org/changeset/base/360058 Log: hdac: replace printf for unowned lock with a lock assertion Reviewed by: markj, mav Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r360057 - head/usr.bin/calendar/calendars

2020-04-17 Thread Greg Lehey
Author: grog Date: Fri Apr 17 23:14:51 2020 New Revision: 360057 URL: https://svnweb.freebsd.org/changeset/base/360057 Log: Tidy up syntax and punctuation of some entries. Modified: head/usr.bin/calendar/calendars/calendar.history Modified: head/usr.bin/calendar/calendars/calendar.history

svn commit: r360055 - in head/sys/fs: nfs nfsserver

2020-04-17 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 17 21:17:51 2020 New Revision: 360055 URL: https://svnweb.freebsd.org/changeset/base/360055 Log: Replace all instances of the typedef mbuf_t with "struct mbuf *". The typedef mbuf_t was used for the Mac OS/X port of the code long ago. Since this port is no

svn commit: r360054 - head/sys/conf

2020-04-17 Thread Conrad Meyer
Author: cem Date: Fri Apr 17 20:20:03 2020 New Revision: 360054 URL: https://svnweb.freebsd.org/changeset/base/360054 Log: xen-locore: Silence DWARF2 section warning Silence the "DWARF2 can only represent one section per compilation unit" warning in amd64 GENERIC builds by disabling

svn commit: r360053 - head/sys/dev/sound/pci/hda

2020-04-17 Thread Ed Maste
Author: emaste Date: Fri Apr 17 19:14:05 2020 New Revision: 360053 URL: https://svnweb.freebsd.org/changeset/base/360053 Log: hdac: update comment to match function name snd_hda was rewritten in r230130; one function retained a comment referencing the previous name. MFC after:3

svn commit: r360052 - head/sys/compat/linuxkpi/common/src

2020-04-17 Thread Mark Johnston
Author: markj Date: Fri Apr 17 19:12:52 2020 New Revision: 360052 URL: https://svnweb.freebsd.org/changeset/base/360052 Log: Remove a vestigal reference to kmem_object. kmem_object has been an alias of kernel_object for a while. MFC after:1 week Modified:

svn commit: r360051 - in head/sys: dev/altera/jtag_uart dev/bvm dev/cfe dev/ofw dev/rp dev/xen/console kern netgraph sys

2020-04-17 Thread Kyle Evans
Author: kevans Date: Fri Apr 17 18:34:49 2020 New Revision: 360051 URL: https://svnweb.freebsd.org/changeset/base/360051 Log: tty: convert tty_lock_assert to tty_assert_locked to hide lock type A later change, currently being iterated on in D24459, will in-fact change the lock type to an

svn commit: r360050 - head/sys/mips/include

2020-04-17 Thread John Baldwin
Author: jhb Date: Fri Apr 17 18:24:47 2020 New Revision: 360050 URL: https://svnweb.freebsd.org/changeset/base/360050 Log: Use the right type for 64-bit coprocessor registers. The use of "int" here caused the compiler to believe that it needs to insert a "sll $n, $n, 0" to sign extend as

svn commit: r360049 - head/sys/net

2020-04-17 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Apr 17 18:22:37 2020 New Revision: 360049 URL: https://svnweb.freebsd.org/changeset/base/360049 Log: Unbreak build by reverting if_bridge part of r360047. Pointy hat to: melifaro Modified: head/sys/net/if_bridge.c Modified: head/sys/net/if_bridge.c

svn commit: r360048 - head/sys/cam/scsi

2020-04-17 Thread John Baldwin
Author: jhb Date: Fri Apr 17 18:19:13 2020 New Revision: 360048 URL: https://svnweb.freebsd.org/changeset/base/360048 Log: Don't try to copyout() to a kernel buffer. The handle_string callback for the ENCIOC_GET_ENCNAME and ENCIOC_GETENCID ioctls tries to copy the size of the generated

svn commit: r360047 - head/sys/net

2020-04-17 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Apr 17 17:05:58 2020 New Revision: 360047 URL: https://svnweb.freebsd.org/changeset/base/360047 Log: Finish r191148: replace rtentry with route in if_bridge if_output() callback. Generic if_output() callback signature was modified to use struct route instead

svn commit: r360046 - head/sys/conf

2020-04-17 Thread Mark Johnston
Author: markj Date: Fri Apr 17 16:55:14 2020 New Revision: 360046 URL: https://svnweb.freebsd.org/changeset/base/360046 Log: Always compile minidump_machdep.c on arm. It is not logically dependent on "device mem", and an arm kernel compiled without that device fails to link since the

svn commit: r360045 - head/tests/sys/net/routing

2020-04-17 Thread Olivier Cochard
Author: olivier (ports committer) Date: Fri Apr 17 16:31:07 2020 New Revision: 360045 URL: https://svnweb.freebsd.org/changeset/base/360045 Log: Skip routing regression tests depending on if_epair if this module isn't installed. Approved by: melifaro Sponsored by: Netflix

Re: svn commit: r360025 - head/sys/dev/acpica

2020-04-17 Thread Warner Losh
On Fri, Apr 17, 2020 at 9:54 AM Colin Percival wrote: > On 2020-04-16 23:26, Alexey Dokuchaev wrote: > > On Thu, Apr 16, 2020 at 03:12:15PM -0700, Colin Percival wrote: > >> On 2020-04-16 15:05, Oliver Pinter wrote: > >>> On Thursday, April 16, 2020, Colin Percival >>>

Re: svn commit: r360025 - head/sys/dev/acpica

2020-04-17 Thread Colin Percival
On 2020-04-16 23:26, Alexey Dokuchaev wrote: > On Thu, Apr 16, 2020 at 03:12:15PM -0700, Colin Percival wrote: >> On 2020-04-16 15:05, Oliver Pinter wrote: >>> On Thursday, April 16, 2020, Colin Percival >> > wrote: >>> Log: >>> Alert devd when acpi_video

svn commit: r360044 - head/sys/amd64/include

2020-04-17 Thread Conrad Meyer
Author: cem Date: Fri Apr 17 15:19:42 2020 New Revision: 360044 URL: https://svnweb.freebsd.org/changeset/base/360044 Log: vmm.h: Add ABI assertions and mark implicit holes The static assertions were added (with size and offsets from gdb) and verified with a build prior to marking the

svn commit: r360043 - head/tests/sys/net

2020-04-17 Thread Kristof Provost
Author: kp Date: Fri Apr 17 14:57:15 2020 New Revision: 360043 URL: https://svnweb.freebsd.org/changeset/base/360043 Log: bridge tests: Test deleting a bridge with members Reviewed by: philip, emaste Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r360042 - head/sys/netpfil/pf

2020-04-17 Thread Kristof Provost
Author: kp Date: Fri Apr 17 14:35:11 2020 New Revision: 360042 URL: https://svnweb.freebsd.org/changeset/base/360042 Log: pf: Do not allow negative ps_len in DIOCGETSTATES Userspace may pass a negative ps_len value to us, which causes an assertion failure in malloc(). Treat negative

svn commit: r360040 - head/usr.sbin/jail

2020-04-17 Thread Eugene Grosbein
Author: eugen Date: Fri Apr 17 10:12:11 2020 New Revision: 360040 URL: https://svnweb.freebsd.org/changeset/base/360040 Log: jail(8): improve manual and usage information with more clear description for "jail -e" mode to show that it does not take additional jail name argument.

Re: svn commit: r360025 - head/sys/dev/acpica

2020-04-17 Thread Alexey Dokuchaev
On Thu, Apr 16, 2020 at 03:12:15PM -0700, Colin Percival wrote: > On 2020-04-16 15:05, Oliver Pinter wrote: > > On Thursday, April 16, 2020, Colin Percival > > wrote: > > Log: > > Alert devd when acpi_video brightness changes > > > > Please add this to

svn commit: r360037 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2020-04-17 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 17 06:05:08 2020 New Revision: 360037 URL: https://svnweb.freebsd.org/changeset/base/360037 Log: Make ZFS depend on xdr.ko only. It doesn't need kernel RPC. Differential Revision:https://reviews.freebsd.org/D24408 Modified:

svn commit: r360036 - in head/sys: conf modules modules/krpc modules/xdr rpc xdr

2020-04-17 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 17 06:04:20 2020 New Revision: 360036 URL: https://svnweb.freebsd.org/changeset/base/360036 Log: Split XDR into separate kernel module. Make krpc depend on xdr. Reviewed by: rmacklem Differential Revision:https://reviews.freebsd.org/D24408 Added:

svn commit: r360035 - in head/sys: rpc xdr

2020-04-17 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 17 06:02:13 2020 New Revision: 360035 URL: https://svnweb.freebsd.org/changeset/base/360035 Log: Move M_RPC malloc type into XDR. Both RPC and XDR libraries use this type, but since RPC depends on XDR (not vice versa) we need it defined in XDR to make the

svn commit: r360034 - head/sys/netgraph

2020-04-17 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 17 05:59:38 2020 New Revision: 360034 URL: https://svnweb.freebsd.org/changeset/base/360034 Log: Don't initialize m->m_data to m->m_pktdat, this is already done by the mbuf allocator. That was the last remnant of such code in the kernel. Modified: