ƒ´\271748 169 245 223 1126 242 329 143 210 208 199 133 184 186 167 193 284 477 935 174 202 179 190 2964 262 455 372 1176 358 229 282 291 229 491 351 571 363 213 596 220 258 234 410 264 327 431 418 209 387 736 223 325 274 323 1141 138 182 138 138 138 138 138 138 927 138 138 138 138 150 138 1019 138 138 228 182 138 138 138 138 1017 138 138 138 138 138 138 138 138 547 138 138 138 138 169 2009 146 581 394 214 167 1016 165 220 138 126 138 224 211 145 199 386 138 138 138 138 138 138 138 118 138 138 138 265 168 260 800 200 226 145 402 393 305 271 428 204 1341 242 215 146 131 262 955 769 266 442 137 203 210 106 212 611 586 586 234 195 179 478 170 307 238 1425 245 149 218 472 124 179 303 301 218 130 K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-18T09:21:29.612969Z K 7 svn:log V 152 MFC r271644: Add quirks to disable READ CAPACITY (16) for PNY USB 3.0 Flash Drives. Submitted by: Sean Fagan Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-18T09:22:37.109657Z K 7 svn:log V 130 MFC r271644: Add quirks to disable READ CAPACITY (16) for PNY USB 3.0 Flash Drives. Submitted by: Sean Fagan END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-09-18T09:49:49.376682Z K 7 svn:log V 1029 MFC r271643: Chunk IDs are 8 bit entities, not 16 bit. Thanks to Peter Kasting from Google for drawing my attention to it. MFC r271665: The MTU is handled as a 32-bit entity within the SCTP stack. This was reported by Peter Kasting from Google. MFC r271670: Make a type conversion explicit. When compiling this code on Windows as part of the SCTP userland stack, this fixes a warning reported by Peter Kasting from Google. MFC r271672: Small cleanup which addresses a warning regaring the truncation of a 64-bit entity to a 32-bit entity. This issue was reported by Peter Kasting from Google. MFC r271673: Use a consistent type for the number of HMAC algorithms. This fixes a bug which resulted in a warning on the userland stack, when compiled on Windows. Thanks to Peter Kasting from Google for reporting the issue and provinding a potential fix. MFC r271674: Add a explict cast to silence a warning when building the userland stack on Windows. This issue was reported by Peter Kasting from Google. Approved by: re (kib) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T09:54:57.076917Z K 7 svn:log V 145 Add if_inc_counter(), a generic method to update ifnet(9) counter w/o dereferencing the struct. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T10:01:56.639094Z K 7 svn:log V 232 While not too late rename if_get_counter_compat() to if_get_counter_default(). The compat counters will go away, but the function will remain in its place, and in all places where it is going to be called. Discussed with: melifaro END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-18T10:33:23.515510Z K 7 svn:log V 49 Fix typos. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-09-18T10:46:51.643171Z K 7 svn:log V 117 Remove unused ZFS ARC functions * arc_data_buf_alloc * arc_data_buf_free MFC after: 1 week Sponsored by: Multiplay END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-18T11:52:28.287372Z K 7 svn:log V 113 MFC r271571: Fix two small nits in ctl.conf(5). Approved by: re (glebius) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-09-18T12:20:19.732614Z K 7 svn:log V 101 vt(4): Fix out-of-bounds array access in VT_ACTIVATE ioctl handling CID: 1229964 MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-18T13:00:03.208085Z K 7 svn:log V 38 Wrap long lines introduced in r268227 END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-09-18T13:24:06.561658Z K 7 svn:log V 87 vt(4): Use strncpy() to copy into a fixed-size buffer CID: 1230007 MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-18T13:39:47.875673Z K 7 svn:log V 92 Add missing links to taskqueue(9). MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 des K 8 svn:date V 27 2014-09-18T13:53:39.676552Z K 7 svn:log V 75 MFH (r271255): fix parsing of ipv6 nameserver lines Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-18T13:56:32.376130Z K 7 svn:log V 99 Add missing link to TIMEOUT_TASK_INIT(9). MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-18T13:59:36.352045Z K 7 svn:log V 188 Switch to text mode in UEFI boot The loader previously failed to display on MacBooks and other systems where the UEFI firmware remained in graphics mode. Submitted by: Rafael Espíndola END K 10 svn:author V 4 will K 8 svn:date V 27 2014-09-18T14:02:25.828598Z K 7 svn:log V 383 Fix an assert to tolerate spare parents with more than 2 children. This can occur if a spare is being spared, which would yield three children: the original pool drive, the previous spare, and the spare that is replacing it. MFC after: 1 week Sponsored by: Spectra Logic Affects: All ZFS versions starting 7 Jun 2006 (illumos 94de1d4c) MFSpectraBSD: r668345 on 2013/06/04 17:10:43 END K 10 svn:author V 4 will K 8 svn:date V 27 2014-09-18T14:09:42.620037Z K 7 svn:log V 841 zfs_setprop_error(): Handle errno value E2BIG. This errno value is emitted by dsl_props_set_check() in sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_prop.c, and is used to mean that the property value is too long. For the record, the maximum length is ZAP_MAXVALUELEN, which is 8*1024 bytes. Instead of claiming an unknown error (and abort()ing), provide something more specific to the scenario involved. As far as I can tell, E2BIG is not emitted for any other scenario. MFC after: 1 week Sponsored by: Spectra Logic Affects: All ZFS versions starting 27 Feb 2009 (illumos ccba0801) This change modified the value returned by dsl_props_set_check(), so that it can distinguish between a name that's too long and a value that's too long, but libzfs was not updated accordingly. MFSpectraBSD: r1051499 on 2014/03/28 11:07:59 END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-09-18T14:16:14.688524Z K 7 svn:log V 82 Two mmap(2) regression tests added. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 des K 8 svn:date V 27 2014-09-18T14:27:37.578722Z K 7 svn:log V 109 MFH (r271256, r271617): avoid segfault if PAM_RHOST nor PAM_TTY are unset. Approved by: re (gjb) PR: 83099 END K 10 svn:author V 3 des K 8 svn:date V 27 2014-09-18T14:31:18.163641Z K 7 svn:log V 87 MFH (r271256, r271617): avoid segfault if PAM_RHOST nor PAM_TTY are unset. PR: 83099 END K 10 svn:author V 3 des K 8 svn:date V 27 2014-09-18T14:31:28.116876Z K 7 svn:log V 98 MFH (r271256, r271617): avoid segfault if PAM_RHOST nor PAM_TTY are unset. PR: 83099 END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-09-18T14:38:18.101530Z K 7 svn:log V 2865 vt(4): Merge several bug fixes and improvements SVN revisions in this MFC: 269779 270705 270706 271180 271250 271253 271682 271684 Detailed commit list: r269779: fbd: Fix a bug where vt_fb_attach() success would be considered a failure vt_fb_attach() currently always returns 0, but it could return a code defined in errno.h. However, it doesn't return a CN_* code. So checking its return value against CN_DEAD (which is 0) is incorrect, and in this case, a success becomes a failure. The consequence was unimportant, because the caller (drm_fb_helper.c) would only log an error message in this case. The console would still work. Approved by: nwhitehorn r270705: vt(4): Add cngrab() and cnungrab() callbacks They are used when a panic occurs or when entering a DDB session for instance. cngrab() forces a vt-switch to the console window, no matter if the original window is another terminal or an X session. However, cnungrab() doesn't vt-switch back to the original window currently. r270706: drm: Don't "taskqueue" vt-switch if under DDB/panic situation If DDB is active, we can't use a taskqueue thread to switch away from the X window, because this thread can't run. Reviewed by: ray@ Approved by: ray@ r271180: vt_vga: vd_setpixel_t and vd_drawrect_t are noop in text mode r271250: vt(4): Change the terminal and buffer sizes, even without a font This fixes a bug where scroll lock would not work for tty #0 when using vt_vga's textmode. The reason was that this window is created with a static 256x100 buffer, larger than the real size of 80x25. Now, in vt_change_font() and vt_compute_drawable_area(), we still perform operations even of the window has no font loaded (this is the case in textmode here vw->vw_font == NULL). One of these operation resizes the buffer accordingly. In vt_compute_drawable_area(), we take the terminal size as is (ie. 80x25) for the drawable area. The font argument to vt_set_border() is removed (it was never used) and the code now uses the computed drawable area instead of re-doing its own calculation. Reported by: Harald Schmalzbauer Tested by: Harald Schmalzbauer r271253: pause_sbt(): Take the cold path (ie. use DELAY()) if KDB is active This fixes a panic in the i915 driver when one uses debug.kdb.enter=1 under vt(4). PR: 193269 Reported by: emaste@ Submitted by: avg@ r271682: vt(4): Fix a LOR which occurs during a call to vt_upgrade() Reported by: kib@ Review: https://reviews.freebsd.org/D785 Reviewed by: ray@ Approved by: ray@ r271684: vt(4): Use vt_fb_drawrect() and vt_fb_setpixel() in all vt_fb-derivative Review: https://reviews.freebsd.org/D789 Reviewed by: nwhitehorn Approved by: nwhitehorn Approved by: re (gjb) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T14:38:28.030528Z K 7 svn:log V 165 Add a function to set if_get_counter method for an ifnet. To be used in the drivers that are already converted to "Juniper drvapi". This can be revisited in future. END K 10 svn:author V 4 will K 8 svn:date V 27 2014-09-18T14:41:57.453066Z K 7 svn:log V 361 Fix incremental builds involving non-root users with read-only source files. Makefiles should not assume that source files can be overwritten. This is the common case for Perforce source trees. This is a followup commit to r211243 in the same vein. MFC after: 1 month Sponsored by: Spectra Logic MFSpectraBSD: r1036319 on 2014/01/29, r1046711 on 2014/03/06 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T14:43:23.414592Z K 7 svn:log V 275 Accidentially, ng_ppp changes leaked out with r271770. The proper commit message should have been: In case if ng_ppp(4) runs only IPv4, with one link, w/o any encryption and compression, set faster rcvhook method. Submitted by: Dmitry Luhtionov END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-09-18T14:44:47.807981Z K 7 svn:log V 1079 MFC tty fixes, r259549 and r259663 Keep tty_makedev as a function to preserve the KBI on 10-stable (it is a macro in CURRENT). The changes for this are direct commits to 10-stable. r259549 (glebius): - Rename tty_makedev() into tty_makedevf() and make it capable to fail and return error. - Use make_dev_p() in tty_makedevf() instead of make_dev_cred(). - Always pass MAKEDEV_CHECKNAME flag. - Optionally pass MAKEDEV_REF flag. - Provide macro for compatibility with old API. This fixes races with simultaneous creation and desctruction of ttys, and makes it possible to call tty_makedevf() from device cloners. A race in tty_watermarks() still exist, since the latter drops lock for M_WAITOK allocation. This will be addressed in separate commit. r259663 (glebius): Move list of ttys handling from the allocating procedures, to the device creation stage. A device creation can fail, and in that case an entry already on the list will be freed. KBI issue pointed out by: kib Reviewed by: kib (KBI addition) Approved by: re (kib) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T14:47:13.108474Z K 7 svn:log V 261 While not too late rename 'ifnet_counter' to 'ift_counter'. One of the imporant moments that we discussed with Marcel and Anuranjan was that a converted driver should return false for 'grep ifnet if_driver.c' :) Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 4 will K 8 svn:date V 27 2014-09-18T14:50:21.075041Z K 7 svn:log V 135 Fix incremental builds involving non-root users with read-only source files. This is a followup commit to r271771. MFC after: 1 month END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-09-18T14:50:50.940438Z K 7 svn:log V 189 MFC r271429: Persist vdev_resilver_txg changes to avoid panic caused by validation vs a vdev_resilver_txg value from a previous resilver. Approved by: re (glebius) Sponsored by: Multiplay END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-09-18T14:53:30.110567Z K 7 svn:log V 190 MFC r271552: Make the default choice for the chroot shell at the end be "No". This allows just pressing enter repeatedly to successfully install a reasonable system. Approved by: re (gjb) END K 10 svn:author V 4 will K 8 svn:date V 27 2014-09-18T14:54:20.548504Z K 7 svn:log V 135 Fix incremental builds involving non-root users with read-only source files. This is a followup commit to r271771. MFC after: 1 month END K 10 svn:author V 4 tijl K 8 svn:date V 27 2014-09-18T15:10:22.480202Z K 7 svn:log V 397 MFC r257770 r257818 r257823 r260066 r260067 r260089 r260145 r268587 r268588 r268589 r268590 r268593 r268597 r269758 r270845 r270847 r270893 r270932 r270947 r271147 Merge libm work by kargl, bde and das from the past few months. Besides optimisations and small bug fixes this includes new implementations for C99 functions expl, coshl, sinhl, tanhl, erfl and erfcl. Approved by: re (kib) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-18T15:26:12.736248Z K 7 svn:log V 258 Defer running mk-vmimage.sh until after all normal (i.e., ISOs) bits are built. This eliminates a significant delay between the completion of the amd64 ISO creation and the start of the i386 build (more than one hour). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 will K 8 svn:date V 27 2014-09-18T15:37:53.619178Z K 7 svn:log V 477 bpobj_iterate_impl(): Close a refcount leak iterating on a sublist. If bpobj_space() returned non-zero here, the sublist would have been left open, along with the bonus buffer hold it requires. This call does not invoke any calls to bpobj_close() itself. This bug doesn't have any known vector, but was found on inspection. MFC after: 1 week Sponsored by: Spectra Logic Affects: All ZFS versions starting 21 May 2010 (illumos cde58dbc) MFSpectraBSD: r1050998 on 2014/03/26 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T15:56:14.562908Z K 7 svn:log V 266 - Use if_inc_counter() to increment various counters. - Do not ever set a counter to a value. For those counters that we don't increment, but return directly from hardware create cases in if_get_counter() method. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T16:17:20.876992Z K 7 svn:log V 116 Remove a bunch of methods that are superseded by if_inc_counter(). Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-18T16:20:17.671061Z K 7 svn:log V 500 Fix the handling of EOP in status descriptors for if_igb(4) and don't double-free mbufs. Like ixgbe(4) chipsets, EOP is only set on the final descriptor in a chain of descriptors. So, to free the whole list of descriptors, we should free the current slot _and_ the assembled list of descriptors that make up the fragment list. The existing code was setting discard once it saw EOP + an error status; it then freed all the subsequent descriptors until the next EOP. That's totally the wrong order. END K 10 svn:author V 4 will K 8 svn:date V 27 2014-09-18T16:38:03.549224Z K 7 svn:log V 126 Reorder sysctls for spa.c global tunables; add sysctl for ccw_retry_interval. MFC after: 1 month Sponsored by: Spectra Logic END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T16:44:28.354006Z K 7 svn:log V 161 - Use if_get_counter() to fetch ifnet statistics. - Report IFCOUNTER_OQDROPS to linprocfs. Wasn't there before. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-09-18T16:53:44.554668Z K 7 svn:log V 141 simple_httpd: cosmetic cleanups. Many tab vs space cleanups. Use setpgid() instead of setpgrp() which is more portable, MFC after: 5 weeks END K 10 svn:author V 4 will K 8 svn:date V 27 2014-09-18T16:55:41.965715Z K 7 svn:log V 316 Enable ZFS debug flags to be modified via vfs.zfs.debug_flags. This is primarily only of interest to ZFS developers, but it makes it easier to get additional debugging. Submitted by: gibbs MFC after: 1 month Sponsored by: Spectra Logic MFSpectraBSD: 517074 on 2011/12/15 (by will), 662343 on 2013/03/20 (by gibbs) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-09-18T17:01:45.964323Z K 7 svn:log V 171 lpr: replace setpgrp(2) with setpgid(2). setpgid(2) is more portable than setpgrp(2). The BSD variant of setpgrp is a wrapper for setpgid(2) anyways. MFC after: 5 weeks END K 10 svn:author V 9 allanjude K 8 svn:date V 27 2014-09-18T17:03:52.575202Z K 7 svn:log V 228 MFC r271563: Make the root-on-zfs part of the installer warn a user who booted the installer via UEFI that we do not support booting ZFS via UEFI yet PR: 193595 Approved by: re (gjb), nwhitehorn Sponsored by: ScaleEngine Inc. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-18T17:15:38.450163Z K 7 svn:log V 338 MFC r271676, r271677, r271678: r271676: Catch up with Crochet changes to fix the BEAGLEBONE build. r271677: Catch up with Crochet changes to fix the WANDBOARD-QUAD build. r271678: Set a static revision of the Crochet checkout to avoid surprise build failures. Approved by: re (marius) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-09-18T17:18:42.780070Z K 7 svn:log V 325 unistd: move setpgrp(2) to the __BSD_VISIBLE section Our setpgrp(2) differs from the specified by POSIX, which only has one argument, and is only meant for compatibility with BSD. Reference: http://pubs.opengroup.org/onlinepubs/009695399/functions/setpgrp.html Pointed-out in: openbsd-tech (2014-09-16) MFC after: 6 weeks END K 10 svn:author V 4 will K 8 svn:date V 27 2014-09-18T17:22:42.600643Z K 7 svn:log V 115 Silence noisy firewire logging. MFC after: 1 month Sponsored by: Spectra Logic MFSpectraBSD: 974594 on 2013/08/02 END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-18T17:25:20.095807Z K 7 svn:log V 294 When updating device media size use cached cdevsw pointer. Using pointer from the cdev directly is dangerous since we have no reference on it, and it may change any time. That caused panic if device has gone. While there, report capacity change only if it really changed. MFC after: 3 days END K 10 svn:author V 4 will K 8 svn:date V 27 2014-09-18T17:28:21.127316Z K 7 svn:log V 642 Start the process of cleaning up FreeBSD's firewire driver. sys/dev/firewire/firewire.c: sys/dev/firewire/firewire.h: sys/dev/firewire/firewirereg.h: sys/dev/firewire/fwcrom.c: sys/dev/firewire/fwdev.c: sys/dev/firewire/fwdma.c: sys/dev/firewire/fwmem.c: sys/dev/firewire/fwohci.c: sys/dev/firewire/fwohci_pci.c: sys/dev/firewire/fwohcivar.h: sys/dev/firewire/if_fwe.c: sys/dev/firewire/if_fwip.c: sys/dev/firewire/sbp.c: sys/dev/firewire/sbp_targ.c: Unifdef the code, removing support for DragonflyBSD and FreeBSD prior to version 5. Submitted by: gibbs MFC after: 1 month Sponsored by: Spectra Logic MFSpectraBSD: 1081188 on 2014/08/01 END K 10 svn:author V 4 will K 8 svn:date V 27 2014-09-18T17:37:19.745340Z K 7 svn:log V 129 Use 'cc' for the C compiler instead of 'gcc'. MFC after: 1 week Sponsored by: Spectra Logic MFSpectraBSD: 1079507 on 2014/07/24 END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-18T17:39:04.155856Z K 7 svn:log V 232 Make kernel to update LUN size from the backing storage on configuration reload also if that size was not specified in the new configuration. Previously it happened only if size was explicitly changed in config. MFC after: 3 days END K 10 svn:author V 4 will K 8 svn:date V 27 2014-09-18T18:46:38.070716Z K 7 svn:log V 180 Remove debug.zfs_flags in favor of the new vfs.zfs.debug_flags. Replace TUNABLE_INT with CTLFLAG_RWTUN. Submitted by: avg (debug.zfs_flags removal), smh (TUNABLE_INT replacement) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T19:15:40.296434Z K 7 svn:log V 226 - Provide if_get_counter() method for vtnet(4). - Do not accumulate statistics on every tick. - Accumulate statistics in vtnet_setup_stat_sysctl() and in vtnet_get_counter(). Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-09-18T19:20:08.646802Z K 7 svn:log V 1044 MFC nmdm driver changes, r259550 and r271350 r259550 (glebius): Make nmdm(4) destroy devices when both sides of a pair are disconnected. This makes it possible to kldunload nmdm.ko when there are no users of it. r271350: Fix issue with nmdm and leading zeros in device name. The nmdm code enforces a number between the 'nmdm' and 'A|B' portions of the device name. This is then used as a unit number, and sprintf'd back into the tty name. If leading zeros were used in the name, the created device name is different than the string used for the clone-open (e.g. /dev/nmdm0001A will result in /dev/nmdm1A). Since unit numbers are no longer required with the updated tty code, there seems to be no reason to force the string to be a number. The fix is to allow an arbitrary string between 'nmdm' and 'A|B', within the constraints of devfs names. This allows all existing user of numeric strings to continue to work, and also allows more meaningful names to be used, such as bhyve VM names. PR: 192281 Approved by: re (glebius) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T19:57:13.209019Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-09-18T20:00:36.453044Z K 7 svn:log V 90 Add dtrace probe support for zfs SET_ERROR(..) MFC after: 1 week Sponsored by: Multiplay END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:03:45.650039Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:06:10.091106Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:09:35.765748Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:11:28.019216Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:15:53.101849Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:17:27.022665Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-09-18T20:17:42.066536Z K 7 svn:log V 830 MFC 263779, except for the ATF test change. Correct ARP update handling when the routes for network interfaces are restricted to a single FIB in a multifib system. Restricting an interface's routes to the FIB to which it is assigned (by setting net.add_addr_allfibs=0) causes ARP updates to fail with "arpresolve: can't allocate llinfo for x.x.x.x". This is due to the ARP update code hard coding it's lookup for existing routing entries to FIB 0. sys/netinet/in.c: When dealing with RTM_ADD (add route) requests for an interface, use the interface's assigned FIB instead of the default (FIB 0). sys/netinet/if_ether.c: In arpresolve(), enhance error message generated when an lla_lookup() fails so that the interface causing the error is visible in logs. PR: kern/167947 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:18:55.312591Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:21:46.879670Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:23:34.464805Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:24:47.885151Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:29:17.654663Z K 7 svn:log V 54 Fix build on 32-bit machines. Pointy hat to: glebius END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:30:47.943508Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-09-18T20:32:40.907617Z K 7 svn:log V 921 drm/i915: Add HW context support This feature is required by Mesa 9.2+. Without this, a GL application crashes with the following message: # glxinfo name of display: :0.0 Gen6+ requires Kernel 3.6 or later. Assertion failed: (ctx->Version > 0), function handle_first_current, file ../../src/mesa/main/context.c, line 1498. Abort (core dumped) Now, Mesa 10.2.4 and 10.3-rc3 works fine: # glxinfo name of display: :0 display: :0 screen: 0 direct rendering: Yes ... OpenGL renderer string: Mesa DRI Intel(R) 965GM OpenGL version string: 2.1 Mesa 10.2.4 ... The code was imported from Linux 3.8.13. This an MFC of r271705. Approved by: re (glebius) Reviewed by: kib@ Tested by: kwm@, danfe@, Henry Hu, Lundberg, Johannes , Johannes Dieterich , Lutz Bichler , Relnotes: yes END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:33:25.040624Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:35:22.476858Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-09-18T20:38:18.319188Z K 7 svn:log V 135 Remove sys/types.h include as per style (9) SDT requries sys/param.h due to use of NULL Reported by: Garrett Sponsored by: Multiplay END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:39:23.527281Z K 7 svn:log V 86 - Mechanically convert to if_inc_counter(). - Cut code that runs a counter backwards. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:43:17.928712Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:44:53.925200Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:47:39.564580Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:53:02.193588Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-09-18T20:53:36.961442Z K 7 svn:log V 920 MFC r264887, except for the ATF test change. Also, ifa_switch_loopback_route doesn't exist in stable/9, so the relevant change to that function went into in_scrubprefix instead. Fix host and network routes for new interfaces when net.add_addr_allfibs=0 sys/net/route.c In rtinit1, use the interface fib instead of the process fib. The latter wasn't very useful because ifconfig(8) is usually invoked with the default process fib. Changing ifconfig(8) to use setfib(2) would be redundant, because it already sets the interface fib. tests/sys/netinet/fibs_test.sh Clear the expected ATF failure sys/net/if.c Pass the interface fib in calls to rtrequest1_fib and rtalloc1_fib sys/netinet/in.c sys/net/if_var.h Add a fibnum argument to ifa_switch_loopback_route, a subroutine of in_scrubprefix. Pass it the interface fib. PR: kern/187549 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:58:04.542193Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T20:59:59.198379Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T21:01:41.070271Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T21:03:13.386149Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T21:05:59.348352Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T21:07:05.359069Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T21:09:22.443113Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T21:11:42.064933Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-09-18T21:13:03.667378Z K 7 svn:log V 455 Revert r270808, which were changes to common code (i40e_alloc.h). Rather than #define-ing common code function calls to OS-dependent ones, make the osdep versions match the common code expectations, adjust the FreeBSD specific code to use those, and remove the #defines. In the FreeBSD specific code, use "i40e_mem_reserved" for the now expected but unused argument to i40e_allocate_dma_mem(). Reviewed by: gnn, eric.joyner intel.com MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T21:13:12.934767Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T21:14:46.807340Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T21:16:05.646191Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-18T21:19:21.994482Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-18T21:39:00.436990Z K 7 svn:log V 77 Add support for "no Data-Out Buffer" (NDOB) flag of WRITE SAME (16) command. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-09-18T21:48:05.651622Z K 7 svn:log V 1911 MFC r264905 and r266860, except for the ATF parts. r266860 Fix unintended KBI change from r264905. Add _fib versions of ifa_ifwithnet() and ifa_ifwithdstaddr() The legacy functions will call the _fib() versions with RT_ALL_FIBS, preserving legacy behavior. sys/net/if_var.h sys/net/if.c Add legacy-compatible functions as described above. Ensure legacy behavior when RT_ALL_FIBS is passed as fibnum. sys/netinet/in_pcb.c sys/netinet/ip_output.c sys/netinet/ip_options.c sys/net/route.c sys/net/rtsock.c sys/netinet6/nd6.c Call with _fib() functions if we must use a specific fib, or the legacy functions otherwise. r264905 Fix subnet and default routes on different FIBs on the same subnet. These two bugs are closely related. The root cause is that ifa_ifwithnet does not consider FIBs when searching for an interface address. sys/net/if_var.h sys/net/if.c Add a fib argument to ifa_ifwithnet and ifa_ifwithdstadddr. Those functions will only return an address whose interface fib equals the argument. sys/net/route.c Update calls to ifa_ifwithnet and ifa_ifwithdstaddr with fib arguments. sys/netinet/in.c Update in_addprefix to consider the interface fib when adding prefixes. This will prevent it from not adding a subnet route when one already exists on a different fib. sys/net/rtsock.c sys/netinet/in_pcb.c sys/netinet/ip_output.c sys/netinet/ip_options.c sys/netinet6/nd6.c Add RT_DEFAULT_FIB arguments to ifa_ifwithdstaddr and ifa_ifwithnet. In some cases it there wasn't a clear specific fib number to use. In others, I was unable to test those functions so I chose RT_DEFAULT_FIB to minimize divergence from current behavior. I will fix some of the latter changes along with PR kern/187553. PR: kern/187550 PR: kern/187552 END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-09-18T22:10:49.774950Z K 7 svn:log V 55 Fx a type from r271817; it's IFCOUNTER_* not IFNET_*. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-09-18T22:12:52.131577Z K 7 svn:log V 484 MFC r265092, except for the ATF bits. Fix a panic when removing an IP address from an interface, if the same address exists on another interface. The panic was introduced by change 264887, which changed the fibnum parameter in the call to rtalloc1_fib() in ifa_switch_loopback_route() from RT_DEFAULT_FIB to RT_ALL_FIBS. The solution is to use the interface fib in that call. For the majority of users, that will be equivalent to the legacy behavior. PR: kern/189089 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-09-18T22:16:20.366323Z K 7 svn:log V 298 Fix checksum calculation: 1. Iterate over all partitions counted in the label, which can be more than the number of partitions given to mkimg(1). 2. Start the checksum from the beginning of the label; not the beginning of the bootarea. Tested with bsdlabel(8). Approved by: re@ (rodrigc) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-09-18T22:17:46.945121Z K 7 svn:log V 121 MFC r271577: Fix descriptors leak. PR: bin/191002 Reported by: Ryan Steinmetz Submitted by: mjg Approved by: re (gjb) END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-18T22:22:14.392577Z K 7 svn:log V 75 Allow more commands to pass persistent reservation according to SPC-4 r37. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-09-18T22:27:02.127759Z K 7 svn:log V 920 Be compatible with boot code that starts right after the disk label in the second sector by only clearing the amount of bytes needed for the disklabel in the second sector. Previously we were clearing exactly 1 sector worth of bytes and as such writing over boot code that may have been there. Since we do support more than 8 partitions, make sure to set all fields in d_partitions. For the first 8 partitions this is unneeded, but for partitioons 9 and up this compensates for the fact that we don't clear an entire sector anymore. Obviously, one cannot use more than 8 partitions when using boot code that starts right after the disk label. Relevant GRNs: 107879 - Employ unused bytes after the disklabel in the second sector. 189500 - Revert the part of change 107879 that employs the unused bytes after the disklabel in the 2nd sector for boot code. Obtained from: Juniper Networks, Inc. Approved by: re@ (gjb) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-09-18T22:34:52.972983Z K 7 svn:log V 73 Don't use nvl in case of a failure. Reported by: Coverity CID: 1238922 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-19T00:03:25.068009Z K 7 svn:log V 127 Update stable/10 to -BETA2 as part of the 10.1-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T03:51:26.914721Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T03:55:19.913305Z K 7 svn:log V 30 Fix typo. Submitted by: jkim END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T05:03:11.712005Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T05:23:47.657095Z K 7 svn:log V 127 Remove disabled code, that is very unlikely to be ever enabled again, as well as the comment that explains why is it disabled. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T05:43:38.122434Z K 7 svn:log V 114 Increase errors, not queue drops, in cases the module is supplied with a bad packet or if mbuf allocation failes. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-09-19T07:18:45.842901Z K 7 svn:log V 53 Fix cdev. It is a device node name, not a pathname. END K 10 svn:author V 3 phk K 8 svn:date V 27 2014-09-19T07:44:49.112728Z K 7 svn:log V 106 This is a white-space/comment cleanup commit as a precursor for some upcoming work on the NTP kernel PLL. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T09:01:19.610701Z K 7 svn:log V 289 Remove ifq_drops from struct ifqueue. Now queue drops are accounted in struct ifnet if_oqdrops. Some netgraph modules used ifqueue w/o ifnet. Accounting of queue drops is simply removed from them. There were no API to read this statistic. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T09:19:29.871952Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T09:19:49.450825Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T09:20:16.791688Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T09:20:34.496308Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T09:20:55.631467Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T10:18:14.395232Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T10:19:51.275661Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T10:32:20.374167Z K 7 svn:log V 22 Move rl(4) to dev/rl. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T10:33:23.456487Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T10:35:56.948790Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T10:39:58.792196Z K 7 svn:log V 42 Mechanically convert to if_inc_counter(). END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-09-19T11:02:44.978368Z K 7 svn:log V 167 vt(4): Remove vt_buf->vb_dirtymask This structure and the associated functions were unused since the implementation of vd_bitblt_text_t callbacks. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-19T11:15:30.594303Z K 7 svn:log V 76 Fix inverted expression to report block size in mode page block descriptor. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-19T11:49:41.356393Z K 7 svn:log V 163 - Provide igb_get_counter() to return counters that are not collected, but taken from hardware. - Mechanically convert to if_inc_counter() the rest of counters. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-09-19T12:20:43.126467Z K 7 svn:log V 702 vt(4): Rewrite history scrolling It's now possible to scroll up the 500 hard-coded lines of history, not just a fraction of them. For instance, one can reach the top of the boot process. Sometimes, when scrolling or when changing the screen size (by changing the font or loading a KMS driver for instance), one could see the history cycling (old content appeared below latest lines). This is fixed. Now, when the resolution changes are more lines can be shown, the displayed area is adjusted so that, if the screen was filled with content before, it's filled with content after as well: more history is visible, instead of having blank lines below the previously visible content. MFC after: 3 days END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-09-19T12:38:43.458304Z K 7 svn:log V 102 vt(4): Remove superfluous word in comment Submitted by: brueffer@ MFC after: 3 days MFC with: 271871 END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-09-19T13:55:28.645459Z K 7 svn:log V 133 Fix static kernel build with options ZFS This was broken by r271802. MFC after: 1 week X-MFC-With: r271802 Sponsored by: Multiplay END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-19T16:06:54.089168Z K 7 svn:log V 48 Add new USB IDs. PR: 193775 MFC after: 1 week END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2014-09-19T17:18:27.143295Z K 7 svn:log V 305 Reference the test case "packs" to fix warnings Put the various atf_tc_pack_t variables generated by ATF_TC to use in the macros_h_test.c file so that we prevent some build warnings (and thus some build errors) with clang and -Wunused. Obtained from: atf (git 70126d013db25c72539803f19f7e00baddacdf51) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-19T17:23:44.421657Z K 7 svn:log V 300 When populating the dvd/packages/ directory, create a symlink to All/pkg-*.txz in the Latest/ directory. This allows 'pkg bootstrap' to work out-of-box if the REPOS_DIR environment is properly set. Tested on: stable/10@r271848 MFC after: 3 days X-MFC-10.1: yes Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-19T18:12:46.473445Z K 7 svn:log V 212 Add Julien Charbon (jch@) as a source committer. Julien will continue working on improving concurrency in the network stack, especially for short-lived TCP connections. I will mentor Julien. Approved by: core END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-09-19T18:13:56.310441Z K 7 svn:log V 178 unistd: drop argument names from setpgrp(3) prototype. They are useless and don't match the style of the header. While here adjust the comment with tabs. Suggested by: kevinlo END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-09-19T18:24:02.083097Z K 7 svn:log V 335 awk: Use random(3) instead of rand(3) While none of them is considered even near to cryptographic level, random(3) is a better random generator than rand(3). Use random(3) for awk as is done in other systems. Thanks to Chenguang Li for discussing this in the lists and submitting the patch upstream. PR: 193147 MFC after: 5 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-19T21:30:45.511280Z K 7 svn:log V 108 MFC r271475 by ambrisko: Add support for serial and null console to UEFI boot loader. Approved by: re END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-09-19T23:16:02.527198Z K 7 svn:log V 1244 Fix partition alignment and image rounding when any of -P (block size), -T (track size) or -H (number of heads) is given: o scheme_metadata() always rounded to the block size. This is not always valid (e.g. vtoc8 that must have partitions start at cylinder boundaries). o The bsd and vtoc8 schemes "resized" the image to make it match the geometry, but since the geometry is an approximation and the size of the image computed from cylinders * heads * sectors is always smaller than the original image size, the partition information ran out of bounds. The fix is to have scheme_metadata() simply pass it's arguments to the per-scheme metadata callback, so that schemes not only know where the metadata is to go, but also what the current block address is. It's now up to the per-scheme callback to reserve room for metadata and to make sure alignment and rounding is applied. The BSD scheme now has the most elaborate alignment and rounding. Just to make the point: partitions are aligned on block boundaries, but the image is rounded to the next cyclinder boundary. vtoc8 now properly has all partitions aligned (and rounded) to the cyclinder boundary. Obtained from: Juniper Networks, Inc. MFC after: 3 days END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-09-19T23:38:44.408147Z K 7 svn:log V 149 Style (9) fixes, spaces to tabs. Fix style issues noticed when I went to MFC r257820 MFC after: 2 days X-MFC-With: r257820 Sponsored by: Multiplay END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-09-20T00:19:45.680571Z K 7 svn:log V 120 Explain how to load the malo(4) firmware on boot. PR: 193653 Submitted by: Juan Ramón Molina Menor MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-20T01:16:41.434306Z K 7 svn:log V 51 Don't double-call the ar9300 stub function method. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-20T01:17:02.071968Z K 7 svn:log V 36 Quieten the AR9300 HAL probe a bit. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-20T01:18:36.114112Z K 7 svn:log V 166 Quieten the AR9300 HAL attach a little - the setupXTxDesc method is only called during attach now. The EDMA TX path never calls this - only the legacy TX path does. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-20T01:22:17.938105Z K 7 svn:log V 859 Fix up the EDMA RX setup path to correctly initialise and reset the RX FIFO. The original code was .. well, slightly more than incorrect. It showed up as stalled RX queues if the NIC needed to be frequently reinitialised (eg during scans.) This is inspired by work done by Matt Dillon over at the DragonflyBSD project. So: * track when EDMA RX has been stopped and when the MAC has been reset; * re-initialise the ring only after a reset; * track whether RX has been stopped/started - just for debugging now; * don't bother with the RX EOL stuff for EDMA - we don't need the interrupt at all. We also don't need to disable/enable the interrupt or start DMA - once new frames are pushed into the ring via the normal RX path, it'll just restart RX DMA on its own. Tested: * AR9380, STA mode * AR9380, AP mode * AR9485, STA mode * AR9462, STA mode END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-20T02:35:21.133918Z K 7 svn:log V 675 Restructure the MSR handling so it is entirely handled by processor-specific code. There are only a handful of MSRs common between the two so there isn't too much duplicate functionality. The VT-x code has the following types of MSRs: - MSRs that are unconditionally saved/restored on every guest/host context switch (e.g., MSR_GSBASE). - MSRs that are restored to guest values on entry to vmx_run() and saved before returning. This is an optimization for MSRs that are not used in host kernel context (e.g., MSR_KGSBASE). - MSRs that are emulated and every access by the guest causes a trap into the hypervisor (e.g., MSR_IA32_MISC_ENABLE). Reviewed by: grehan END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-20T04:31:12.117385Z K 7 svn:log V 170 Populate the device info string with _PXM (proximity domain) information. This is primarily useful for debugging right now - it'll show up in devinfo. Reviewed by: jhb END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-20T05:12:34.956551Z K 7 svn:log V 348 MSR_KGSBASE is no longer saved and restored from the guest MSR save area. This behavior was changed in r271888 so update the comment block to reflect this. MSR_KGSBASE is accessible from the guest without triggering a VM-exit. The permission bitmap for MSR_KGSBASE is modified by vmx_msr_guest_init() so get rid of redundant code in vmx_vminit(). END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-20T05:13:03.368851Z K 7 svn:log V 44 Add some more KTR events to help debugging. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-20T05:49:15.319865Z K 7 svn:log V 109 Sort the optional rc.d scripts by their knobs MFC after: 1 week Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-20T06:05:24.236572Z K 7 svn:log V 116 Don't install /etc/rc.d/rwho unless MK_RCMDS == yes MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-20T06:27:37.258326Z K 7 svn:log V 13 IFC @r271887 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-20T06:34:34.615180Z K 7 svn:log V 118 Don't install /etc/rc.d/ftp-proxy unless MK_PF == yes MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-20T07:59:34.641270Z K 7 svn:log V 513 MFC r271492: Workaround for receiving Voice Calls using the E1750 dongle from Huawei. It might appear as if the firmware is allocating memory blocks according to the USB transfer size and if there is initially a lot of data, like at the answering machine prompt, it simply dies without any apparent reason. The simple workaround for this is to force a zero length packet at hardware level after every 512 bytes of data. This will force the other side to use smaller memory blocks aswell. Approved by: re, gjb END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-20T08:01:50.437901Z K 7 svn:log V 488 MFC r271492: Workaround for receiving Voice Calls using the E1750 dongle from Huawei. It might appear as if the firmware is allocating memory blocks according to the USB transfer size and if there is initially a lot of data, like at the answering machine prompt, it simply dies without any apparent reason. The simple workaround for this is to force a zero length packet at hardware level after every 512 bytes of data. This will force the other side to use smaller memory blocks aswell. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-20T08:03:15.191524Z K 7 svn:log V 488 MFC r271492: Workaround for receiving Voice Calls using the E1750 dongle from Huawei. It might appear as if the firmware is allocating memory blocks according to the USB transfer size and if there is initially a lot of data, like at the answering machine prompt, it simply dies without any apparent reason. The simple workaround for this is to force a zero length packet at hardware level after every 512 bytes of data. This will force the other side to use smaller memory blocks aswell. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-09-20T08:18:48.412917Z K 7 svn:log V 142 Make gcc happy by initialising the variable only set in a couple of case statements without a default. MFC after: 2 days X-MFC with: r271871 END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-09-20T08:34:56.542958Z K 7 svn:log V 103 Properly hide calls to ARP under #ifdef INET to allow IPv6-only kernels to compile. MFC atfer: 3 days END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2014-09-20T09:18:58.212142Z K 7 svn:log V 83 Fix typo in comment. Disable AHB clock gate for ehci0. Approved by: stas (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-09-20T12:59:28.023979Z K 7 svn:log V 382 MFC r256800: pathchk: Ensure bytes >= 128 are considered non-portable characters. This was not broken on architectures such as ARM where char is unsigned. Also, remove the first non-portable character from the output. POSIX does not require this, and printing the first byte may yield an invalid byte sequence with UTF-8. PR: 165988 Reported by: Nicolas Rachinsky Relnotes: yes END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-20T13:46:16.906211Z K 7 svn:log V 78 MFC r271700: Fix typo in defined ROD types in r269497. Approved by: re (gjb) END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-20T13:48:52.266652Z K 7 svn:log V 214 MFC r271702: Fix tpc_create_token() introduced in r269497 to encode CREATOR LOGICAL UNIT DESCRIPTOR field as Identification Descriptor CSCD descriptor, not just as Identification Descriptor. Approved by: re (gjb) END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-20T14:24:48.181947Z K 7 svn:log V 145 MFC r271716: Presence of any VM_PROT bits in the permission argument on x86 implies that the entry is readable and valid. Approved by: re (gjb) END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-20T14:49:21.436856Z K 7 svn:log V 1331 Make the ARM MPCore Timer driver work with published standard FDT bindings. We've always considered the mpcore timers to be a single monolithic device and we defined our own fdt binding for it with our own compat string. The published bindings treat the timers as two separate devices, a global timer and a "timer-watchdog" device for the per-cpu private timers. Thus our binding has two tuples in the regs property, one set of registers for the global timer and one for the private timers. The published bindings have two separate devices, each with a single set of registers. (Note that we don't use the optional watchdog feature of the hardware.) These changes add the compat strings for the published bindings. If our own compat string appears, we expect to get two sets of memory resources. For the published bindings, there's only one set of memory resources, and only the private timers have an associated interrupt. The other major change is that there can no longer be a single global var for the softc pointer because now there may be multiple devices at runtime. Since the global timer is used only as a timecounter and the private timers only as eventtimers, and there will only be one of each, those are now the pointers which are global, and the priv fields of those structures backlink to the device softc. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-20T15:45:29.724464Z K 7 svn:log V 152 Add a man page for the cgem(4) driver. Submitted by: Thomas Skibo Reviewed by: wkoszek@, Yonghyeon PYUN END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-20T16:43:14.562154Z K 7 svn:log V 57 Use callout(9) instead of timeout(9). Reviewed by: emax END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-09-20T18:48:50.993879Z K 7 svn:log V 125 Revert changes in r269180. It could cause -c N option to enter an infinite loop if no reply packet is received. PR: 151023 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-09-20T19:54:19.185745Z K 7 svn:log V 379 Fix a problem that reply packets are not received when -i T option is set and (T < RTT). - Use select(2) for timeout instead of interval timer. Remove poll(2) support. - Use sigaction(2) instead of signal(3). - Exit in SIGINT handler when two signals are received and doing reverse DNS lookup as ping(8) does. - Remove redundant variables used for getaddrinfo(3). PR: 151023 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-09-20T21:02:54.420461Z K 7 svn:log V 29 Add unit tests for mkimg(1): END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-20T21:46:31.715929Z K 7 svn:log V 86 IFC r271888. Restructure MSR emulation so it is all done in processor-specific code. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-09-21T00:05:44.173765Z K 7 svn:log V 211 Hide LRO code under #ifdef INET/INET6 to allow NOIP kernel to compile. While the code comments indicate that LRO is currently only supported for IPv4/TCP, we'll still compile it in for IPv6. MFC after: 3 days END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-09-21T00:20:41.272976Z K 7 svn:log V 206 Add method for binding interrupt to CPU in PIC interface (currently unused) and mechanism for unified caching and translating FDT cells describing interrupt to actual IRQ number through PIC kobj interface. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-21T03:00:30.283973Z K 7 svn:log V 125 Don't register as an interrupt controller until after resource allocation and all the other up-front things that could fail. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-09-21T03:48:20.327054Z K 7 svn:log V 38 Make net.add_addr_allfibs vnet-local. END