svn commit: r318231 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:34:43 2017 New Revision: 318231 URL: https://svnweb.freebsd.org/changeset/base/318231 Log: [iwm] Revert "if_iwm - SCAN_ABORT_UMAC response doesn't use a wide id" This reverts commit cef47a9cbb0a3ce5f18369fed9403d2764884bc2. Obtained from:drago

svn commit: r318232 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:35:20 2017 New Revision: 318232 URL: https://svnweb.freebsd.org/changeset/base/318232 Log: [iwm] Recognize IWM_FW_PAGING_BLOCK_CMD wide cmd response correctly. Obtained from:dragonflybsd.git ef688cebb9b29b67f7a011846589971987949e0d Modified: he

svn commit: r318230 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:33:55 2017 New Revision: 318230 URL: https://svnweb.freebsd.org/changeset/base/318230 Log: [iwm] Fix iwm_mvm_send_cmd_pdu(_status) declarations. Make id a uint32_t. * This fixes cases where the group id of wide commands got lost, e.g. this happened to

svn commit: r318229 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:33:07 2017 New Revision: 318229 URL: https://svnweb.freebsd.org/changeset/base/318229 Log: [iwm] Adjust if_iwm_sta.h prototypes, don't pass iwm_node to rm_sta(). * Since a RUN -> INIT/SCAN transition seems to immediately destroy the ieee80211_node for

svn commit: r318228 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:31:57 2017 New Revision: 318228 URL: https://svnweb.freebsd.org/changeset/base/318228 Log: [iwm] Make powersaving more similar to Linux iwlwifi behaviour. * Add a per-vap ps_disabled flag, and use it for a workaround which fixes an association issue wh

svn commit: r318227 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:30:50 2017 New Revision: 318227 URL: https://svnweb.freebsd.org/changeset/base/318227 Log: [iwm] Clean up if_iwm_power.c a bit. Fix iwm_power_scheme debug print. Obtained from:dragonflybsd.git 52c3adbee676d8558065618e5ad694ea5c6697e0 Modified:

svn commit: r318226 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:30:06 2017 New Revision: 318226 URL: https://svnweb.freebsd.org/changeset/base/318226 Log: [iwm] Switch arguments from iwm_node* to iwm_vap* in if_iwm_power.c. * Power management handling is per-vap, not per-node, so we should pass the iwm_vap in these

svn commit: r318225 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:21:03 2017 New Revision: 318225 URL: https://svnweb.freebsd.org/changeset/base/318225 Log: [iwm] Already call iwm_mvm_power_update_mac() during SCAN<->AUTH paths. * Otherwise we would never update powersaving settings until we complete an association,

svn commit: r318224 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:16:11 2017 New Revision: 318224 URL: https://svnweb.freebsd.org/changeset/base/318224 Log: [iwm] Refuse connection to APs with beacon interval < 16. Obtained from:dragonflybsd.git aba448de727e9b122adadeb36fd00a8ad6018d4f Modified: head/sys/dev/

svn commit: r318223 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:05:34 2017 New Revision: 318223 URL: https://svnweb.freebsd.org/changeset/base/318223 Log: [iwm] Handle AUTH->SCAN/INIT and ASSOC->SCAN/INIT better * Tear down the relevant firmware state (i.e. the station, the vif binding) in these transition cases.

svn commit: r318222 - in head/sys: conf dev/iwm modules/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 06:03:23 2017 New Revision: 318222 URL: https://svnweb.freebsd.org/changeset/base/318222 Log: [iwm] Factor out firmware station handling into if_iwm_sta.c. * This adds iwm_mvm_rm_sta(), which will be used to tear down firmware state for better/cleaner iwm

svn commit: r318221 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:53:28 2017 New Revision: 318221 URL: https://svnweb.freebsd.org/changeset/base/318221 Log: [iwm] Deduplicate code in iwm_auth() from an if condition. Obtained from:dragonflybsd.git 03c6e6970115727c9d39f9358e0500ab4f4634cd Modified: head/sys/dev

svn commit: r318220 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:51:50 2017 New Revision: 318220 URL: https://svnweb.freebsd.org/changeset/base/318220 Log: [iwm] No need for iwm_assoc() in AUTH->ASSOC transition. * Hence no need to keep stuff in separate iwm_assoc() function, just inline the stuff into iwm_newstate(

svn commit: r318219 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:50:38 2017 New Revision: 318219 URL: https://svnweb.freebsd.org/changeset/base/318219 Log: [iwm] Properly implement iwm_wme_update callback function. * Inspired by iwn(4) and Linux iwlwifi. * Read wme parameters into a buffer within struct iwm_vap in

svn commit: r318218 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:49:24 2017 New Revision: 318218 URL: https://svnweb.freebsd.org/changeset/base/318218 Log: [iwm] Process multiple frames per RX buffer. * Factor out iwm_handle_rxb() function from iwm_notif_intr(). * Removing the IWM_FH_RCSR_CHNL0_RX_CONFIG_SINGLE_FRA

