svn commit: r333052 - head/sys/vm

2018-04-26 Thread Mateusz Guzik
Author: mjg Date: Fri Apr 27 05:37:35 2018 New Revision: 333052 URL: https://svnweb.freebsd.org/changeset/base/333052 Log: uma: whack main zone counter update in the slow path Cached counters are typically zero at this point so it performs avoidable atomics. Everything reading them also

svn commit: r333051 - in head/sys: sys vm

2018-04-26 Thread Mateusz Guzik
Author: mjg Date: Fri Apr 27 05:36:02 2018 New Revision: 333051 URL: https://svnweb.freebsd.org/changeset/base/333051 Log: vm: move vm_cnt to __read_mostly now that it is not written to While here whack unused locking keys for the struct. Discussed with: jeff Modified:

svn commit: r333050 - head/sys/arm/conf

2018-04-26 Thread Marcin Wojtas
Author: mw Date: Fri Apr 27 05:32:09 2018 New Revision: 333050 URL: https://svnweb.freebsd.org/changeset/base/333050 Log: Revert r333035 due broken booting on !Marvell GENERIC platforms Reported by: manu Modified: head/sys/arm/conf/GENERIC Modified: head/sys/arm/conf/GENERIC

Re: svn commit: r333049 - in stable/11/stand/pc98: boot2 libpc98

2018-04-26 Thread TAKAHASHI Yoshihiro
In article

Re: svn commit: r333035 - head/sys/arm/conf

2018-04-26 Thread Emmanuel Vadot
Hi Marcin, On Thu, 26 Apr 2018 19:23:38 + (UTC) Marcin Wojtas wrote: > Author: mw > Date: Thu Apr 26 19:23:37 2018 > New Revision: 333035 > URL: https://svnweb.freebsd.org/changeset/base/333035 > > Log: > Add Marvell ArmadaXP and Armada38X to GENERIC config > >

Re: svn commit: r333049 - in stable/11/stand/pc98: boot2 libpc98

2018-04-26 Thread Warner Losh
On Thu, Apr 26, 2018 at 9:52 PM, Kyle Evans wrote: > On Thu, Apr 26, 2018 at 9:39 PM, Takahashi Yoshihiro > wrote: > > Author: nyan > > Date: Fri Apr 27 02:39:36 2018 > > New Revision: 333049 > > URL: https://svnweb.freebsd.org/changeset/base/333049 > > > >

Re: svn commit: r333049 - in stable/11/stand/pc98: boot2 libpc98

2018-04-26 Thread Kyle Evans
On Thu, Apr 26, 2018 at 9:39 PM, Takahashi Yoshihiro wrote: > Author: nyan > Date: Fri Apr 27 02:39:36 2018 > New Revision: 333049 > URL: https://svnweb.freebsd.org/changeset/base/333049 > > Log: > whitespace changes to reduce diffs from i386. > still broken pc98 boot. Hi

svn commit: r333049 - in stable/11/stand/pc98: boot2 libpc98

2018-04-26 Thread Takahashi Yoshihiro
Author: nyan Date: Fri Apr 27 02:39:36 2018 New Revision: 333049 URL: https://svnweb.freebsd.org/changeset/base/333049 Log: whitespace changes to reduce diffs from i386. still broken pc98 boot. Modified: stable/11/stand/pc98/boot2/boot2.c stable/11/stand/pc98/libpc98/bioscd.c

svn commit: r333048 - stable/11/stand/i386

2018-04-26 Thread Ed Maste
Author: emaste Date: Fri Apr 27 01:21:52 2018 New Revision: 333048 URL: https://svnweb.freebsd.org/changeset/base/333048 Log: MFC r332090: stand: pass --no-rosegment for i386 bits when linking with lld btxld does not correctly handle input with other than 2 PT_LOAD segments. Passing

svn commit: r333047 - in head/sys: dev/extres/clk kern sys

2018-04-26 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 27 00:12:00 2018 New Revision: 333047 URL: https://svnweb.freebsd.org/changeset/base/333047 Log: clk: Put the sysctls under hw.clock instead of clock This is more consistant with hw.regulator and other hardware related sysctls. Modified:

svn commit: r333046 - in head/sys: amd64/conf conf

2018-04-26 Thread Sean Bruno
Author: sbruno Date: Thu Apr 26 22:43:25 2018 New Revision: 333046 URL: https://svnweb.freebsd.org/changeset/base/333046 Log: move smartpqi(4) controller out of NOTES and into sys/amd64/NOTES to appease LINT Submitted by: rpokala Reported by: npn Modified: head/sys/amd64/conf/NOTES

