Re: svn commit: r355382 - head/sys/dev/pci

2019-12-04 Thread Rodney W. Grimes
> Author: se > Date: Wed Dec 4 08:03:33 2019 > New Revision: 355382 > URL: https://svnweb.freebsd.org/changeset/base/355382 > > Log: > Remove "All rights reserved" phrase from copyright notes. > > With the ratification of the Berne Convention in 2000, it became obsolete. > > I have

Re: svn commit: r355301 - head/usr.sbin/bhyve

2019-12-04 Thread Rodney W. Grimes
> I see, thanks for the pointers. > It looks like cfmakeraw() and tcsetattr() were what I was looking for. > A bhyve-specific printf wrapper looks the right solution to me. > I can try to sketch a patch for you guys to review, if that's useful. > > Cheers, > Vincenzo Meanwhile could you please

Re: svn commit: r355362 - in stable/12: share/man/man4 sys/dev/imcsmb sys/dev/jedec_dimm

2019-12-04 Thread Rodney W. Grimes
> Author: rpokala > Date: Tue Dec 3 22:49:24 2019 > New Revision: 355362 > URL: https://svnweb.freebsd.org/changeset/base/355362 > > Log: > MFC r343583: > > Remove unecessary "All rights reserved" from files under my or Panasas's > copyright. > > When all member nations of the

Re: svn commit: r355330 - head/share/man/man9

2019-12-04 Thread Rodney W. Grimes
> Author: imp > Date: Tue Dec 3 15:48:28 2019 > New Revision: 355330 > URL: https://svnweb.freebsd.org/changeset/base/355330 > > Log: > Regularize copyright notices for me. > > Remove stray All Rights Reserved and other non-license stuff. Make sure all > copyrights have year. Thank

Re: svn commit: r355412 - head/sys/geom

2019-12-04 Thread Alexander Motin
Hi. On 05.12.2019 00:00, Ravi Pokala wrote: > -Original Message- > From: on behalf of Alexander Motin > > Date: 2019-12-04, Wednesday at 20:52 > To: , , > > Subject: svn commit: r355412 - head/sys/geom > > Author: mav > Date: Thu Dec 5 04:52:19 2019 > New Revision:

Re: svn commit: r355412 - head/sys/geom

2019-12-04 Thread Warner Losh
On Wed, Dec 4, 2019, 10:01 PM Ravi Pokala wrote: > -Original Message- > From: on behalf of Alexander Motin > > Date: 2019-12-04, Wednesday at 20:52 > To: , , < > svn-src-h...@freebsd.org> > Subject: svn commit: r355412 - head/sys/geom > > Author: mav > Date: Thu Dec 5 04:52:19

Re: svn commit: r355412 - head/sys/geom

2019-12-04 Thread Ravi Pokala
-Original Message- From: on behalf of Alexander Motin Date: 2019-12-04, Wednesday at 20:52 To: , , Subject: svn commit: r355412 - head/sys/geom Author: mav Date: Thu Dec 5 04:52:19 2019 New Revision: 355412 URL: https://svnweb.freebsd.org/changeset/base/355412

svn commit: r355412 - head/sys/geom

2019-12-04 Thread Alexander Motin
Author: mav Date: Thu Dec 5 04:52:19 2019 New Revision: 355412 URL: https://svnweb.freebsd.org/changeset/base/355412 Log: Wrap g_trace() into a macro to avoid unneeded calls. In most cases with debug disabled this function does nothing, but argument passing and the call still cost

svn commit: r355411 - head/share/man/man7

2019-12-04 Thread Ian Lepore
Author: ian Date: Thu Dec 5 04:18:22 2019 New Revision: 355411 URL: https://svnweb.freebsd.org/changeset/base/355411 Log: Fix a trivial typo and add a missing word. Modified: head/share/man/man7/arch.7 Modified: head/share/man/man7/arch.7

svn commit: r355410 - head/sys/geom

