svn commit: r349133 - head/share/man/man4

2019-06-16 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Mon Jun 17 05:41:47 2019 New Revision: 349133 URL: https://svnweb.freebsd.org/changeset/base/349133 Log: pci(4): Document PCIOCATTACHED Document the PCIOCATTACHED ioctl(2) in the pci(4) manual. PCIOCATTACHED is used to query if a driver has

svn commit: r349132 - head/sys/dev/pwm

2019-06-16 Thread Ian Lepore
Author: ian Date: Mon Jun 17 03:48:44 2019 New Revision: 349132 URL: https://svnweb.freebsd.org/changeset/base/349132 Log: Add back a const qualifier I somehow fumbled away between test-building and committing recent changes. Modified: head/sys/dev/pwm/pwmc.c Modified:

svn commit: r349131 - head/sys/arm/allwinner

2019-06-16 Thread Ian Lepore
Author: ian Date: Mon Jun 17 03:40:00 2019 New Revision: 349131 URL: https://svnweb.freebsd.org/changeset/base/349131 Log: Implement the ofw_bus_get_node method in aw_pwm(4) so that ofw_pwmbus can find its metadata for instantiating children. Modified: head/sys/arm/allwinner/aw_pwm.c

svn commit: r349130 - in head/sys: conf dev/pwm modules/pwm/pwmbus

2019-06-16 Thread Ian Lepore
Author: ian Date: Mon Jun 17 03:32:05 2019 New Revision: 349130 URL: https://svnweb.freebsd.org/changeset/base/349130 Log: Add ofw_pwmbus to enumerate pwmbus devices on systems configured with fdt data. Also, add fdt support to pwmc. Added: head/sys/dev/pwm/ofw_pwmbus.c (contents, props

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

2019-06-16 Thread Alan Cox
Author: alc Date: Mon Jun 17 01:58:25 2019 New Revision: 349129 URL: https://svnweb.freebsd.org/changeset/base/349129 Log: Eliminate a redundant call to pmap_invalidate_page() from pmap_ts_referenced(). MFC after:14 days Differential Revision:

svn commit: r349128 - stable/11/usr.sbin/mountd

2019-06-16 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 17 00:58:49 2019 New Revision: 349128 URL: https://svnweb.freebsd.org/changeset/base/349128 Log: MFC: r347583 Replace global list for grouplist with list(s) for each exportlist element. In mountd.c, the grouplist structures are linked into a single global

svn commit: r349127 - stable/12/usr.sbin/mountd

2019-06-16 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 17 00:37:55 2019 New Revision: 349127 URL: https://svnweb.freebsd.org/changeset/base/349127 Log: MFC: r347583 Replace global list for grouplist with list(s) for each exportlist element. In mountd.c, the grouplist structures are linked into a single global

svn commit: r349126 - stable/11/usr.sbin/mountd

2019-06-16 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 17 00:29:40 2019 New Revision: 349126 URL: https://svnweb.freebsd.org/changeset/base/349126 Log: MFC: r347498 Factor code into two new functions in preparation for a future commit. Factor code into two functions. read_exportfile() a functon which reads

svn commit: r349125 - stable/12/usr.sbin/mountd

2019-06-16 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 17 00:20:39 2019 New Revision: 349125 URL: https://svnweb.freebsd.org/changeset/base/349125 Log: MFC: r347498 Factor code into two new functions in preparation for a future commit. Factor code into two functions. read_exportfile() a functon which reads

svn commit: r349124 - stable/11/usr.sbin/mountd

2019-06-16 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 17 00:11:46 2019 New Revision: 349124 URL: https://svnweb.freebsd.org/changeset/base/349124 Log: MFC: r347476 Factor out some exportlist list operations into separate functions. This patch moves the code that removes and frees all exportlist elements out

svn commit: r349123 - stable/12/usr.sbin/mountd

2019-06-16 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 17 00:00:12 2019 New Revision: 349123 URL: https://svnweb.freebsd.org/changeset/base/349123 Log: MFC: r347476 Factor out some exportlist list operations into separate functions. This patch moves the code that removes and frees all exportlist elements out

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

2019-06-16 Thread Alan Cox
Author: alc Date: Sun Jun 16 22:13:27 2019 New Revision: 349122 URL: https://svnweb.freebsd.org/changeset/base/349122 Log: Three changes to arm64's pmap_unwire(): Implement wiring changes on superpage mappings. Previously, a superpage mapping was unconditionally demoted by

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