svn commit: r333045 - head/sys/arm64/rockchip

2018-04-26 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 26 22:15:09 2018 New Revision: 333045 URL: https://svnweb.freebsd.org/changeset/base/333045 Log: arm64: rockchip: rk_gpio fix rk_gpio_pin_config32 Pointy Hat to: me Modified: head/sys/arm64/rockchip/rk_gpio.c Modified:

svn commit: r333043 - in head/sys/dev/cxgbe: . tom

2018-04-26 Thread Navdeep Parhar
Author: np Date: Thu Apr 26 22:04:21 2018 New Revision: 333043 URL: https://svnweb.freebsd.org/changeset/base/333043 Log: cxgbe(4): Move release_tid to the base NIC driver for future consumers. Sponsored by: Chelsio Communications. Modified: head/sys/dev/cxgbe/adapter.h

svn commit: r333042 - in head: share/man/man4 sys/arm64/rockchip sys/conf

2018-04-26 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 26 21:44:00 2018 New Revision: 333042 URL: https://svnweb.freebsd.org/changeset/base/333042 Log: arm64: rockchip: Add gpio controller driver Add a driver that match on 'rockchip,gpio-bank', this compatible string is found on almost all RockChip SoC so this

svn commit: r333041 - head/sys/netinet

2018-04-26 Thread Randall Stewart
Author: rrs Date: Thu Apr 26 21:41:16 2018 New Revision: 333041 URL: https://svnweb.freebsd.org/changeset/base/333041 Log: This change re-arranges the fields within the tcp-pcb so that they are more in order of cache line use as one passes through the tcp_input/output paths (non-errors most

svn commit: r333040 - head/sys/arm64/rockchip/clk

2018-04-26 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 26 21:40:05 2018 New Revision: 333040 URL: https://svnweb.freebsd.org/changeset/base/333040 Log: arm64: rockchip: RK3328 CRU Add gpio gates Add the gates for the gpio controller in order to properly support them. Modified:

svn commit: r333039 - head/sys/arm64/rockchip/clk

2018-04-26 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 26 21:38:59 2018 New Revision: 333039 URL: https://svnweb.freebsd.org/changeset/base/333039 Log: arm64: rockchip: Rk3328 CRU Fix some offset for gates Some offset of some clock gates where wrong, correct them so we can use thoses clocks. Pointy Hat to:

svn commit: r333038 - in head: share/man/man4 sys/arm64/rockchip sys/conf

2018-04-26 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 26 21:37:38 2018 New Revision: 333038 URL: https://svnweb.freebsd.org/changeset/base/333038 Log: arm64: rockchip: Add pinctrl driver Add pinctrl driver for RockChip SoCs. This device manage which function to set on which pin and some other properties like pull

svn commit: r333037 - in head: share/man/man4 sys/arm64/rockchip sys/conf

2018-04-26 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 26 21:35:04 2018 New Revision: 333037 URL: https://svnweb.freebsd.org/changeset/base/333037 Log: arm64: rockchip: Add GRF driver RockChip GRF (General Register Files) is present on almost all RockChip SoC and is used to control some area of the system like

svn commit: r333036 - head/sys/i386/include

2018-04-26 Thread Konstantin Belousov
Author: kib Date: Thu Apr 26 21:07:45 2018 New Revision: 333036 URL: https://svnweb.freebsd.org/changeset/base/333036 Log: Fix move of the frame to the normal stack for interrupts occuring from the vm86 mode. Submitted by: jhb Modified: head/sys/i386/include/asmacros.h Modified:

svn commit: r333035 - head/sys/arm/conf

2018-04-26 Thread Marcin Wojtas
Author: mw Date: Thu Apr 26 19:23:37 2018 New Revision: 333035 URL: https://svnweb.freebsd.org/changeset/base/333035 Log: Add Marvell ArmadaXP and Armada38X to GENERIC config Include source files and drivers for Marvell ArmadaXP and Armada38X in GENERIC kernel config. Submitted by:

svn commit: r333034 - head/sys/x86/x86

2018-04-26 Thread Konstantin Belousov
Author: kib Date: Thu Apr 26 19:23:19 2018 New Revision: 333034 URL: https://svnweb.freebsd.org/changeset/base/333034 Log: Fix spelling: Appolo -> Apollo [1]. The APL31 NDA errata is APL30 public errata. Add the reference and provide the description [2]. Noted by: emaste [2],

svn commit: r333033 - head/sys/arm/conf

