svn commit: r367243 - in head: lib/libc/gen sys/kern

2020-10-31 Thread Stefan Eßer
Author: se Date: Sat Oct 31 23:48:41 2020 New Revision: 367243 URL: https://svnweb.freebsd.org/changeset/base/367243 Log: Make sysctl user.local a tunable that can be written at run-time This sysctl value had been provided as a read-only variable that is compiled into the C library based

Re: svn commit: r367229 - in head/sys/contrib/openzfs: include/sys/zstd module/zstd

2020-10-31 Thread Brandon Bergren
On Sat, Oct 31, 2020, at 4:56 PM, Warner Losh wrote: > Go for it. > > Warner > Done in r367235. I did an additional 32 bit build fix in r367238 (to readelf.c) that should fix the tree the rest of the way. (Could use a sanity check on that one fwiw, I have a vague suspicion that there should

svn commit: r367241 - head/sys/dev/acpica

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 22:20:42 2020 New Revision: 367241 URL: https://svnweb.freebsd.org/changeset/base/367241 Log: acpi_dock(4): Add ACPI_PNP_INFO MFC after:2 weeks Modified: head/sys/dev/acpica/acpi_dock.c Modified: head/sys/dev/acpica/acpi_dock.c

svn commit: r367240 - head/sys/dev/acpi_support

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 22:19:39 2020 New Revision: 367240 URL: https://svnweb.freebsd.org/changeset/base/367240 Log: acpi_wmi(4): Add ACPI_PNP_INFO MFC after:2 weeks Modified: head/sys/dev/acpi_support/acpi_wmi.c Modified: head/sys/dev/acpi_support/acpi_wmi.c

svn commit: r367239 - in head/sys/dev: acpica iicbus

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 22:15:59 2020 New Revision: 367239 URL: https://svnweb.freebsd.org/changeset/base/367239 Log: Add plug and play information macroses for ACPI and I2C buses. Matching table format is compatible with ACPI_ID_PROBE bus method. Note that while ACPI_ID_PROBE

svn commit: r367238 - head/contrib/elftoolchain/readelf

2020-10-31 Thread Brandon Bergren
Author: bdragon Date: Sat Oct 31 22:14:37 2020 New Revision: 367238 URL: https://svnweb.freebsd.org/changeset/base/367238 Log: Fix 32-bit build after r367209 Fix build on systems with a 32-bit size_t. Since it's being passed as a pointer, a 64-bit write to it will overflow. MFC

svn commit: r367237 - head/sbin/devmatch

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 22:04:13 2020 New Revision: 367237 URL: https://svnweb.freebsd.org/changeset/base/367237 Log: devmatch(8): Respect mask field when matching strings of Z type. While here, add debug output for this action. Reviewed by: imp MFC after:2 weeks

Re: svn commit: r367229 - in head/sys/contrib/openzfs: include/sys/zstd module/zstd

2020-10-31 Thread Warner Losh
Go for it. Warner On Sat, Oct 31, 2020, 2:57 PM Mateusz Guzik wrote: > I agree. Please commit. > > On 10/31/20, Brandon Bergren wrote: > > Yeah, that is what was happening. The minimal implementation needed for > > libsa was missing. > > > > On Sat, Oct 31, 2020, at 3:33 PM, Brandon Bergren

svn commit: r367236 - in head: share/man/man4 sys/dev/usb sys/dev/usb/input

2020-10-31 Thread Hans Petter Selasky
Author: hselasky Date: Sat Oct 31 21:53:23 2020 New Revision: 367236 URL: https://svnweb.freebsd.org/changeset/base/367236 Log: Implement the USB_GET_DEVICEINFO ioctl(2) for uhid(4). Submitted by: pedro martelletto MFC after:1 week Sponsored by: Mellanox

Re: svn commit: r367209 - in head: contrib/elftoolchain/readelf usr.bin/readelf

2020-10-31 Thread Brandon Bergren
On Sat, Oct 31, 2020, at 3:03 PM, Brandon Bergren wrote: > This appears to have broken the build on platforms with a 32 bit > size_t, given the current state of the tinderbox. > > On Sat, Oct 31, 2020, at 10:27 AM, Ed Maste wrote: > > Author: emaste > > Date: Sat Oct 31 15:27:45 2020 > > New

svn commit: r367235 - head/sys/contrib/openzfs/include/os/freebsd/spl/sys

2020-10-31 Thread Brandon Bergren
Author: bdragon Date: Sat Oct 31 21:11:34 2020 New Revision: 367235 URL: https://svnweb.freebsd.org/changeset/base/367235 Log: Fix 32-bit build after r367229. The use of atomic_sub_64() in zfs_zstd.c was breaking the 32-bit build on platforms without native 64-bit atomics due to

Re: svn commit: r367229 - in head/sys/contrib/openzfs: include/sys/zstd module/zstd

2020-10-31 Thread Mateusz Guzik
I agree. Please commit. On 10/31/20, Brandon Bergren wrote: > Yeah, that is what was happening. The minimal implementation needed for > libsa was missing. > > On Sat, Oct 31, 2020, at 3:33 PM, Brandon Bergren wrote: >> Maybe this is it?: >> >> Index:

Re: svn commit: r367229 - in head/sys/contrib/openzfs: include/sys/zstd module/zstd

2020-10-31 Thread Brandon Bergren
Yeah, that is what was happening. The minimal implementation needed for libsa was missing. On Sat, Oct 31, 2020, at 3:33 PM, Brandon Bergren wrote: > Maybe this is it?: > > Index: sys/contrib/openzfs/include/os/freebsd/spl/sys/atomic.h >

Re: svn commit: r367229 - in head/sys/contrib/openzfs: include/sys/zstd module/zstd

2020-10-31 Thread Brandon Bergren
Maybe this is it?: Index: sys/contrib/openzfs/include/os/freebsd/spl/sys/atomic.h === --- sys/contrib/openzfs/include/os/freebsd/spl/sys/atomic.h (revision 367230) +++ sys/contrib/openzfs/include/os/freebsd/spl/sys/atomic.h

svn commit: r367234 - head/sys/dev/acpica

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 20:28:13 2020 New Revision: 367234 URL: https://svnweb.freebsd.org/changeset/base/367234 Log: acpi_video(4): Put display device in to D3 state on "Display off" event. As required by ACPI specs 6.3, appendix A.6, table B-8. Modified:

Re: svn commit: r367229 - in head/sys/contrib/openzfs: include/sys/zstd module/zstd

2020-10-31 Thread Brandon Bergren
Actually, looking at it again, it looks like the spl header is doing it wrong and not providing a fallback for atomic_sub_64, it's just defining it to atomic_subtract_64 and assuming that exists. On Sat, Oct 31, 2020, at 3:23 PM, Mateusz Guzik wrote: > Yep, jenkins told me. Working on it. > >

svn commit: r367233 - head/sys/dev/acpica

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 20:25:55 2020 New Revision: 367233 URL: https://svnweb.freebsd.org/changeset/base/367233 Log: acpi_video(4): Add evdev support for reporting of video events. Modified: head/sys/dev/acpica/acpi_video.c Modified: head/sys/dev/acpica/acpi_video.c

Re: svn commit: r367229 - in head/sys/contrib/openzfs: include/sys/zstd module/zstd

2020-10-31 Thread Mateusz Guzik
Yep, jenkins told me. Working on it. On 10/31/20, Brandon Bergren wrote: > This doesn't compile on platforms such as powerpc without pulling in the > opensolaris atomics header from the spl that does locking emulation of 64 > bit atomics, as platforms that don't have native 64 bit atomics do not

Re: svn commit: r367229 - in head/sys/contrib/openzfs: include/sys/zstd module/zstd

2020-10-31 Thread Brandon Bergren
This doesn't compile on platforms such as powerpc without pulling in the opensolaris atomics header from the spl that does locking emulation of 64 bit atomics, as platforms that don't have native 64 bit atomics do not provide them in the system header. On Sat, Oct 31, 2020, at 2:07 PM, Mateusz

svn commit: r367232 - head/sys/dev/acpica

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 20:14:28 2020 New Revision: 367232 URL: https://svnweb.freebsd.org/changeset/base/367232 Log: acpi(9): Add EVENTHANDLERs for video and AC adapter events. They are required for coming ACPI support in LinuxKPI. Reviewed by: hselasky, manu (as part of

Re: svn commit: r367209 - in head: contrib/elftoolchain/readelf usr.bin/readelf

2020-10-31 Thread Brandon Bergren
This appears to have broken the build on platforms with a 32 bit size_t, given the current state of the tinderbox. On Sat, Oct 31, 2020, at 10:27 AM, Ed Maste wrote: > Author: emaste > Date: Sat Oct 31 15:27:45 2020 > New Revision: 367209 > URL: https://svnweb.freebsd.org/changeset/base/367209 >

svn commit: r367231 - head/sys/dev/acpica

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 19:47:34 2020 New Revision: 367231 URL: https://svnweb.freebsd.org/changeset/base/367231 Log: acpi: Tweak _DSM method evaluation helpers. - Use ACPI style for _DSM evaluation helper parameter types. - Constify UUID parameter. - Increase size of returned

svn commit: r367230 - head/sys/dev/ichiic

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 19:30:23 2020 New Revision: 367230 URL: https://svnweb.freebsd.org/changeset/base/367230 Log: ig4(4): Add PCI IDs for Intel Comit Lake I2C controllers. MFC after:2 weeks Modified: head/sys/dev/ichiic/ig4_pci.c Modified: head/sys/dev/ichiic/ig4_pci.c

svn commit: r367229 - in head/sys/contrib/openzfs: include/sys/zstd module/zstd

2020-10-31 Thread Mateusz Guzik
Author: mjg Date: Sat Oct 31 19:07:32 2020 New Revision: 367229 URL: https://svnweb.freebsd.org/changeset/base/367229 Log: zfs: zstd: track allocator statistics This applies: commit c4ede65bdfca11b532403620bbf0d6e33f0c1c1d Author: Mateusz Guzik Date: Fri Oct 30 23:26:10 2020 +0100

svn commit: r367221 - head

2020-10-31 Thread Stefan Eßer
Author: se Date: Sat Oct 31 16:39:27 2020 New Revision: 367221 URL: https://svnweb.freebsd.org/changeset/base/367221 Log: Mention the more strict consistency checks performed by calendar(), which can make the program abort with an error message on previously accepted but malformed input

svn commit: r367209 - in head: contrib/elftoolchain/readelf usr.bin/readelf

2020-10-31 Thread Ed Maste
Author: emaste Date: Sat Oct 31 15:27:45 2020 New Revision: 367209 URL: https://svnweb.freebsd.org/changeset/base/367209 Log: readelf: Add -z decompression support Compatible with GNU readelf, -z decompresses sections displayed by -x or -p. ELF Tool Chain ticket #555

svn commit: r367207 - head/usr.bin/calendar

2020-10-31 Thread Stefan Eßer
Author: se Date: Sat Oct 31 15:11:24 2020 New Revision: 367207 URL: https://svnweb.freebsd.org/changeset/base/367207 Log: Improve calendar file parsing and consistency tests Add line number information to more warning and error messages. Detect #else and #endif without corresponing

Re: svn commit: r364435 - head/usr.sbin/kldxref

2020-10-31 Thread Matteo Riondato
> On Aug 20, 2020, at 2:50 PM, Dimitry Andric wrote: > > Author: dim > Date: Thu Aug 20 18:50:46 2020 > New Revision: 364435 > URL: https://svnweb.freebsd.org/changeset/base/364435 > > Log: > Bump kldxref's MAXSEGS to 16, to stop complaints about the kernel > supposedly having too many

svn commit: r367204 - head/usr.bin/calendar

2020-10-31 Thread Stefan Eßer
Author: se Date: Sat Oct 31 13:55:10 2020 New Revision: 367204 URL: https://svnweb.freebsd.org/changeset/base/367204 Log: Add file names and line numbers to debug messages MFC after:3 days Modified: head/usr.bin/calendar/io.c Modified: head/usr.bin/calendar/io.c

svn commit: r367203 - head/usr.bin/calendar

2020-10-31 Thread Stefan Eßer
Author: se Date: Sat Oct 31 13:32:08 2020 New Revision: 367203 URL: https://svnweb.freebsd.org/changeset/base/367203 Log: Add file names and line numbers to calendar format error messages Without file name and line number it is very cumbersum to identify the locations of errors in

Re: svn commit: r367196 - head/lib/libc/gen

2020-10-31 Thread Stefan Esser
Sorry for the bad bug that I introduced with this attempted style fix! The correct code has been committed as r367199. Am 31.10.20 um 12:46 schrieb xto...@hotmail.com: Stefan Eßer wrote: Author: se Date: Sat Oct 31 11:44:10 2020 New Revision: 367196 URL:

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

2020-10-31 Thread Stefan Eßer
Author: se Date: Sat Oct 31 12:10:43 2020 New Revision: 367199 URL: https://svnweb.freebsd.org/changeset/base/367199 Log: Fix reversed condition after attempted style fix in r367196 Reported by: xto...@hotmail.com MFC after:3 days Modified: head/lib/libc/gen/sysctl.c Modified:

Re: svn commit: r367196 - head/lib/libc/gen

2020-10-31 Thread xtouqh
Stefan Eßer wrote: Author: se Date: Sat Oct 31 11:44:10 2020 New Revision: 367196 URL: https://svnweb.freebsd.org/changeset/base/367196 Log: Fix style, no functional change Submitted by: kib MFC after: 3 days Modified: head/lib/libc/gen/sysctl.c Modified:

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

2020-10-31 Thread Stefan Eßer
Author: se Date: Sat Oct 31 11:44:10 2020 New Revision: 367196 URL: https://svnweb.freebsd.org/changeset/base/367196 Log: Fix style, no functional change Submitted by: kib MFC after:3 days Modified: head/lib/libc/gen/sysctl.c Modified: head/lib/libc/gen/sysctl.c