svn commit: r355927 - stable/12/stand/libsa

2019-12-19 Thread Toomas Soome
Author: tsoome Date: Fri Dec 20 07:40:28 2019 New Revision: 355927 URL: https://svnweb.freebsd.org/changeset/base/355927 Log: MFC r355713: loader: cd9660_open() warn: is 'buf' large enough for 'struct iso_primary_descriptor'? We do allocate amount of memory (void * or char *), and then

Re: svn commit: r355926 - head/sys/dev/iicbus

2019-12-19 Thread Philip Paeps
On 2019-12-20 13:15:03 (+0800), Philip Paeps wrote: > Author: philip > Date: Fri Dec 20 05:15:03 2019 > New Revision: 355926 > URL: https://svnweb.freebsd.org/changeset/base/355926 > > Log: > iicoc: fix the build on PCI machines > > Pointy hat to: philip Sorry about that! Philip --

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

2019-12-19 Thread Philip Paeps
Author: philip Date: Fri Dec 20 05:15:03 2019 New Revision: 355926 URL: https://svnweb.freebsd.org/changeset/base/355926 Log: iicoc: fix the build on PCI machines Pointy hat to: philip Modified: head/sys/dev/iicbus/iicoc_pci.c (contents, props changed) Modified:

svn commit: r355923 - in head/sys: conf dev/iicbus

2019-12-19 Thread Philip Paeps
Author: philip Date: Fri Dec 20 03:40:46 2019 New Revision: 355923 URL: https://svnweb.freebsd.org/changeset/base/355923 Log: iicoc: split up common core and PCI bus specifics The OpenCores I2C IP core can be found on any bus. Split out the PCI bus specifics into their own file, only

svn commit: r355924 - in head/sys: conf dev/iicbus

2019-12-19 Thread Philip Paeps
Author: philip Date: Fri Dec 20 03:40:50 2019 New Revision: 355924 URL: https://svnweb.freebsd.org/changeset/base/355924 Log: iicoc: add FDT bus attachment This adds support for OpenCores I2C master controllers on FDT systems. Reviewed by:kp Sponsored by: Axiado Added:

svn commit: r355925 - head/sys/kern

2019-12-19 Thread Philip Paeps
Author: philip Date: Fri Dec 20 03:40:53 2019 New Revision: 355925 URL: https://svnweb.freebsd.org/changeset/base/355925 Log: Print upper 32 bits in devmap table entries If the devmap entry uses the upper 32 bits they wouldn't be printed in devmap_dump_table(). This fixes that.

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

2019-12-19 Thread Philip Paeps
Author: philip Date: Fri Dec 20 03:40:07 2019 New Revision: 355922 URL: https://svnweb.freebsd.org/changeset/base/355922 Log: iicoc: minor whitespace and style(9) fixes No functional changes. This commit will make upcoming changes which do affect functionality easier to read.

svn commit: r355921 - head/sys/riscv/sifive

2019-12-19 Thread Philip Paeps
Author: philip Date: Fri Dec 20 03:40:04 2019 New Revision: 355921 URL: https://svnweb.freebsd.org/changeset/base/355921 Log: riscv/sifive: add FU540 SPI controller driver Initial working prototype of the Serial Peripheral Interface controller in the SiFive FU540 SoC. Reviewed by:

svn commit: r355920 - head/sys/riscv/sifive

2019-12-19 Thread Philip Paeps
Author: philip Date: Fri Dec 20 03:38:21 2019 New Revision: 355920 URL: https://svnweb.freebsd.org/changeset/base/355920 Log: riscv/sifive: add SiFive FU540 PRCI driver The SiFive FU540 Power Reset Clocking Interrupt block contains a PLL that turns the input crystal (33.3MHz) into a

svn commit: r355919 - stable/12/libexec/rtld-elf

2019-12-19 Thread Konstantin Belousov
Author: kib Date: Fri Dec 20 01:00:18 2019 New Revision: 355919 URL: https://svnweb.freebsd.org/changeset/base/355919 Log: MFC r355676: rtld: make checks for mmap(2) failures compliant with documentation. Modified: stable/12/libexec/rtld-elf/map_object.c Directory Properties: stable/12/

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

2019-12-19 Thread Alexander Motin
Author: mav Date: Fri Dec 20 00:25:56 2019 New Revision: 355918 URL: https://svnweb.freebsd.org/changeset/base/355918 Log: MFC r355457: Make devstat_end_transaction_bio() count BIO_ORDERED. Modified: stable/12/sys/kern/subr_devstat.c Directory Properties: stable/12/ (props changed)