2018-04-26 Thread Marcin Wojtas
Author: mw Date: Thu Apr 26 19:15:39 2018 New Revision: 333033 URL: https://svnweb.freebsd.org/changeset/base/333033 Log: Add support for gpioled on ARMADA38X based boards This patch adds support for gpio and gpioled into ARMADA38X kernel config. Reviewed by: andrew Obtained from:

svn commit: r333032 - head/sys/arm/mv

2018-04-26 Thread Marcin Wojtas
Author: mw Date: Thu Apr 26 19:10:18 2018 New Revision: 333032 URL: https://svnweb.freebsd.org/changeset/base/333032 Log: Replace FDT tree parsing with gpio_map_gpios implementation in mv_gpio driver This patch replaces in-driver FDT parsing, which was needed for setting initial values

svn commit: r333031 - in head/sys: arm/mv dts dts/arm

2018-04-26 Thread Marcin Wojtas
Author: mw Date: Thu Apr 26 19:00:48 2018 New Revision: 333031 URL: https://svnweb.freebsd.org/changeset/base/333031 Log: Update mv_gpio driver to new FreeBSD API This patch implements and exports functions described in gpio_if.m file. It also uses new gpiobus_attach_bus function

svn commit: r333030 - in head/sys/dev/cxgbe: . tom

2018-04-26 Thread Navdeep Parhar
Author: np Date: Thu Apr 26 19:00:35 2018 New Revision: 333030 URL: https://svnweb.freebsd.org/changeset/base/333030 Log: cxgbe(4): Break up alloc_tid_tabs and move the atid routines to the base NIC driver. The atid services will be used by new features (hashfilters and inline TLS) that do

svn commit: r333029 - head/lib/libsysdecode

2018-04-26 Thread Ed Maste
Author: emaste Date: Thu Apr 26 18:54:00 2018 New Revision: 333029 URL: https://svnweb.freebsd.org/changeset/base/333029 Log: libsysdecode: support errno and syscalls for arm64 Linux Sponsored by: Turing Robotic Industries Inc. Modified: head/lib/libsysdecode/errno.c

svn commit: r333028 - head/sys/arm64/linux

2018-04-26 Thread Ed Maste
Author: emaste Date: Thu Apr 26 18:46:38 2018 New Revision: 333028 URL: https://svnweb.freebsd.org/changeset/base/333028 Log: arm64 linuxulator: add generated sysent files From syscalls.master in r333027 Sponsored by: Turing Robotic Industries Inc. Added:

svn commit: r333027 - head/sys/arm64/linux

2018-04-26 Thread Ed Maste
Author: emaste Date: Thu Apr 26 18:38:59 2018 New Revision: 333027 URL: https://svnweb.freebsd.org/changeset/base/333027 Log: Add arm64 Linux syscall table This is the first step (after the recent refactoring of some common code) to supporting the Linuxulator on arm64. Reviewed by:

svn commit: r333026 - head/sys/x86/x86

2018-04-26 Thread Konstantin Belousov
Author: kib Date: Thu Apr 26 18:24:31 2018 New Revision: 333026 URL: https://svnweb.freebsd.org/changeset/base/333026 Log: Handle Appolo Lake errata APL31. If the workaround is activated, always send IPI for wake up, not rely on the write to the monitor line. This fixes Appolo Lake

svn commit: r333025 - head/sys/x86/x86

2018-04-26 Thread Konstantin Belousov
Author: kib Date: Thu Apr 26 18:12:40 2018 New Revision: 333025 URL: https://svnweb.freebsd.org/changeset/base/333025 Log: Some style and minor code improvements for idle selection. Use designated initializers for the idlt_tlb elements. Remove strstr() use, add flag field to detect

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

2018-04-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Apr 26 17:36:48 2018 New Revision: 333024 URL: https://svnweb.freebsd.org/changeset/base/333024 Log: Erm, fix typo. MFC after:2 weeks Modified: head/share/man/man4/umodem.4 Modified: head/share/man/man4/umodem.4

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

2018-04-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Apr 26 17:36:31 2018 New Revision: 333023 URL: https://svnweb.freebsd.org/changeset/base/333023 Log: Bump .Dd. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/share/man/man4/cdce.4 Modified: head/share/man/man4/cdce.4

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

2018-04-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Apr 26 17:34:53 2018 New Revision: 333022 URL: https://svnweb.freebsd.org/changeset/base/333022 Log: Clarify which USB specs are supported by cdce(4) and umodem(4). Discussed with: hselasky@ MFC after:2 weeks Sponsored by: The FreeBSD Foundation