2019-12-04 Thread Alexander Motin
Author: mav Date: Thu Dec 5 04:03:08 2019 New Revision: 355410 URL: https://svnweb.freebsd.org/changeset/base/355410 Log: Switch GEOM_DEV from make_dev_p() to make_dev_s(). It closes the race condition and so allows to remove few NULL checks. Also while there, use dev->si_drv1 in

Re: svn commit: r355407 - head/sys/fs/tmpfs

2019-12-04 Thread Kubilay Kocak
On 5/12/2019 11:03 am, Konstantin Belousov wrote: Author: kib Date: Thu Dec 5 00:03:17 2019 New Revision: 355407 URL: https://svnweb.freebsd.org/changeset/base/355407 Could you elaborate on the why/rationale? Is there memory wastage/duplication, bug(s), performance or

svn commit: r355409 - head/sys/arm/mv

2019-12-04 Thread Luiz Otavio O Souza
Author: loos Date: Thu Dec 5 02:01:47 2019 New Revision: 355409 URL: https://svnweb.freebsd.org/changeset/base/355409 Log: Fix the build, use the correct include path. Pointy hat to:loos Modified: head/sys/arm/mv/a37x0_iic.c Modified: head/sys/arm/mv/a37x0_iic.c

svn commit: r355408 - in head/sys: arm/mv arm64/conf conf

2019-12-04 Thread Luiz Otavio O Souza
Author: loos Date: Thu Dec 5 00:56:03 2019 New Revision: 355408 URL: https://svnweb.freebsd.org/changeset/base/355408 Log: Add the I2C driver for the Armada 37x0. This controller is a bit tricky as the STOP condition must be indicated in the last tranferred byte, some devices will not

svn commit: r355407 - head/sys/fs/tmpfs

2019-12-04 Thread Konstantin Belousov
Author: kib Date: Thu Dec 5 00:03:17 2019 New Revision: 355407 URL: https://svnweb.freebsd.org/changeset/base/355407 Log: Stop using per-mount tmpfs zones. Requested and reviewed by:jeff Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:

svn commit: r355406 - head/sys/fs/nfs

2019-12-04 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 4 23:24:40 2019 New Revision: 355406 URL: https://svnweb.freebsd.org/changeset/base/355406 Log: Add some definitions for NFSv4.2 which will be used by subsequent commits. This is a preliminary commit of NFSv4.2 definitions that will be used by subsequent

svn commit: r355405 - head/sys/netinet

2019-12-04 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 4 22:41:52 2019 New Revision: 355405 URL: https://svnweb.freebsd.org/changeset/base/355405 Log: Fix regression from r354484. Don't leak pcb lock if cr_canseeinpcb() returns non-zero. PR: 242415 Modified: head/sys/netinet/tcp_subr.c Modified:

svn commit: r355404 - in head/sys: cam geom kern

2019-12-04 Thread Alexander Motin
Author: mav Date: Wed Dec 4 21:26:03 2019 New Revision: 355404 URL: https://svnweb.freebsd.org/changeset/base/355404 Log: Mark some more hot global variables with __read_mostly. MFC after:1 week Modified: head/sys/cam/cam_xpt.c head/sys/geom/geom_io.c head/sys/geom/geom_kern.c

svn commit: r355403 - head/lib/libc/riscv/gen

2019-12-04 Thread John Baldwin
Author: jhb Date: Wed Dec 4 21:01:13 2019 New Revision: 355403 URL: https://svnweb.freebsd.org/changeset/base/355403 Log: Use "far" calls and branches so that lld uses valid relocations. Conditional branch and jump instructions do not always call via PLT stubs and thus will not honor

svn commit: r355402 - head/lib/libc/riscv/gen

2019-12-04 Thread John Baldwin
Author: jhb Date: Wed Dec 4 20:50:49 2019 New Revision: 355402 URL: https://svnweb.freebsd.org/changeset/base/355402 Log: Use a single 'ld' to read the jmpbuf magic values instead of 'la; ld'. This saves an instruction in each case as well as an extra memory indirection via the GOT for

svn commit: r355401 - head/lib/libcompiler_rt