2019-06-16 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 16 21:56:45 2019 New Revision: 349121 URL: https://svnweb.freebsd.org/changeset/base/349121 Log: Fix bug on newbus device deletion: we should delete the child's devinfo on deletion, not the parent's. MFC after:3 weeks Modified:

svn commit: r349120 - head/etc/mtree

2019-06-16 Thread Antoine Brodin
Author: antoine Date: Sun Jun 16 20:01:45 2019 New Revision: 349120 URL: https://svnweb.freebsd.org/changeset/base/349120 Log: Remove tabs from BSD.var.dist Reported by: zeising Modified: head/etc/mtree/BSD.var.dist Modified: head/etc/mtree/BSD.var.dist

svn commit: r349119 - head/sys/dev/pwm

2019-06-16 Thread Ian Lepore
Author: ian Date: Sun Jun 16 19:44:42 2019 New Revision: 349119 URL: https://svnweb.freebsd.org/changeset/base/349119 Log: Rework pwmbus and pwmc so that each child will handle a single PWM channel. Previously, there was a pwmc instance for each instance of pwm hardware regardless of how

svn commit: r349118 - head/usr.sbin/iostat

2019-06-16 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Jun 16 17:32:05 2019 New Revision: 349118 URL: https://svnweb.freebsd.org/changeset/base/349118 Log: In iostat(8) output, skip the decimal point and the fractional part for tps >= 100 and MB/s >= 1000, to prevent them for widening too much. MFC after:2 weeks

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

2019-06-16 Thread Alan Cox
Author: alc Date: Sun Jun 16 16:45:01 2019 New Revision: 349117 URL: https://svnweb.freebsd.org/changeset/base/349117 Log: Three enhancements to arm64's pmap_protect(): Implement protection changes on superpage mappings. Previously, a superpage mapping was unconditionally demoted by

svn commit: r349116 - head/sys/arm/ti

2019-06-16 Thread Ian Lepore
Author: ian Date: Sun Jun 16 16:02:50 2019 New Revision: 349116 URL: https://svnweb.freebsd.org/changeset/base/349116 Log: In detach(), call bus_generic_detach() before deleting the iicbus child. This gives the bus and its children the chance to return EBUSY to abort the detach if they're

svn commit: r349115 - in head/sys: arm/allwinner dev/pwm

2019-06-16 Thread Ian Lepore
Author: ian Date: Sun Jun 16 15:56:59 2019 New Revision: 349115 URL: https://svnweb.freebsd.org/changeset/base/349115 Log: Rename pwmbus.h to ofw_pwm.h, because after all the recent changes, there is nothing left in the file that related to pwmbus at all. It just contains prototypes for

svn commit: r349114 - stable/12/sys/net

2019-06-16 Thread Marius Strobl
Author: marius Date: Sun Jun 16 15:34:10 2019 New Revision: 349114 URL: https://svnweb.freebsd.org/changeset/base/349114 Log: MFC: r347390 - Merge r338254 from cxgbe(4): Use fcmpset instead of cmpset when appropriate. - Revert r277226 of cxgbe(4), obsolete since r334320. Modified:

svn commit: r349113 - stable/12/sys/dev/e1000

2019-06-16 Thread Marius Strobl
Author: marius Date: Sun Jun 16 15:30:07 2019 New Revision: 349113 URL: https://svnweb.freebsd.org/changeset/base/349113 Log: MFC: r347222 o Avoid determining the MAC class (LEM/EM or IGB) - possibly even multiple times - on every interrupt by using an own set of device methods for the

svn commit: r349112 - stable/12/sys/net

2019-06-16 Thread Marius Strobl
Author: marius Date: Sun Jun 16 15:25:46 2019 New Revision: 349112 URL: https://svnweb.freebsd.org/changeset/base/349112 Log: MFC: r347221, r347245 o Use iflib_fast_intr_rxtx() also for "legacy" interrupts, i. e. INTx and MSI. Unlike as with iflib_fast_intr_ctx(), the former will also

svn commit: r349111 - head/usr.bin/vtfontcvt

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 15:14:49 2019 New Revision: 349111 URL: https://svnweb.freebsd.org/changeset/base/349111 Log: vtfontcvt: correct typo in hex parsing update PR: 205707 Submitted by: Dmitry Wagin MFC with: 349100 Event:Berlin Devsummit 2019

