svn commit: r332272 - head/stand/forth

2018-04-08 Thread Toomas Soome
Author: tsoome Date: Sun Apr 8 11:55:27 2018 New Revision: 332272 URL: https://svnweb.freebsd.org/changeset/base/332272 Log: loader: 332270 did use wrong path for efi.4th The correct path is still /boot/efi.4th Modified: head/stand/forth/loader.4th Modified:

Re: svn commit: r332272 - head/stand/forth

2018-04-08 Thread Toomas Soome
> On 8 Apr 2018, at 17:23, O. Hartmann wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Am Sun, 8 Apr 2018 11:55:27 + (UTC) > Toomas Soome schrieb: > >> Author: tsoome >> Date: Sun Apr 8 11:55:27 2018 >> New Revision: 332272

svn commit: r332268 - head/tools/diag/prtblknos

2018-04-08 Thread Kirk McKusick
Author: mckusick Date: Sun Apr 8 07:18:29 2018 New Revision: 332268 URL: https://svnweb.freebsd.org/changeset/base/332268 Log: Add (intmax_t) type casts to some printf parameters to keep i386 happy. Modified: head/tools/diag/prtblknos/prtblknos.c Modified:

svn commit: r332271 - head/sys/netinet

2018-04-08 Thread Michael Tuexen
Author: tuexen Date: Sun Apr 8 11:50:06 2018 New Revision: 332271 URL: https://svnweb.freebsd.org/changeset/base/332271 Log: Small cleanup, no functional change. MFC after:3 days Modified: head/sys/netinet/sctp_usrreq.c Modified: head/sys/netinet/sctp_usrreq.c

svn commit: r332273 - in head/sys: netinet netinet6

2018-04-08 Thread Michael Tuexen
Author: tuexen Date: Sun Apr 8 12:08:20 2018 New Revision: 332273 URL: https://svnweb.freebsd.org/changeset/base/332273 Log: Fix a logical inversion bug. Thanks to Irene Ruengeler for finding and reporting this bug. MFC after:3 days Modified: head/sys/netinet/sctp_usrreq.c

svn commit: r332275 - head/stand/i386/loader

2018-04-08 Thread Toomas Soome
Author: tsoome Date: Sun Apr 8 13:40:38 2018 New Revision: 332275 URL: https://svnweb.freebsd.org/changeset/base/332275 Log: loader: 332270 did left out stand/i386/loader/loader.rc we have 2 instances of loader.rc... Modified: head/stand/i386/loader/loader.rc Modified:

svn commit: r332270 - head/stand/forth

2018-04-08 Thread Toomas Soome
Author: tsoome Date: Sun Apr 8 11:39:27 2018 New Revision: 332270 URL: https://svnweb.freebsd.org/changeset/base/332270 Log: loader: include efi.4th only if we do have uefi Also simplify efi.4th. Modified: head/stand/forth/efi.4th head/stand/forth/loader.4th

Re: svn commit: r332272 - head/stand/forth

2018-04-08 Thread O. Hartmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Am Sun, 8 Apr 2018 11:55:27 + (UTC) Toomas Soome schrieb: > Author: tsoome > Date: Sun Apr 8 11:55:27 2018 > New Revision: 332272 > URL: https://svnweb.freebsd.org/changeset/base/332272 > > Log: > loader: 332270 did use

Re: svn commit: r332265 - head/tools/diag/prtblknos

2018-04-08 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: mckusick > Date: Sun Apr 8 06:52:58 2018 > New Revision: 332265 > URL: https://svnweb.freebsd.org/changeset/base/332265 > > Log: > Split tools/diag/prtblknos into two parts: > main.c - opens disk and processes the argument list >

svn commit: r332277 - head/sys/dev/fdt

2018-04-08 Thread Andrew Turner
Author: andrew Date: Sun Apr 8 15:12:36 2018 New Revision: 332277 URL: https://svnweb.freebsd.org/changeset/base/332277 Log: Replace calls to fdt_is_compatible with ofw_bus_node_is_compatible. These are almost identical so there is no need to keep the former around. Sponsored by: DARPA,

svn commit: r332267 - head/sbin/fsdb

2018-04-08 Thread Kirk McKusick
Author: mckusick Date: Sun Apr 8 07:06:12 2018 New Revision: 332267 URL: https://svnweb.freebsd.org/changeset/base/332267 Log: When using the fsdb `blocks' command, replace the long and ugly list of blocks with the much more concise and readable block list shown by the prtblknos() function

svn commit: r332269 - head/sys/netinet

2018-04-08 Thread Michael Tuexen
Author: tuexen Date: Sun Apr 8 11:37:00 2018 New Revision: 332269 URL: https://svnweb.freebsd.org/changeset/base/332269 Log: Fix a signed/unsigned warning showing up for the userland stack on some platforms. Thanks to Felix Weinrank for reporting the issue. MFC after:i 3 days