2019-12-04 Thread John Baldwin
Author: jhb Date: Wed Dec 4 20:18:12 2019 New Revision: 355401 URL: https://svnweb.freebsd.org/changeset/base/355401 Log: Define __SOFT_FP__ for riscv64sf to avoid infinite recursion. Submitted by: James Clarke Reviewed by: imp Sponsored by: DARPA Differential Revision:

svn commit: r355400 - head/sys/sys

2019-12-04 Thread Ryan Libby
Author: rlibby Date: Wed Dec 4 20:15:17 2019 New Revision: 355400 URL: https://svnweb.freebsd.org/changeset/base/355400 Log: bistring: avoid gcc -Wsign-compare Appease gcc after after r355377, which broke gcc builds. Reviewed by: dougm MFC with: r355377 Differential

svn commit: r355399 - head/sys/vm

2019-12-04 Thread Mark Johnston
Author: markj Date: Wed Dec 4 19:46:48 2019 New Revision: 355399 URL: https://svnweb.freebsd.org/changeset/base/355399 Log: Fix an off-by-one error in vm_map_pmap_enter(). If the starting pindex is equal to object->size, there is nothing to do. This was harmless since the rest of

svn commit: r355398 - head/sys/vm

2019-12-04 Thread Andrew Turner
Author: andrew Date: Wed Dec 4 18:40:05 2019 New Revision: 355398 URL: https://svnweb.freebsd.org/changeset/base/355398 Log: Fix the signature for zone_import and zone_release These are cast to uma_import and uma_release functions. Use the signature for these in the zone functions.

svn commit: r355397 - head/contrib/llvm/lib/Target/PowerPC

2019-12-04 Thread Dimitry Andric
Author: dim Date: Wed Dec 4 18:38:50 2019 New Revision: 355397 URL: https://svnweb.freebsd.org/changeset/base/355397 Log: Merge commit 241cbf201 from llvm git (by Nemanja Ivanovic): [PowerPC] Fix crash in peephole optimization When converting reg+reg shifts to reg+imm rotates,

svn commit: r355396 - head/sys/kern

2019-12-04 Thread Ryan Libby
Author: rlibby Date: Wed Dec 4 18:21:29 2019 New Revision: 355396 URL: https://svnweb.freebsd.org/changeset/base/355396 Log: mbuf zones: take out the trash The mbuf zones were explicitly specifying the uma trash procedures on zcreate, conditionally on INVARIANTS, because that used to be

svn commit: r355395 - in stable: 10/lib/msun/src 11/lib/msun/src 12/lib/msun/src

2019-12-04 Thread Dimitry Andric
Author: dim Date: Wed Dec 4 17:45:34 2019 New Revision: 355395 URL: https://svnweb.freebsd.org/changeset/base/355395 Log: r355120 | dim | 2019-11-26 23:01:09 +0100 (Tue, 26 Nov 2019) | 32 lines The fdlibm hypot() implementations shouldn't potentially left-shift negative numbers

svn commit: r355395 - in stable: 10/lib/msun/src 11/lib/msun/src 12/lib/msun/src

2019-12-04 Thread Dimitry Andric
Author: dim Date: Wed Dec 4 17:45:34 2019 New Revision: 355395 URL: https://svnweb.freebsd.org/changeset/base/355395 Log: r355120 | dim | 2019-11-26 23:01:09 +0100 (Tue, 26 Nov 2019) | 32 lines The fdlibm hypot() implementations shouldn't potentially left-shift negative numbers

svn commit: r355395 - in stable: 10/lib/msun/src 11/lib/msun/src 12/lib/msun/src

2019-12-04 Thread Dimitry Andric
Author: dim Date: Wed Dec 4 17:45:34 2019 New Revision: 355395 URL: https://svnweb.freebsd.org/changeset/base/355395 Log: r355120 | dim | 2019-11-26 23:01:09 +0100 (Tue, 26 Nov 2019) | 32 lines The fdlibm hypot() implementations shouldn't potentially left-shift negative numbers

