Re: svn commit: r349151 - in head: lib/libufs stand/libsa sys/conf sys/dev/iscsi sys/dev/iscsi_initiator sys/dev/liquidio sys/dev/usb/net sys/fs/ext2fs sys/fs/nandfs sys/geom/part sys/geom/raid sys/ke

2019-06-23 Thread Peter Jeremy
On 2019-Jun-22 17:17:03 +1000, Peter Jeremy wrote: >On 2019-Jun-17 19:49:09 +, Xin LI wrote: >>Author: delphij >>Date: Mon Jun 17 19:49:08 2019 >>New Revision: 349151 >>URL: https://svnweb.freebsd.org/changeset/base/349151 >> >>Log: >> Separate kernel crc32() implementation to its own

svn commit: r349331 - head/sys/contrib/ipfilter/netinet

2019-06-23 Thread Cy Schubert
Author: cy Date: Mon Jun 24 02:58:02 2019 New Revision: 349331 URL: https://svnweb.freebsd.org/changeset/base/349331 Log: Clean out duplicate definitions of TCP macros also found in netinet/tcp.h. MFC after:1 week Modified: head/sys/contrib/ipfilter/netinet/ip_compat.h Modified:

svn commit: r349330 - head/sys/conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Mon Jun 24 02:39:56 2019 New Revision: 349330 URL: https://svnweb.freebsd.org/changeset/base/349330 Log: Add pwm devices to NOTES. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES == ---

svn commit: r349329 - head/sys/conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Mon Jun 24 02:30:05 2019 New Revision: 349329 URL: https://svnweb.freebsd.org/changeset/base/349329 Log: Add gpio(4) and related drivers to NOTES. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES

svn commit: r349328 - head/sys/conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Mon Jun 24 02:27:17 2019 New Revision: 349328 URL: https://svnweb.freebsd.org/changeset/base/349328 Log: The gpiopps(4) driver currently has probe and attach code only for FDT based systems, so conditionalize it accordingly in conf/files. Modified: head/sys/conf/files

svn commit: r349327 - in head/sys: arm/conf conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Mon Jun 24 01:42:09 2019 New Revision: 349327 URL: https://svnweb.freebsd.org/changeset/base/349327 Log: Build an armv7 LINT kernel in addition to armv5 LINT. You might think this had been done years ago. I did. All this time we've only compiled a LINT kernel for

svn commit: r349326 - head/sys/amd64/amd64

2019-06-23 Thread Konstantin Belousov
Author: kib Date: Sun Jun 23 21:21:11 2019 New Revision: 349326 URL: https://svnweb.freebsd.org/changeset/base/349326 Log: amd64 pmap: block on turnstile for lock-less DI. Port the code to block on turnstile instead of yielding, to lock-less delayed invalidation. The yield might cause

svn commit: r349325 - head/sys/conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 21:17:41 2019 New Revision: 349325 URL: https://svnweb.freebsd.org/changeset/base/349325 Log: Allow compiling ukbdmap.h on arm, since it appears to work fine. Modified: head/sys/conf/files.arm Modified: head/sys/conf/files.arm

svn commit: r349324 - head/sys/kern

2019-06-23 Thread Konstantin Belousov
Author: kib Date: Sun Jun 23 21:15:31 2019 New Revision: 349324 URL: https://svnweb.freebsd.org/changeset/base/349324 Log: Switch to check for effective user id in r349320, and disable dumping into existing files for sugid processes. Despite using real user id pronounces the intent, it

svn commit: r349323 - head/sys/arm64/arm64

2019-06-23 Thread Alan Cox
Author: alc Date: Sun Jun 23 21:06:56 2019 New Revision: 349323 URL: https://svnweb.freebsd.org/changeset/base/349323 Log: pmap_enter_quick_locked() never replaces a valid mapping, so it need not perform a TLB invalidation. A barrier suffices. (See r343876.) Add a comment to

svn commit: r349322 - head/tests/sys/netinet

2019-06-23 Thread Li-Wen Hsu
Author: lwhsu Date: Sun Jun 23 19:37:12 2019 New Revision: 349322 URL: https://svnweb.freebsd.org/changeset/base/349322 Log: Skip sys.netinet.socket_afinet.socket_afinet_bind_zero temporarily because it doesn't work when mac_portacl(4) loaded PR: 238781 Sponsored by: The

svn commit: r349321 - in head/sys: cam/scsi dev/ahci

2019-06-23 Thread Alexander Motin
Author: mav Date: Sun Jun 23 19:05:01 2019 New Revision: 349321 URL: https://svnweb.freebsd.org/changeset/base/349321 Log: Improve AHCI Enclosure Management and SES interoperation. Since SES specs do not define mechanism to map enclosure slots to SATA disks, AHCI EM code I written many

svn commit: r349320 - head/sys/kern

2019-06-23 Thread Konstantin Belousov
Author: kib Date: Sun Jun 23 18:35:11 2019 New Revision: 349320 URL: https://svnweb.freebsd.org/changeset/base/349320 Log: coredump: avoid writing to core files not owned by the real user. Reported by: blake frantz PR: 68905 admbugs: 358 Sponsored by: The FreeBSD Foundation