svn commit: r332274 - in head/sys: arm/mv dev/fdt

2018-04-08 Thread Andrew Turner
Author: andrew Date: Sun Apr 8 12:20:06 2018 New Revision: 332274 URL: https://svnweb.freebsd.org/changeset/base/332274 Log: Move fdt_is_type to be a Marvell specific function. It's not used by any other SoCs. Sponsored by: DARPA, AFRL Modified: head/sys/arm/mv/armv5_machdep.c

svn commit: r332278 - head/sys/dev/fdt

2018-04-08 Thread Andrew Turner
Author: andrew Date: Sun Apr 8 15:21:12 2018 New Revision: 332278 URL: https://svnweb.freebsd.org/changeset/base/332278 Log: Revert r332277, it contained an unintended extra change Modified: head/sys/dev/fdt/fdt_common.c Modified: head/sys/dev/fdt/fdt_common.c

svn commit: r332287 - head/sys/powerpc/powerpc

2018-04-08 Thread Justin Hibbits
Author: jhibbits Date: Sun Apr 8 16:46:24 2018 New Revision: 332287 URL: https://svnweb.freebsd.org/changeset/base/332287 Log: powerpc64: Avoid calling isync twice Summary: It is not necessary to call isync() after calling mtmsr() function, mainly because the mtmsr() calls 'isync'

Re: svn commit: r332285 - head/sys/kern

2018-04-08 Thread Steven Hartland
Worth making the sysctls so they can be tuned the the HW / use case? On 08/04/2018 17:34, Mateusz Guzik wrote: Author: mjg Date: Sun Apr 8 16:34:10 2018 New Revision: 332285 URL: https://svnweb.freebsd.org/changeset/base/332285 Log: locks: tweak backoff a little bit Previous limits

svn commit: r332309 - head/sys/dev/fdt

2018-04-08 Thread Andrew Turner
Author: andrew Date: Sun Apr 8 22:07:06 2018 New Revision: 332309 URL: https://svnweb.freebsd.org/changeset/base/332309 Log: Replace calls to fdt_is_compatible with ofw_bus_node_is_compatible. These are almost identical so there is no need to keep the former around. Sponsored by: DARPA,

svn commit: r332285 - head/sys/kern

2018-04-08 Thread Mateusz Guzik
Author: mjg Date: Sun Apr 8 16:34:10 2018 New Revision: 332285 URL: https://svnweb.freebsd.org/changeset/base/332285 Log: locks: tweak backoff a little bit Previous limits were chosen when locking primitives had spurious lock accesses. Flipping the starting point to 1 (or rather 2

svn commit: r332299 - head/sys/powerpc/include

2018-04-08 Thread Justin Hibbits
Author: jhibbits Date: Sun Apr 8 19:33:05 2018 New Revision: 332299 URL: https://svnweb.freebsd.org/changeset/base/332299 Log: Fix typo Reserved cause is 6, not 5. Reported by: cem Modified: head/sys/powerpc/include/spr.h Modified: head/sys/powerpc/include/spr.h

svn commit: r332293 - head/sys/amd64/linux32

2018-04-08 Thread Brooks Davis
Author: brooks Date: Sun Apr 8 17:10:32 2018 New Revision: 332293 URL: https://svnweb.freebsd.org/changeset/base/332293 Log: Fix LINT (and static COMPAT_LINUX32) after r332122. Modified: head/sys/amd64/linux32/linux32_machdep.c Modified: head/sys/amd64/linux32/linux32_machdep.c

svn commit: r332298 - in head: lib/libvmmapi sys/amd64/include sys/amd64/vmm usr.sbin/bhyve usr.sbin/bhyvectl

2018-04-08 Thread Rodney W. Grimes
Author: rgrimes Date: Sun Apr 8 19:24:49 2018 New Revision: 332298 URL: https://svnweb.freebsd.org/changeset/base/332298 Log: Add the ability to control the CPU topology of created VMs from userland without the need to use sysctls, it allows the old sysctls to continue to function, but

svn commit: r332297 - in head/sys/teken: . libteken

2018-04-08 Thread Poul-Henning Kamp
Author: phk Date: Sun Apr 8 19:23:50 2018 New Revision: 332297 URL: https://svnweb.freebsd.org/changeset/base/332297 Log: Pedantic polishing of code to please FlexeLint. Approved by: ed Modified: head/sys/teken/libteken/teken.3 head/sys/teken/teken.c head/sys/teken/teken.h

svn commit: r332286 - head/sys/powerpc/ofw

2018-04-08 Thread Justin Hibbits
Author: jhibbits Date: Sun Apr 8 16:43:56 2018 New Revision: 332286 URL: https://svnweb.freebsd.org/changeset/base/332286 Log: powerpc/ofw: Fix malloc inside lock Summary: Currently ofw_real_bounce_alloc() is requesting memory, using WAITOK, holding a non-sleepable locks, called 'OF