svn commit: r318217 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:30:01 2017 New Revision: 318217 URL: https://svnweb.freebsd.org/changeset/base/318217 Log: [iwm] Change UCODE_TLV_API #define-s from bitmasks to indexes. * Fixes oversight from commit 757eecf0e6c92745aa2eee95811e573c8300850e. fw_has_api now uses the is

svn commit: r318216 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:28:49 2017 New Revision: 318216 URL: https://svnweb.freebsd.org/changeset/base/318216 Log: [iwm] Sync iwm_read_firmware()'s loop to iwlwifi's code. Obtained from:dragonflybsd.git d1c10ccfcf2d6d2a664f17197add0b4f9181 Modified: head/sys/dev/i

svn commit: r318215 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:22:29 2017 New Revision: 318215 URL: https://svnweb.freebsd.org/changeset/base/318215 Log: [iwm] change the check for ADD_STA status, use IWM_ADD_STA_STATUS_MASK. Obtained from:dragonflybsd.git 74d41163ddac72b0d7ea7b7873d53fe134723a12 Modified:

svn commit: r318214 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:21:50 2017 New Revision: 318214 URL: https://svnweb.freebsd.org/changeset/base/318214 Log: [iwm] Sanity check channel for IEEE80211_CHAN_ANYC in if_iwm_mac_ctxt.c. * This avoids panicing in some broken vap state handling cases. Obtained from:d

svn commit: r318213 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:21:02 2017 New Revision: 318213 URL: https://svnweb.freebsd.org/changeset/base/318213 Log: [if_iwm] Get rid of another usage of the IWM_DEFAULT_MACID/_COLOR constant. Obtained from:dragonflybsd.git c009badecf7b1389cd86adde9fd35f6113c75b5b Modifie

svn commit: r318212 - head/sys/dev/iwm

2017-05-11 Thread Adrian Chadd
Author: adrian Date: Fri May 12 05:19:08 2017 New Revision: 318212 URL: https://svnweb.freebsd.org/changeset/base/318212 Log: [if_iwm] Partly sync if_iwm_binding.c to Linux iwlwifi code. * Store macid and color values in struct iwm_vap, to avoid hardcoded constants a bit. * Add iwm

svn commit: r318211 - head/contrib/netbsd-tests/lib/libc/ssp

2017-05-11 Thread Ngie Cooper
Author: ngie Date: Fri May 12 05:17:49 2017 New Revision: 318211 URL: https://svnweb.freebsd.org/changeset/base/318211 Log: Fix up previous commit - Apply the logic to the FreeBSD block - Fix a typo with the getconf(1) call that I would have caught, were it not for the fact that I got

svn commit: r318210 - head/contrib/netbsd-tests/lib/libc/ssp

2017-05-11 Thread Ngie Cooper
Author: ngie Date: Fri May 12 05:06:48 2017 New Revision: 318210 URL: https://svnweb.freebsd.org/changeset/base/318210 Log: ssp_test:read:: query the value of MAXPATHLEN via getconf(1) In the event the value of PATH_MAX was changed, the assumption that MAXPATHLEN is 1024 (and hence the bu

svn commit: r318209 - head/sys/dev/dpaa

2017-05-11 Thread Justin Hibbits
Author: jhibbits Date: Fri May 12 04:10:02 2017 New Revision: 318209 URL: https://svnweb.freebsd.org/changeset/base/318209 Log: Use UMA_ALIGN_PTR to specify pointer alignment Suggested by: jhb Modified: head/sys/dev/dpaa/if_dtsec_rm.c Modified: head/sys/dev/dpaa/if_dtsec_rm.c ==

svn commit: r318202 - head/contrib/ipfilter/lib

2017-05-11 Thread Cy Schubert
Author: cy Date: Fri May 12 01:09:24 2017 New Revision: 318202 URL: https://svnweb.freebsd.org/changeset/base/318202 Log: Add missing linefeed in debug output. Modified: head/contrib/ipfilter/lib/printpoolnode.c Modified: head/contrib/ipfilter/lib/printpoolnode.c

svn commit: r318194 - head/share/mk

2017-05-11 Thread Simon J. Gerraty
Author: sjg Date: Thu May 11 19:49:22 2017 New Revision: 318194 URL: https://svnweb.freebsd.org/changeset/base/318194 Log: Tell bmake (meta mode) to ignore changes to /usr/local/etc/libmap.d/* Differential Revision:D10685 Reviewed by: bdrewery Modified: head/share/mk/local.met

svn commit: r318193 - head/sys/boot/efi/loader

2017-05-11 Thread Mark Johnston
Author: markj Date: Thu May 11 18:53:28 2017 New Revision: 318193 URL: https://svnweb.freebsd.org/changeset/base/318193 Log: Set the right variable when overriding the default console speed. MFC after:1 week Modified: head/sys/boot/efi/loader/main.c Modified: head/sys/boot/efi/loade

Re: svn commit: r318171 - head/sys/dev/dpaa