Re: svn commit: r355383 - head/sys/arm64/linux

2019-12-04 Thread John Baldwin
On 12/4/19 12:21 AM, Li-Wen Hsu wrote: > Author: lwhsu > Date: Wed Dec 4 08:21:54 2019 > New Revision: 355383 > URL: https://svnweb.freebsd.org/changeset/base/355383 > > Log: > Fix arm64 build after r355373 > > Sponsored by: The FreeBSD Foundation Thanks. Not sure how that slipped

Re: svn commit: r355394 - in head: . lib/libc/stdlib lib/libc/sys libexec/rc/rc.d libexec/talkd sbin/devd share/man/man4 share/man/man5 stand/common stand/liblua stand/libsa sys/amd64/include sys/arm/

2019-12-04 Thread Warner Losh
On Wed, Dec 4, 2019 at 9:56 AM Warner Losh wrote: > Author: imp > Date: Wed Dec 4 16:56:11 2019 > New Revision: 355394 > URL: https://svnweb.freebsd.org/changeset/base/355394 > > Log: > Regularize my copyright notice > > o Remove All Rights Reserved from my notices > o i...@freebsd.org

svn commit: r355394 - in head: . lib/libc/stdlib lib/libc/sys libexec/rc/rc.d libexec/talkd sbin/devd share/man/man4 share/man/man5 stand/common stand/liblua stand/libsa sys/amd64/include sys/arm/a...

2019-12-04 Thread Warner Losh
Author: imp Date: Wed Dec 4 16:56:11 2019 New Revision: 355394 URL: https://svnweb.freebsd.org/changeset/base/355394 Log: Regularize my copyright notice o Remove All Rights Reserved from my notices o i...@freebsd.org everywhere o regularize punctiation, eliminate date ranges o Make

svn commit: r355393 - head/share/man/man9

2019-12-04 Thread Warner Losh
Author: imp Date: Wed Dec 4 16:55:55 2019 New Revision: 355393 URL: https://svnweb.freebsd.org/changeset/base/355393 Log: Fix accidentally changed copyright year. Noticed by: bapt@ Modified: head/share/man/man9/bus_activate_resource.9 Modified:

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

2019-12-04 Thread Toomas Soome
Author: tsoome Date: Wed Dec 4 16:41:00 2019 New Revision: 355392 URL: https://svnweb.freebsd.org/changeset/base/355392 Log: loader: clean up efipart filter expressions Small cleanup based on illumos review. Modified: head/stand/efi/libefi/efipart.c Modified:

svn commit: r355391 - stable/12/sys/dev/ntb/ntb_hw

2019-12-04 Thread Alexander Motin
Author: mav Date: Wed Dec 4 15:14:14 2019 New Revision: 355391 URL: https://svnweb.freebsd.org/changeset/base/355391 Log: MFC r355165: Make DMAR allow Intel NTB device to access its own BAR0. I have no good explanation why it happens, but I found that in B2B mode at least Xeon v4 NTB

svn commit: r355389 - stable/12/sys/dev/ntb/ntb_hw

2019-12-04 Thread Alexander Motin
Author: mav Date: Wed Dec 4 15:11:42 2019 New Revision: 355389 URL: https://svnweb.freebsd.org/changeset/base/355389 Log: MFC r355074: Report XLAT0 register for completeness. Modified: stable/12/sys/dev/ntb/ntb_hw/ntb_hw_intel.c Directory Properties: stable/12/ (props changed)

svn commit: r355390 - stable/12/sys/dev/ntb/ntb_hw

2019-12-04 Thread Alexander Motin
Author: mav Date: Wed Dec 4 15:12:09 2019 New Revision: 355390 URL: https://svnweb.freebsd.org/changeset/base/355390 Log: MFC r355163: Make the code slightly more compact. There should be no functional change. Modified: stable/12/sys/dev/ntb/ntb_hw/ntb_hw_intel.c Directory Properties:

svn commit: r355388 - head/usr.sbin/ntp/doc