svn commit: r349110 - stable/12/sys/net

2019-06-16 Thread Marius Strobl
Author: marius Date: Sun Jun 16 15:11:52 2019 New Revision: 349110 URL: https://svnweb.freebsd.org/changeset/base/349110 Log: MFC: r347211 - Remove the unused ifc_link_irq and ifc_mtx_name members of struct iflib_ctx. - Remove the only ever written to ift_db_mtx_name member of struct

svn commit: r349109 - in stable/12/sys: kern net sys

2019-06-16 Thread Marius Strobl
Author: marius Date: Sun Jun 16 14:53:53 2019 New Revision: 349109 URL: https://svnweb.freebsd.org/changeset/base/349109 Log: MFC: r344062 (partial) - For diff reduction, bring in as much of the taskqgroup_attach{,_cpu}(9) fix from r344062 as possible without breaking KBI, which in

svn commit: r349108 - head/usr.bin/vtfontcvt

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 13:51:45 2019 New Revision: 349108 URL: https://svnweb.freebsd.org/changeset/base/349108 Log: vtfontcvt: improve .bdf validation Previously if we had a BBX entry that had invalid values (e.g. bounding box outside of font bounding box) and failed sscanf

svn commit: r349107 - head/usr.bin/vtfontcvt

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 13:35:53 2019 New Revision: 349107 URL: https://svnweb.freebsd.org/changeset/base/349107 Log: vtfontcvt: improve .bdf verification Previously we would crash if the BBX y-offset was outside of the font bounding box. Reported by: afl MFC with:

svn commit: r349106 - head/share/vt/fonts

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 12:44:49 2019 New Revision: 349106 URL: https://svnweb.freebsd.org/changeset/base/349106 Log: allow vt(4) fonts to be built from .bdf files vtfontcvt(8) can convert both .bdf and .hex inputs to binary vt(4) .fnt files. Event:Berlin

svn commit: r349105 - head/usr.bin/vtfontcvt

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 12:26:46 2019 New Revision: 349105 URL: https://svnweb.freebsd.org/changeset/base/349105 Log: vtfontcvt: initialize another variable to quiet GCC warning I believe this case could be triggered by a broken .bdf font. PR: 205707 Reported by:

svn commit: r349104 - head

2019-06-16 Thread Rene Ladan
Author: rene (doc,ports committer) Date: Sun Jun 16 11:53:22 2019 New Revision: 349104 URL: https://svnweb.freebsd.org/changeset/base/349104 Log: Differentiate package versions for ALPHA/BETA/PRERELEASE/RC phases. Currently APLHA packages are treated as CURRENT or STABLE versions,

svn commit: r349103 - stable/12/sys/net

2019-06-16 Thread Marius Strobl
Author: marius Date: Sun Jun 16 11:34:56 2019 New Revision: 349103 URL: https://svnweb.freebsd.org/changeset/base/349103 Log: MFC: r344060, r344064 Further correct and optimize the bus_dma(9) usage of iflib(4): o Correct the obvious bugs in the netmap(4) parts: - No longer check for

svn commit: r349102 - stable/12/sys/opencrypto

2019-06-16 Thread Marius Strobl
Author: marius Date: Sun Jun 16 10:46:02 2019 New Revision: 349102 URL: https://svnweb.freebsd.org/changeset/base/349102 Log: MFC: r343979 As struct cryptop is wrapped in #ifdef _KERNEL, userland doesn't need to drag in either. Modified: stable/12/sys/opencrypto/cryptodev.h Directory

svn commit: r349101 - head/usr.bin/vtfontcvt

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 10:43:18 2019 New Revision: 349101 URL: https://svnweb.freebsd.org/changeset/base/349101 Log: vtfontcvt: initialize bbwbytes to avoid GCC 4.2.1 uninitialized warning PR: 205707 MFC with: 349100 Event:Berlin Devsummit 2019

svn commit: r349100 - head/usr.bin/vtfontcvt

2019-06-16 Thread Ed Maste
Author: emaste Date: Sun Jun 16 09:17:26 2019 New Revision: 349100 URL: https://svnweb.freebsd.org/changeset/base/349100 Log: vtfontcvt: improve BDF and hex font parsing Support larger font sizes. PR: 205707 Submitted by: Dmitry Wagin (original version) MFC after:2