2017-05-11 Thread John Baldwin
On Thursday, May 11, 2017 03:47:58 AM Justin Hibbits wrote: > Author: jhibbits > Date: Thu May 11 03:47:58 2017 > New Revision: 318171 > URL: https://svnweb.freebsd.org/changeset/base/318171 > > Log: > Fix uma_zcreate() align argument, now that the constraint is asserted. > > The alignment

svn commit: r318191 - head/sys/kern

2017-05-11 Thread Mark Johnston
Author: markj Date: Thu May 11 17:03:45 2017 New Revision: 318191 URL: https://svnweb.freebsd.org/changeset/base/318191 Log: Let ptracestop() suspend threads sleeping in an SBDRY section. When a thread enters ptracestop(), for example because it had received SIGSTOP from ptrace(PT_ATTACH)

svn commit: r318190 - head/release/scripts

2017-05-11 Thread Glen Barber
Author: gjb Date: Thu May 11 16:37:29 2017 New Revision: 318190 URL: https://svnweb.freebsd.org/changeset/base/318190 Log: Update release/scripts/atlas-upload.sh to account for API changes made recently by Atlas Hashicorp. The data returned from GET and POST requests has changed, which caus

svn commit: r318189 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-05-11 Thread Alan Somers
Author: asomers Date: Thu May 11 16:26:56 2017 New Revision: 318189 URL: https://svnweb.freebsd.org/changeset/base/318189 Log: vdev_geom may associate multiple vdevs per g_consumer vdev_geom.c currently uses the g_consumer's private field to point to a vdev_t. That way, a GEOM event can c

svn commit: r318188 - in head/sys/dev: mpr mps

2017-05-11 Thread Scott Long
Author: scottl Date: Thu May 11 15:19:04 2017 New Revision: 318188 URL: https://svnweb.freebsd.org/changeset/base/318188 Log: Improve error messages during command timeout for the mpr and mps drivers. Sponsored by: Netflix Modified: head/sys/dev/mpr/mpr_sas.c head/sys/dev/mps/mps_sas

svn commit: r318185 - in head: lib/libmt usr.bin/mt

2017-05-11 Thread Kenneth D. Merry
Author: ken Date: Thu May 11 13:46:30 2017 New Revision: 318185 URL: https://svnweb.freebsd.org/changeset/base/318185 Log: Add LTO-8 density codes. lib/libmt/mtlib.c: Add the LTO-8 density code to the density table in libmt. usr.bin/mt/mt.1: Add the LTO-8 density code,

Re: svn commit: r318161 - head/contrib/bmake

2017-05-11 Thread Renato Botelho
On 10/05/17 19:35, Ngie Cooper wrote: > On Wed, May 10, 2017 at 3:31 PM, Ngie Cooper wrote: >> On Wed, May 10, 2017 at 3:24 PM, Simon J. Gerraty wrote: >>> Author: sjg >>> Date: Wed May 10 22:24:09 2017 >>> New Revision: 318161 >>> URL: https://svnweb.freebsd.org/changeset/base/318161 >>> >>> Log

svn commit: r318182 - head/share/man/man7

2017-05-11 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 11 08:39:55 2017 New Revision: 318182 URL: https://svnweb.freebsd.org/changeset/base/318182 Log: Improve build(7): add missing "buildkernel" and "installkernel" to the example, change the architectures to something more common, and improve description of defaults

svn commit: r318181 - head/contrib/libarchive/cpio/test

2017-05-11 Thread Ngie Cooper
Author: ngie Date: Thu May 11 08:22:01 2017 New Revision: 318181 URL: https://svnweb.freebsd.org/changeset/base/318181 Log: cpio/tests/test_option_lz4: fix a use after free in the failure case This change will be upstreamed to the libarchive project. MFC after:6 days MFC with:

svn commit: r318180 - head/tests/sys/aio

2017-05-11 Thread Ngie Cooper
Author: ngie Date: Thu May 11 08:06:46 2017 New Revision: 318180 URL: https://svnweb.freebsd.org/changeset/base/318180 Log: Mark all md tests as requiring unsafe AIO in order to function These tests have been flapping (failing<->passing) on Jenkins for months. It passes reliably for me if

svn commit: r318179 - head/usr.bin/procstat

2017-05-11 Thread Ngie Cooper
Author: ngie Date: Thu May 11 07:58:04 2017 New Revision: 318179 URL: https://svnweb.freebsd.org/changeset/base/318179 Log: procstat(1): also reference icmp(4) and sctp(4) This was missed in the previous commit by accident. MFC after:3 weeks MFC with: r318178 Sponsored by:

svn commit: r318178 - head/usr.bin/procstat

2017-05-11 Thread Ngie Cooper
Author: ngie Date: Thu May 11 07:55:38 2017 New Revision: 318178 URL: https://svnweb.freebsd.org/changeset/base/318178 Log: procstat(1): document all possible `PRO` (network protocol) values Reference the appropriate section 4 manpages for networking protocols. MFC after:3 weeks