2019-12-04 Thread Cy Schubert
Author: cy Date: Wed Dec 4 15:04:06 2019 New Revision: 355388 URL: https://svnweb.freebsd.org/changeset/base/355388 Log: Chase r352304. The default rlimit memlock is no memory locking. Reported by: egypcio@ MFC after:3 days Modified: head/usr.sbin/ntp/doc/ntp.conf.5 Modified:

svn commit: r355387 - stable/11/sys/dev/iicbus/twsi

2019-12-04 Thread Luiz Otavio O Souza
Author: loos Date: Wed Dec 4 13:28:17 2019 New Revision: 355387 URL: https://svnweb.freebsd.org/changeset/base/355387 Log: MFC r320159: Add the ofw_bus_get_node() callback in mv_twsi, it is mandatory for the ofw_iicbus usage. Sponsored by: Rubicon Communications, LLC (Netgate)

Re: svn commit: r355318 - head/sbin/newfs_msdos

2019-12-04 Thread Konstantin Belousov
On Wed, Dec 04, 2019 at 12:51:44AM -0800, Xin Li wrote: > On 12/3/19 14:02, Conrad Meyer wrote: > > Hi Xin Li, > > > > Is there a reason to prefer exit() over returning from main? I have > > No, this should be case-by-case (and also assumes you are using C and > not C++). > > The two are

svn commit: r355386 - stable/11/sys/kern

2019-12-04 Thread Konstantin Belousov
Author: kib Date: Wed Dec 4 09:24:36 2019 New Revision: 355386 URL: https://svnweb.freebsd.org/changeset/base/355386 Log: MFC r355146: Ease the life of PT_TO_SCE/PT_TO_SCX users when debuggee sleeps in sigsuspend(2)/sig{timed,}wait(2). Modified: stable/11/sys/kern/kern_sig.c Directory

svn commit: r355385 - stable/12/sys/kern

2019-12-04 Thread Konstantin Belousov
Author: kib Date: Wed Dec 4 09:21:00 2019 New Revision: 355385 URL: https://svnweb.freebsd.org/changeset/base/355385 Log: MFC r355146: Ease the life of PT_TO_SCE/PT_TO_SCX users when debuggee sleeps in sigsuspend(2)/sig{timed,}wait(2). Modified: stable/12/sys/kern/kern_sig.c Directory

svn commit: r355384 - in stable/12/sys/x86: include iommu x86

2019-12-04 Thread Konstantin Belousov
Author: kib Date: Wed Dec 4 09:18:32 2019 New Revision: 355384 URL: https://svnweb.freebsd.org/changeset/base/355384 Log: MFC r355138: bus_dma_dmar_load_ident(9): load identity mapping into the map. Modified: stable/12/sys/x86/include/bus_dma.h stable/12/sys/x86/iommu/busdma_dmar.c

Re: svn commit: r355318 - head/sbin/newfs_msdos

2019-12-04 Thread Xin Li
On 12/3/19 14:02, Conrad Meyer wrote: > Hi Xin Li, > > Is there a reason to prefer exit() over returning from main? I have No, this should be case-by-case (and also assumes you are using C and not C++). The two are actually subtly different (return means teardown main's stack first, then

svn commit: r355383 - head/sys/arm64/linux

2019-12-04 Thread Li-Wen Hsu
Author: lwhsu Date: Wed Dec 4 08:21:54 2019 New Revision: 355383 URL: https://svnweb.freebsd.org/changeset/base/355383 Log: Fix arm64 build after r355373 Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/linux/linux_sysvec.c Modified: head/sys/arm64/linux/linux_sysvec.c

svn commit: r355382 - head/sys/dev/pci

2019-12-04 Thread Stefan Esser
Author: se Date: Wed Dec 4 08:03:33 2019 New Revision: 355382 URL: https://svnweb.freebsd.org/changeset/base/355382 Log: Remove "All rights reserved" phrase from copyright notes. With the ratification of the Berne Convention in 2000, it became obsolete. I have removed that phrase and