Re: svn commit: r366381 - head/sys/modules/pwm

2020-10-02 Thread Jung-uk Kim
On 20. 10. 3., Cy Schubert wrote: > In message om> > , Mateusz Guzik writes: >> On 10/2/20, Emmanuel Vadot wrote: >>> Author: manu >>> Date: Fri Oct 2 19:56:54 2020 >>> New Revision: 366381 >>> URL: https://svnweb.freebsd.org/changeset/base/366381 >>> >>> Log: >>> pwm_backlight: Restrict

Re: svn commit: r366381 - head/sys/modules/pwm

2020-10-02 Thread Cy Schubert
In message , Mateusz Guzik writes: > On 10/2/20, Emmanuel Vadot wrote: > > Author: manu > > Date: Fri Oct 2 19:56:54 2020 > > New Revision: 366381 > > URL: https://svnweb.freebsd.org/changeset/base/366381 > > > > Log: > > pwm_backlight: Restrict module to armv7 and aarch64 > > > > Both

Re: svn commit: r366381 - head/sys/modules/pwm

2020-10-02 Thread Mateusz Guzik
On 10/2/20, Emmanuel Vadot wrote: > Author: manu > Date: Fri Oct 2 19:56:54 2020 > New Revision: 366381 > URL: https://svnweb.freebsd.org/changeset/base/366381 > > Log: > pwm_backlight: Restrict module to armv7 and aarch64 > > Both powerpc64 and riscv uses fdt but don't use EXT_RESOURCES. >

svn commit: r366384 - head/sys/dev/cxgbe/tom

2020-10-02 Thread Navdeep Parhar
Author: np Date: Fri Oct 2 23:48:57 2020 New Revision: 366384 URL: https://svnweb.freebsd.org/changeset/base/366384 Log: cxgbe(4): set up the firmware flowc for the tid before send_abort_rpl. MFC after:3 days Sponsored by: Chelsio Communications Modified:

svn commit: r366382 - in head/sys: amd64/conf arm/conf arm64/conf i386/conf powerpc/conf

2020-10-02 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 2 20:52:09 2020 New Revision: 366382 URL: https://svnweb.freebsd.org/changeset/base/366382 Log: Fix LINT: Add backlight to NOTES Modified: head/sys/amd64/conf/NOTES head/sys/arm/conf/NOTES head/sys/arm64/conf/NOTES head/sys/i386/conf/NOTES

svn commit: r366381 - head/sys/modules/pwm

2020-10-02 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 2 19:56:54 2020 New Revision: 366381 URL: https://svnweb.freebsd.org/changeset/base/366381 Log: pwm_backlight: Restrict module to armv7 and aarch64 Both powerpc64 and riscv uses fdt but don't use EXT_RESOURCES. Reported by: jenkins Modified:

svn commit: r366380 - head/sys/vm

2020-10-02 Thread Mark Johnston
Author: markj Date: Fri Oct 2 19:16:06 2020 New Revision: 366380 URL: https://svnweb.freebsd.org/changeset/base/366380 Log: vm_pageout: Avoid rounding down the inactive scan target With helper page daemon threads, enabled by default in r364786, we divide the inactive target by the

svn commit: r366378 - head/sys/vm

2020-10-02 Thread Mark Johnston
Author: markj Date: Fri Oct 2 19:04:09 2020 New Revision: 366378 URL: https://svnweb.freebsd.org/changeset/base/366378 Log: uma: Use LIFO for non-SMR bucket caches When SMR was introduced, zone_put_bucket() was changed to always place full buckets at the end of the queue. However, it

svn commit: r366379 - head/sys/vm

2020-10-02 Thread Mark Johnston
Author: markj Date: Fri Oct 2 19:04:29 2020 New Revision: 366379 URL: https://svnweb.freebsd.org/changeset/base/366379 Log: uma: Use the bucket cache for cross-domain allocations uma_zalloc_domain() allocates from the requested domain instead of following a first-touch policy (the

svn commit: r366377 - head/sys/vm

2020-10-02 Thread Mark Johnston
Author: markj Date: Fri Oct 2 19:03:42 2020 New Revision: 366377 URL: https://svnweb.freebsd.org/changeset/base/366377 Log: uma: Remove newlines from panic messages Sponsored by: The FreeBSD Foundation Modified: head/sys/vm/uma_core.c Modified: head/sys/vm/uma_core.c

svn commit: r366376 - head/sys/kern

2020-10-02 Thread Mark Johnston
Author: markj Date: Fri Oct 2 18:54:37 2020 New Revision: 366376 URL: https://svnweb.freebsd.org/changeset/base/366376 Log: Fix the INVARIANTS build for 32-bit platforms Reported by: Jenkins MFC with: r366368 Modified: head/sys/kern/imgact_elf.c Modified:

svn commit: r366375 - head/lib/libc/locale

2020-10-02 Thread Mark Johnston
Author: markj Date: Fri Oct 2 18:35:55 2020 New Revision: 366375 URL: https://svnweb.freebsd.org/changeset/base/366375 Log: newlocale(3): Fix a memory leak. newlocale() optionally takes a "base" locale, from which components not specified in the mask are inherited. POSIX says that

svn commit: r366374 - head/sys/sys

2020-10-02 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 2 18:29:25 2020 New Revision: 366374 URL: https://svnweb.freebsd.org/changeset/base/366374 Log: Bump __FreeBSD_version after latest linuxkpi changes Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r366373 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf modules/linuxkpi

