svn commit: r354210 - head/sys/dev/cxgbe/common

2019-10-30 Thread Navdeep Parhar
Author: np Date: Thu Oct 31 00:35:26 2019 New Revision: 354210 URL: https://svnweb.freebsd.org/changeset/base/354210 Log: cxgbe(4): Use correct size while converting lpacaps32 to native endianness. Modified: head/sys/dev/cxgbe/common/t4_hw.c Modified: head/sys/dev/cxgbe/common/t4_hw.c

svn commit: r354207 - head/sys/net

2019-10-30 Thread Eric Joyner
Author: erj Date: Wed Oct 30 20:45:12 2019 New Revision: 354207 URL: https://svnweb.freebsd.org/changeset/base/354207 Log: iflib: cleanup memory leaks on driver detach From Jake: The iflib stack failed to release all of the memory allocated under M_IFLIB during device detach.

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

2019-10-30 Thread Ilya Bakulin
Author: kibab Date: Wed Oct 30 20:43:27 2019 New Revision: 354206 URL: https://svnweb.freebsd.org/changeset/base/354206 Log: Use the new cam_sim_alloc_dev function to properly initialize SIM Using cam_sim_alloc_dev() allows to properly set sim_dev field so that sdiob(4) can attach to the

svn commit: r354205 - head/sys/dev/ow

2019-10-30 Thread Warner Losh
Author: imp Date: Wed Oct 30 20:08:10 2019 New Revision: 354205 URL: https://svnweb.freebsd.org/changeset/base/354205 Log: Remove redundant hw sysctl declaration. gcc CI complains, but clang doesn't. Modified: head/sys/dev/ow/ow.c Modified: head/sys/dev/ow/ow.c

svn commit: r354204 - head/sys/conf

2019-10-30 Thread Warner Losh
Author: imp Date: Wed Oct 30 19:53:46 2019 New Revision: 354204 URL: https://svnweb.freebsd.org/changeset/base/354204 Log: Move all the sys/dev/[a-j]* that are common to files.x86 All these device entries are common between the two files. Move them to files.x86. Also sort entries from

svn commit: r354203 - head/sys/conf

2019-10-30 Thread Warner Losh
Author: imp Date: Wed Oct 30 19:53:37 2019 New Revision: 354203 URL: https://svnweb.freebsd.org/changeset/base/354203 Log: Remove duplicate lines. Modified: head/sys/conf/files.x86 Modified: head/sys/conf/files.x86

svn commit: r354201 - in head/sys: contrib/dev/iwm modules/iwmfw modules/iwmfw/iwm9000fw modules/iwmfw/iwm9260fw

2019-10-30 Thread Mark Johnston
Author: markj Date: Wed Oct 30 19:36:50 2019 New Revision: 354201 URL: https://svnweb.freebsd.org/changeset/base/354201 Log: Add firmware images for Intel 9000-series wifi chips. This is in preparation for adding the corresponding support to iwm(4). Version 46 is the latest but

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

2019-10-30 Thread Andrew Turner
Author: andrew Date: Wed Oct 30 17:32:35 2019 New Revision: 354193 URL: https://svnweb.freebsd.org/changeset/base/354193 Log: Set the userspace execute never bit on kernel mappings. Arm64 allows us to create execute only mappings. To make sure userspace is unable to accidentally execute

svn commit: r354194 - head/sys/vm

2019-10-30 Thread Konstantin Belousov
Author: kib Date: Wed Oct 30 17:33:17 2019 New Revision: 354194 URL: https://svnweb.freebsd.org/changeset/base/354194 Log: vm_page_wire_mapped: explain why failure does not affect correctness. Reviewed by: markj (previous version) Sponsored by: The FreeBSD Foundation Differential

svn commit: r354192 - head/sys/conf

2019-10-30 Thread Warner Losh
Author: imp Date: Wed Oct 30 17:18:11 2019 New Revision: 354192 URL: https://svnweb.freebsd.org/changeset/base/354192 Log: Make hyperv keyboard work again. r351049 bogusly deleted these lines from files.amd64 but failed to add them to files.x86. Since this works on i386, add them to

svn commit: r354183 - head/sys/dev/ow

2019-10-30 Thread Andriy Gapon
Author: avg Date: Wed Oct 30 15:36:41 2019 New Revision: 354183 URL: https://svnweb.freebsd.org/changeset/base/354183 Log: ow(4): clean up stray white space MFC after:2 weeks Modified: head/sys/dev/ow/ow.c Modified: head/sys/dev/ow/ow.c

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

2019-10-30 Thread Justin Hibbits
Author: jhibbits Date: Wed Oct 30 15:30:40 2019 New Revision: 354182 URL: https://svnweb.freebsd.org/changeset/base/354182 Log: ARM64: Treat alignment faults as bus errors Summary: ARM64 currently treats all data abort exceptions as page faults. This can cause infinite loops on