svn commit: r332296 - in head/sys/powerpc: include powerpc

2018-04-08 Thread Justin Hibbits
Author: jhibbits Date: Sun Apr 8 19:11:25 2018 New Revision: 332296 URL: https://svnweb.freebsd.org/changeset/base/332296 Log: Powerpc64: Add the facility unavailable trap subsystem Summary: This code adds the basic infrastructure for the facility subsystem. A facility trap is raised

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

2018-04-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Apr 8 20:53:00 2018 New Revision: 332305 URL: https://svnweb.freebsd.org/changeset/base/332305 Log: Document ofw_bus_subr helpers "compatible" and "status" properties Add documentation for following functions: - ofw_bus_is_compatible -

Re: svn commit: r332293 - head/sys/amd64/linux32

2018-04-08 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: brooks > Date: Sun Apr 8 17:10:32 2018 > New Revision: 332293 > URL: https://svnweb.freebsd.org/changeset/base/332293 > > Log: > Fix LINT (and static COMPAT_LINUX32) after r332122. FYI last time I tried LINT on 11/stable it had issues

Re: svn commit: r332285 - head/sys/kern

2018-04-08 Thread Mateusz Guzik
On Sun, Apr 8, 2018 at 9:06 PM, Steven Hartland < steven.hartl...@multiplay.co.uk> wrote: > Worth making the sysctls so they can be tuned the the HW / use case? > they already are, see: sysctl debug.mtx debug.mtx_spin debug.rwlock debug.sx -- Mateusz Guzik

svn commit: r332292 - head/sys/dev/spibus

2018-04-08 Thread Ian Lepore
Author: ian Date: Sun Apr 8 17:06:30 2018 New Revision: 332292 URL: https://svnweb.freebsd.org/changeset/base/332292 Log: Allow hinted attachment on FDT-based systems. Instead of returning ENXIO when the FDT data doesn't enable the device instance, return BUS_PROBE_NOWILDCARD, the same as

svn commit: r332289 - head/sys/powerpc/powerpc

2018-04-08 Thread Justin Hibbits
Author: jhibbits Date: Sun Apr 8 16:55:28 2018 New Revision: 332289 URL: https://svnweb.freebsd.org/changeset/base/332289 Log: powerpc64: Print current MSR on printtrap() Summary: Print current MSR on printtrap(). Currently, printtrap just prints srr1, which contains part of the MSR

svn commit: r332311 - head/sys/arm64/coresight

2018-04-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Apr 8 23:17:51 2018 New Revision: 332311 URL: https://svnweb.freebsd.org/changeset/base/332311 Log: Fix one more OF_getprop_alloc instance missed in r332310 X-MFC-With: r332310 Modified: head/sys/arm64/coresight/coresight.c Modified:

svn commit: r332310 - in head/sys: arm/allwinner arm/amlogic/aml8726 arm/broadcom/bcm2835 arm/freescale/vybrid arm/mv arm/nvidia arm/nvidia/tegra124 arm/ti arm/ti/cpsw arm/ti/usb dev/altera/avgen d...

2018-04-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Apr 8 22:59:34 2018 New Revision: 332310 URL: https://svnweb.freebsd.org/changeset/base/332310 Log: Clean up OF_getprop_alloc API OF_getprop_alloc takes element size argument and returns number of elements in the property. There are valid use cases for such

svn commit: r332265 - head/tools/diag/prtblknos

2018-04-08 Thread Kirk McKusick
Author: mckusick Date: Sun Apr 8 06:52:58 2018 New Revision: 332265 URL: https://svnweb.freebsd.org/changeset/base/332265 Log: Split tools/diag/prtblknos into two parts: main.c - opens disk and processes the argument list of inodes to be printed prtblknos.c -

svn commit: r332266 - head/lib/libufs

2018-04-08 Thread Kirk McKusick
Author: mckusick Date: Sun Apr 8 06:59:42 2018 New Revision: 332266 URL: https://svnweb.freebsd.org/changeset/base/332266 Log: The ufs_disk_write() function is used to upgrade a read-only descriptor to a read-write descriptor. Do not close the read-only descriptor until the read-write is

svn commit: r332312 - head/sys/dev/ofw

2018-04-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Apr 9 00:38:24 2018 New Revision: 332312 URL: https://svnweb.freebsd.org/changeset/base/332312 Log: Make OF_searchencprop signature consistent with OF_getencprop Use pcell_t* as a destination buffer argument instead of void pointer to be consistent with

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

2018-04-08 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Apr 9 05:48:12 2018 New Revision: 332317 URL: https://svnweb.freebsd.org/changeset/base/332317 Log: [man] Fix return type of BUS_ADD_CHILD(9) Fix return type of BUS_ADD_CHILD(9) in SYNOPSYS section, it should be device_t, not int PR: 207389 MFC