2020-10-02 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 2 18:28:00 2020 New Revision: 366373 URL: https://svnweb.freebsd.org/changeset/base/366373 Log: linuxkpi: Add dmi_* function dmi function are used to get smbios values. The DRM subsystem and drivers use it to enabled (or not) quirks. Reviewed by:

svn commit: r366372 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf

2020-10-02 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 2 18:26:41 2020 New Revision: 366372 URL: https://svnweb.freebsd.org/changeset/base/366372 Log: linuxkpi: Add backlight support Add backlight function to linuxkpi. Graphics drivers expose the backlight of the panel directly so allow them to use the backlight

svn commit: r366371 - in head/sys: conf dev/pwm modules/pwm modules/pwm/pwm_backlight

2020-10-02 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 2 18:23:27 2020 New Revision: 366371 URL: https://svnweb.freebsd.org/changeset/base/366371 Log: Add pwm_backlight Driver for pwm-backlight compatible device. Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r366370 - in head/usr.bin: . backlight

2020-10-02 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 2 18:21:30 2020 New Revision: 366370 URL: https://svnweb.freebsd.org/changeset/base/366370 Log: Add backlight(8) This tool is used to configure registered backlights. It can incr/decr (default to 10%) or accept a percentage value directly. Reviewed by:

svn commit: r366369 - in head: share/man/man9 sys/conf sys/dev/backlight sys/modules sys/modules/backlight sys/sys

2020-10-02 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 2 18:18:01 2020 New Revision: 366369 URL: https://svnweb.freebsd.org/changeset/base/366369 Log: Add backlight subsystem This is a simple subsystem that allow drivers to register as a backlight. Each backlight creates a device node under

svn commit: r366368 - in head/sys: kern vm

2020-10-02 Thread Mark Johnston
Author: markj Date: Fri Oct 2 17:50:22 2020 New Revision: 366368 URL: https://svnweb.freebsd.org/changeset/base/366368 Log: Implement sparse core dumps Currently we allocate and map zero-filled anonymous pages when dumping core. This can result in lots of needless disk I/O and page

svn commit: r366367 - head/sys/kern

2020-10-02 Thread Mark Johnston
Author: markj Date: Fri Oct 2 17:49:13 2020 New Revision: 366367 URL: https://svnweb.freebsd.org/changeset/base/366367 Log: Simplify the check for non-dumpable VM object types OBJT_DEFAULT, _SWAP, _VNODE and _PHYS is exactly the set of non-fictitious object types, so just check for

svn commit: r366366 - head/sys/dev/flash

2020-10-02 Thread Nick O'Brien
Author: nick Date: Fri Oct 2 17:33:56 2020 New Revision: 366366 URL: https://svnweb.freebsd.org/changeset/base/366366 Log: flash: Add support for SPI flash s25fl512s Reviewed by: kp Approved by: kp (mentor) Sponsored by: Axiado Modified: head/sys/dev/flash/mx25l.c Modified:

svn commit: r366365 - head/tests/sys/fs/fusefs

2020-10-02 Thread Alan Somers
Author: asomers Date: Fri Oct 2 17:06:05 2020 New Revision: 366365 URL: https://svnweb.freebsd.org/changeset/base/366365 Log: fusefs tests: quell Coverity "Argument cannot be negative" warnings Must abort tests early if open(2) fails. Reported by: Coverity Coverity CID: 1432810

svn commit: r366364 - head/stand/man

2020-10-02 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Fri Oct 2 15:37:51 2020 New Revision: 366364 URL: https://svnweb.freebsd.org/changeset/base/366364 Log: Correct the documented size of kern.msgbufsize The correct value is 96KB after r226090. PR: 249971 Submitted by:

svn commit: r366363 - head/sys/kern

2020-10-02 Thread Mateusz Guzik
Author: mjg Date: Fri Oct 2 14:50:03 2020 New Revision: 366363 URL: https://svnweb.freebsd.org/changeset/base/366363 Log: cache: update the commentary for path parsing Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c

Re: svn commit: r366344 - in head: lib/libmd sys/crypto/skein/amd64

2020-10-02 Thread Ed Maste
On Thu, 1 Oct 2020 at 21:18, Kyle Evans wrote: > > We need some kind of magic to walk across this for -DNO_CLEAN builds > -- skein_block.c has no reason to get rebuilt, but we need it to > because we're now defining SKEIN_USE_ASM=1792, which will strip out > some symbols. kevans and I discussed

svn commit: r366362 - head/lib/libmd

2020-10-02 Thread Ed Maste
to replace with assembly: 256+512+1024 = 1792 +# 20201002 Add explict Makefile dependency for r366344 (reenabled assembly +# optimized version). SKEIN_USE_ASM determines which routines should come from +# the assembly vs C versions, and skein_block needs to be rebuilt if it changes. +skein_block.o

svn commit: r366355 - head/sys/riscv/riscv

2020-10-02 Thread Kristof Provost
Author: kp Date: Fri Oct 2 07:30:11 2020 New Revision: 366355 URL: https://svnweb.freebsd.org/changeset/base/366355 Log: riscv: handle access faults in user mode Access faults in user mode are treated like TLB misses, which leads to an endless loop of faults. It's less serious than the

svn commit: r366354 - head/sys/dev/cxgbe

2020-10-02 Thread Navdeep Parhar
Author: np Date: Fri Oct 2 05:59:55 2020 New Revision: 366354 URL: https://svnweb.freebsd.org/changeset/base/366354 Log: cxgbe(4): validate largest_rx_cluster and safest_rx_cluster. These tunables can only be set to a valid cluster size (2K, 4K, 9K, or 16K) as documented in the man