svn commit: r333021 - head/sys/sys

2018-04-26 Thread Sean Bruno
Author: sbruno Date: Thu Apr 26 17:32:35 2018 New Revision: 333021 URL: https://svnweb.freebsd.org/changeset/base/333021 Log: Tigthen up kern_prefetch.h includes. The DMAP check was not committed in here with HPTS so these includes aren't necessary. Comments from rrs: Yeah I had those

svn commit: r333020 - head/share/misc

2018-04-26 Thread Sean Chittenden
Author: seanc (ports committer) Date: Thu Apr 26 17:13:58 2018 New Revision: 333020 URL: https://svnweb.freebsd.org/changeset/base/333020 Log: Add myself back to the ranks of being mentored Approved by: swills (mentor) Modified: head/share/misc/committers-ports.dot Modified:

svn commit: r333019 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/smartpqi sys/modules sys/modules/smartpqi

2018-04-26 Thread Sean Bruno
Author: sbruno Date: Thu Apr 26 16:59:06 2018 New Revision: 333019 URL: https://svnweb.freebsd.org/changeset/base/333019 Log: martpqi(4): - Microsemi SCSI driver for PQI controllers. - Found on newer model HP servers. - Restrict to AMD64 only as per developer request. The driver

svn commit: r333018 - stable/11/sys/dev/gpio

2018-04-26 Thread Ian Lepore
Author: ian Date: Thu Apr 26 16:40:59 2018 New Revision: 333018 URL: https://svnweb.freebsd.org/changeset/base/333018 Log: MFC r308767 by br: Make gpiobus early driver at BUS_PAS_BUS. The gpiobus driver is attached explicitly and generally should be at the same pass as its parent.

Re: svn commit: r333017 - head

2018-04-26 Thread Warner Losh
On Thu, Apr 26, 2018 at 7:47 AM, Ed Maste wrote: > On 26 April 2018 at 09:18, Ed Maste wrote: > > > > Log: > > Correct r307825 BOOTSTRAPPING test for unsupported upgrade > > > > __FreeBSD_version has five digits after the major number, but the min > >

Re: svn commit: r333010 - head/sys/mips/mips

2018-04-26 Thread Ian Lepore
On Thu, 2018-04-26 at 19:01 +0800, Li-Wen Hsu wrote: > On Thu, Apr 26, 2018 at 7:59 AM, Ian Lepore wrote: > > > > On Wed, 2018-04-25 at 19:46 +, Li-Wen Hsu wrote: > > > > > > Author: lwhsu (ports committer) > > > Date: Wed Apr 25 19:46:39 2018 > > > New Revision: 333010 >

Re: svn commit: r333017 - head

2018-04-26 Thread Ed Maste
On 26 April 2018 at 09:18, Ed Maste wrote: > > Log: > Correct r307825 BOOTSTRAPPING test for unsupported upgrade > > __FreeBSD_version has five digits after the major number, but the min > versions in the test had an extra 0 (so the test was always false). With the test

svn commit: r333017 - head

2018-04-26 Thread Ed Maste
Author: emaste Date: Thu Apr 26 13:18:24 2018 New Revision: 333017 URL: https://svnweb.freebsd.org/changeset/base/333017 Log: Correct r307825 BOOTSTRAPPING test for unsupported upgrade __FreeBSD_version has five digits after the major number, but the min versions in the test had an extra

svn commit: r333016 - head/sys/netipsec

2018-04-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 26 12:23:31 2018 New Revision: 333016 URL: https://svnweb.freebsd.org/changeset/base/333016 Log: Merge r1.22-1.23 from NetBSD: Don't assume M_PKTHDR is set only on the first mbuf of the chain. The check is replaced by (m1 != m), which is equivalent to the

Re: svn commit: r333010 - head/sys/mips/mips

2018-04-26 Thread Li-Wen Hsu
On Thu, Apr 26, 2018 at 7:59 AM, Ian Lepore wrote: > On Wed, 2018-04-25 at 19:46 +, Li-Wen Hsu wrote: >> Author: lwhsu (ports committer) >> Date: Wed Apr 25 19:46:39 2018 >> New Revision: 333010 >> URL: https://svnweb.freebsd.org/changeset/base/333010 >> >> Log: >> Fix

svn commit: r333015 - head/sys/net

2018-04-26 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 26 08:58:27 2018 New Revision: 333015 URL: https://svnweb.freebsd.org/changeset/base/333015 Log: Add network device event for priority code point, PCP, changes. When the PCP is changed for either a VLAN network interface or when prio tagging is enabled for