svn commit: r349319 - head/sys/conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 17:39:13 2019 New Revision: 349319 URL: https://svnweb.freebsd.org/changeset/base/349319 Log: Add some i2c slave-device drivers that were missing from NOTES. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES

svn commit: r349318 - head/sys/conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 17:38:30 2019 New Revision: 349318 URL: https://svnweb.freebsd.org/changeset/base/349318 Log: The sy8106a and syr827 drviers require FDT and the ext_resources subsystem. Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r349317 - in head/sys: arm/allwinner conf

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 17:23:56 2019 New Revision: 349317 URL: https://svnweb.freebsd.org/changeset/base/349317 Log: Add the rtc8583 driver to conf/files. Also, move sy8106a from file.allwinner to conf/files... it's not allwinner-specific, some day other platforms could use the same

svn commit: r349316 - head/sys/dev/iicbus

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 17:20:39 2019 New Revision: 349316 URL: https://svnweb.freebsd.org/changeset/base/349316 Log: Remove some unused header files from the ad7418 driver. Modified: head/sys/dev/iicbus/ad7418.c Modified: head/sys/dev/iicbus/ad7418.c

svn commit: r349315 - in stable/12/sys: dev/hwpmc modules/hwpmc

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 16:59:06 2019 New Revision: 349315 URL: https://svnweb.freebsd.org/changeset/base/349315 Log: MFC r348740-r348741, r348995 r348740: Don't refer to the cpu variable in a KASSERT before initializing it. r348741: For armv6 and armv7, build hwpmc_armv7.c

svn commit: r349314 - in stable/12/sys/dev: flash iicbus iicbus/twsi ofw spibus

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 16:16:55 2019 New Revision: 349314 URL: https://svnweb.freebsd.org/changeset/base/349314 Log: MFC r348169-r348170, r348172-r348173, r348183-r348184 r348169: Define macros making it easier to define bus-specific pnpinfo for FDT systems. Pnpinfo is

svn commit: r349313 - in stable/12/sys: arm64/conf conf dev/iicbus

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 16:05:53 2019 New Revision: 349313 URL: https://svnweb.freebsd.org/changeset/base/349313 Log: MFC r341386 (by manu): Add Silergy SYR827 PMIC driver SYR827 is a PMIC that can output a voltage from 0.7125V to 1.5V in 12.5mV steps It's controlled via I2C.

svn commit: r349312 - stable/12/libexec/rc/rc.d

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 16:00:29 2019 New Revision: 349312 URL: https://svnweb.freebsd.org/changeset/base/349312 Log: MFC r348141, r348143 r348141: Handle the driftfile option correctly when ntpd_flags is empty. The logic I originally wrote to detect whether a driftfile option

svn commit: r349311 - in stable/12/sys: arm/freescale/imx dev/iicbus

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 15:58:46 2019 New Revision: 349311 URL: https://svnweb.freebsd.org/changeset/base/349311 Log: MFC r348123, r348164, r348166 r348123: Add pnp info to the imx_i2c driver. r348164: Mark i2c slave devices busy while they own the bus. Many i2c slave

svn commit: r349310 - stable/12/usr.sbin/i2c

2019-06-23 Thread Ian Lepore
Author: ian Date: Sun Jun 23 15:55:41 2019 New Revision: 349310 URL: https://svnweb.freebsd.org/changeset/base/349310 Log: MFC r348120: Add a new 'tr' (transfer) mode to i2c(8) to support more i2c controllers. Some i2c controller hardware does not provide a way to do individual START,

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

2019-06-23 Thread Alan Somers
Author: asomers Date: Sun Jun 23 15:09:39 2019 New Revision: 349309 URL: https://svnweb.freebsd.org/changeset/base/349309 Log: MFC r348737: Add a testing facility to manually reclaim a vnode Add the debug.try_reclaim_vnode sysctl. When a pathname is written to it, it will be

svn commit: r349308 - in stable/11/sys: fs/ext2fs fs/fuse fs/msdosfs fs/nfsclient kern sys ufs/ffs

2019-06-23 Thread Alan Somers
Author: asomers Date: Sun Jun 23 14:49:30 2019 New Revision: 349308 URL: https://svnweb.freebsd.org/changeset/base/349308 Log: MFC r348251: Remove "struct ucred*" argument from vtruncbuf vtruncbuf takes a "struct ucred*" argument. AFAICT, it's been unused ever since that function

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

2019-06-23 Thread Alan Somers
Author: asomers Date: Sun Jun 23 13:44:06 2019 New Revision: 349307 URL: https://svnweb.freebsd.org/changeset/base/349307 Log: MFC r348737: Add a testing facility to manually reclaim a vnode Add the debug.try_reclaim_vnode sysctl. When a pathname is written to it, it will be

svn commit: r349306 - stable/12/share/man/man9

2019-06-23 Thread Alan Somers
Author: asomers Date: Sun Jun 23 13:40:56 2019 New Revision: 349306 URL: https://svnweb.freebsd.org/changeset/base/349306 Log: MFC r348316: VOP_ADVLOCK.9: fix description of flags * F_RDLCK, F_UNLCK, and F_WRLCK aren't flags. They're stored in the fl.l_type field. * Add