svn commit: r355917 - head/sys/sys

2019-12-19 Thread Brandon Bergren
Author: bdragon Date: Thu Dec 19 22:35:16 2019 New Revision: 355917 URL: https://svnweb.freebsd.org/changeset/base/355917 Log: [PowerPC] Only move linker sets to .data on ELFv1 In r268055, powerpc64 was special cased regarding linker sets to not mark the function pointer as 'const'.

svn commit: r355916 - head/sys/kern

2019-12-19 Thread Mark Johnston
Author: markj Date: Thu Dec 19 19:34:25 2019 New Revision: 355916 URL: https://svnweb.freebsd.org/changeset/base/355916 Log: Fix SIGINFO stack collection to ignore threads with swapped-out stacks. We by definition cannot trace the stack of such a thread. Also remove a redundant

svn commit: r355915 - head/sys/kern

2019-12-19 Thread Jeff Roberson
Author: jeff Date: Thu Dec 19 18:22:11 2019 New Revision: 355915 URL: https://svnweb.freebsd.org/changeset/base/355915 Log: Fix a bug in r355784. I missed a sched_add() call that needed to reacquire the thread lock. Reported by: mjg Modified: head/sys/kern/sched_ule.c Modified:

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

2019-12-19 Thread Ed Maste
Author: emaste Date: Thu Dec 19 17:01:25 2019 New Revision: 355914 URL: https://svnweb.freebsd.org/changeset/base/355914 Log: localeconv: correct grouping and mon_grouping per C/POSIX grouping and mon_grouping should be "" in the C locale. PR: 172215 MFC after:6 weeks

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

2019-12-19 Thread Doug Moore
Author: dougm Date: Thu Dec 19 16:39:52 2019 New Revision: 355913 URL: https://svnweb.freebsd.org/changeset/base/355913 Log: Including into non-kernel software leads to a compilation error because, without _KERNEL defined, the macro TMPFS_VALIDATE_DIR is invoked, but never defined.

svn commit: r355912 - head/usr.sbin/bhyve

2019-12-19 Thread John Baldwin
Author: jhb Date: Thu Dec 19 15:36:00 2019 New Revision: 355912 URL: https://svnweb.freebsd.org/changeset/base/355912 Log: Trim a spurious carriage return from the RFB signature string added in r355301. Submitted by: Yamagi Modified: head/usr.sbin/bhyve/rfb.c Modified:

svn commit: r355910 - head/sys/netpfil/ipfw

2019-12-19 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Dec 19 10:22:16 2019 New Revision: 355910 URL: https://svnweb.freebsd.org/changeset/base/355910 Log: ipfw: Don't rollback state in alloc_table_vidx() if atomicity is not required. Submitted by: Neel Chauhan MFC after:2 weeks Differential Revision:

svn commit: r355909 - head/sys/netpfil/ipfw

2019-12-19 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Dec 19 10:20:38 2019 New Revision: 355909 URL: https://svnweb.freebsd.org/changeset/base/355909 Log: Revert r355908 to commit it with a proper message. Modified: head/sys/netpfil/ipfw/ip_fw_table.c head/sys/netpfil/ipfw/ip_fw_table.h

Re: svn commit: r355908 - head/sys/netpfil/ipfw

2019-12-19 Thread Alexander V . Chernikov
19.12.2019, 09:19, "Alexander V. Chernikov" : > Author: melifaro > Date: Thu Dec 19 09:19:27 2019 > New Revision: 355908 > URL: https://svnweb.freebsd.org/changeset/base/355908 > > Log: >   svn-commit.tmp Should have been ipfw: Don't rollback state in alloc_table_vidx() if atomicity is not

svn commit: r355908 - head/sys/netpfil/ipfw

2019-12-19 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Dec 19 09:19:27 2019 New Revision: 355908 URL: https://svnweb.freebsd.org/changeset/base/355908 Log: svn-commit.tmp Modified: head/sys/netpfil/ipfw/ip_fw_table.c head/sys/netpfil/ipfw/ip_fw_table.h head/sys/netpfil/ipfw/ip_fw_table_value.c Modified:

svn commit: r355907 - in head/sys/arm64: arm64 include

2019-12-19 Thread Andrew Turner
Author: andrew Date: Thu Dec 19 08:52:16 2019 New Revision: 355907 URL: https://svnweb.freebsd.org/changeset/base/355907 Log: Stop speculation past an eret instruction On arm64 the eret instruction is used to return from an exception handler. Some implementations may speculate past this