svn commit: r354181 - head/sys/dev/ow

2019-10-30 Thread Andriy Gapon
Author: avg Date: Wed Oct 30 15:26:41 2019 New Revision: 354181 URL: https://svnweb.freebsd.org/changeset/base/354181 Log: ow(4): protocol timings can now be changed as sysctl-s / tunables I limited potentially infinite timings by 960 us based on a footnote on page 38 of Maxim Integrated

svn commit: r354180 - head/sys/dev/ow

2019-10-30 Thread Andriy Gapon
Author: avg Date: Wed Oct 30 15:15:53 2019 New Revision: 354180 URL: https://svnweb.freebsd.org/changeset/base/354180 Log: ow(4): increase regular mode recovery time, t_rec, to 15 us Previously we used the minimal value of 1 us and it was really tight. Application Note 3829 has a table

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

2019-10-30 Thread Andrew Turner
Author: andrew Date: Wed Oct 30 14:05:50 2019 New Revision: 354179 URL: https://svnweb.freebsd.org/changeset/base/354179 Log: Allow exceptions to be masked when in userspace We may want to mask exceptions when in userspace. This was previously impossible as threads are created with all

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

2019-10-30 Thread Andrew Turner
Author: andrew Date: Wed Oct 30 13:45:40 2019 New Revision: 354178 URL: https://svnweb.freebsd.org/changeset/base/354178 Log: Allow the userspace ID register fields to be read from the kernel To allow consistent values to be used in both the kernel and userspace create a function for

svn commit: r354177 - in head/sys: arm64/arm64 dev/hwpmc

2019-10-30 Thread Andrew Turner
Author: andrew Date: Wed Oct 30 12:47:00 2019 New Revision: 354177 URL: https://svnweb.freebsd.org/changeset/base/354177 Log: Use a lowercase name for arm64 special registers so they don't conflict with macros of the same name. Sponsored by: DARPA, AFRL Modified:

svn commit: r354176 - head/sys/arm64/include

2019-10-30 Thread Andrew Turner
Author: andrew Date: Wed Oct 30 12:33:36 2019 New Revision: 354176 URL: https://svnweb.freebsd.org/changeset/base/354176 Log: Move the MRS instruction decode macros to armreg.h These instructions are used to access the registers described in armreg.h, and will be used in a future change

svn commit: r354175 - in head/sys: arm64/arm64 arm64/include conf

2019-10-30 Thread Andrew Turner
Author: andrew Date: Wed Oct 30 10:51:24 2019 New Revision: 354175 URL: https://svnweb.freebsd.org/changeset/base/354175 Log: Update the debug monitor handling to work after userspace has started The debug monitor register state is now stored in a struct and updated when required.

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

2019-10-30 Thread Andrew Turner
Author: andrew Date: Wed Oct 30 10:42:52 2019 New Revision: 354174 URL: https://svnweb.freebsd.org/changeset/base/354174 Log: Use an array of handlers in the data and instruction aborts Previously we would call data_abort on all data and instruction aborts however this is incorrect for

svn commit: r354173 - head/sys/crypto/armv8

2019-10-30 Thread Andrew Turner
Author: andrew Date: Wed Oct 30 10:41:10 2019 New Revision: 354173 URL: https://svnweb.freebsd.org/changeset/base/354173 Log: Fix the armv8 crypto driver after r354170. Sponsored by: DARPA, AFRL Modified: head/sys/crypto/armv8/armv8_crypto.c Modified:

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

2019-10-30 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 30 10:16:28 2019 New Revision: 354172 URL: https://svnweb.freebsd.org/changeset/base/354172 Log: There's nothing architecture specific in "options STATS"; move it from sys/amd64/conf/NOTES to sys/conf/NOTES. Suggested by: jhb@ Sponsored by: Klara Inc,

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

2019-10-30 Thread Andrew Turner
Author: andrew Date: Wed Oct 30 10:13:14 2019 New Revision: 354171 URL: https://svnweb.freebsd.org/changeset/base/354171 Log: Add two files missed in r354170 Sponsored by: DARPA, AFRL Modified: head/sys/arm64/arm64/identcpu.c head/sys/arm64/arm64/machdep.c Modified:

svn commit: r354170 - in head/sys: arm64/arm64 arm64/include libkern

2019-10-30 Thread Andrew Turner
Author: andrew Date: Wed Oct 30 10:06:57 2019 New Revision: 354170 URL: https://svnweb.freebsd.org/changeset/base/354170 Log: Rename the macros to extract a single arm64 ID field. Because of the previous naming scheme the old ID_AA64PFR0_EL1 macro collided with a potential macro for the