svn commit: r349305 - in stable/12/sys: fs/ext2fs fs/fuse fs/msdosfs fs/nfsclient kern sys ufs/ffs

2019-06-23 Thread Alan Somers
Author: asomers Date: Sun Jun 23 13:35:01 2019 New Revision: 349305 URL: https://svnweb.freebsd.org/changeset/base/349305 Log: MFC r348251: Remove "struct ucred*" argument from vtruncbuf vtruncbuf takes a "struct ucred*" argument. AFAICT, it's been unused ever since that function

Re: svn commit: r349151 - in head: lib/libufs stand/libsa sys/conf sys/dev/iscsi sys/dev/iscsi_initiator sys/dev/liquidio sys/dev/usb/net sys/fs/ext2fs sys/fs/nandfs sys/geom/part sys/geom/raid sys/ke

2019-06-23 Thread Konstantin Belousov
On Sat, Jun 22, 2019 at 09:13:05PM -0700, Xin Li wrote: > On 6/22/19 17:15, Conrad Meyer wrote: > > Hi Xin Li, > > > > On Mon, Jun 17, 2019 at 12:49 PM Xin LI wrote: > >> > >> Author: delphij > >> Date: Mon Jun 17 19:49:08 2019 > >> New Revision: 349151 > >> URL:

svn commit: r349304 - stable/12/sys/amd64/amd64

2019-06-23 Thread Konstantin Belousov
Author: kib Date: Sun Jun 23 11:09:08 2019 New Revision: 349304 URL: https://svnweb.freebsd.org/changeset/base/349304 Log: MFC r348802: Remove lazy FPU switch support from amd64. For the merge, the hw.lazy_fpu_switch sysctl was kept but made read-only with the value of 0. Modified:

svn commit: r349303 - stable/11/sys/amd64/amd64

2019-06-23 Thread Konstantin Belousov
Author: kib Date: Sun Jun 23 11:04:34 2019 New Revision: 349303 URL: https://svnweb.freebsd.org/changeset/base/349303 Log: MFC r348798, r348813: amd64 trap.c: Modernize syntax around trap_msg[]. Modified: stable/11/sys/amd64/amd64/trap.c Directory Properties: stable/11/ (props changed)

svn commit: r349302 - stable/12/sys/i386/i386

2019-06-23 Thread Konstantin Belousov
Author: kib Date: Sun Jun 23 11:02:31 2019 New Revision: 349302 URL: https://svnweb.freebsd.org/changeset/base/349302 Log: MFC r348799: i386 trap.c: Remove unused MAX_TRAP_MSG define. Modified: stable/12/sys/i386/i386/trap.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r349301 - stable/12/sys/amd64/amd64

2019-06-23 Thread Konstantin Belousov
Author: kib Date: Sun Jun 23 11:01:09 2019 New Revision: 349301 URL: https://svnweb.freebsd.org/changeset/base/349301 Log: MFC r348813: Make trap_msg array constant as well. Modified: stable/12/sys/amd64/amd64/trap.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r349300 - stable/12/sys/amd64/amd64

2019-06-23 Thread Konstantin Belousov
Author: kib Date: Sun Jun 23 10:59:53 2019 New Revision: 349300 URL: https://svnweb.freebsd.org/changeset/base/349300 Log: MFC r348798: amd64 trap.c: Modernize syntax around trap_msg[]. Modified: stable/12/sys/amd64/amd64/trap.c Directory Properties: stable/12/ (props changed)

Re: svn commit: r349296 - stable/10/usr.bin/calendar/calendars

2019-06-23 Thread Konstantin Belousov
On Sat, Jun 22, 2019 at 11:36:28PM +, Greg Lehey wrote: > Author: grog > Date: Sat Jun 22 23:36:28 2019 > New Revision: 349296 > URL: https://svnweb.freebsd.org/changeset/base/349296 > > Log: > Correct Konrad Zuse's year of birth. > > Modified: >

svn commit: r349299 - in head/lib: libc/gen libc/include libthr/thread

2019-06-23 Thread Konstantin Belousov
Author: kib Date: Sun Jun 23 10:50:26 2019 New Revision: 349299 URL: https://svnweb.freebsd.org/changeset/base/349299 Log: Add libc stub for pthread_getthreadid_np(3). Requested by: jbeich PR: 238650 Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

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

2019-06-23 Thread Alex Richardson
Author: arichardson Date: Sun Jun 23 10:47:07 2019 New Revision: 349298 URL: https://svnweb.freebsd.org/changeset/base/349298 Log: Fix two WARNS=6 warnings in opendir.c and telldir.c This is in preparation for compiling these files as part of rtld (which is built with WARNS=6). See

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

2019-06-23 Thread Konstantin Belousov
Author: kib Date: Sun Jun 23 10:45:50 2019 New Revision: 349297 URL: https://svnweb.freebsd.org/changeset/base/349297 Log: Remove redundand 'else' and 'return'. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/lib/libc/gen/libc_dlopen.c Modified: