ƒ¸)270293 137 392 199 199 624 4201 158 372 131 158 299 366 189 235 361 174 305 152 431 361 349 189 221 188 419 189 271 248 226 855 1158 296 425 217 168 410 232 190 345 281 624 658 511 109 247 223 332 331 308 182 251 354 360 400 692 535 366 238 137 399 128 182 237 249 364 299 141 304 269 239 244 448 176 186 173 171 180 168 174 218 172 171 168 232 166 185 166 177 184 185 242 266 566 222 278 240 334 164 567 185 370 15220 245 143 143 138 138 204 219 219 338 161 668 257 268 136 146 146 119 176 155 150 124 124 466 206 208 130 139 135 235 370 206 149 136 134 125 290 K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T19:42:24.293410Z K 7 svn:log V 294 vt(4): Rename the "mouse_cursor" structure to "vt_mouse_cursor" At the same time, "w" and "h" members are now called "width" and "height". The goal is to have a more "public" structure, because it will soon be passed as argument to a new callback, replacing vd_bitbltchr_t. MFC after: 1 week END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-21T19:45:52.062888Z K 7 svn:log V 104 MFC r269525: Return 0 for the PPID of threads in process 0, as process 0 doesn't have a parent process. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-21T19:45:54.263883Z K 7 svn:log V 104 MFC r269525: Return 0 for the PPID of threads in process 0, as process 0 doesn't have a parent process. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-08-21T19:51:07.726707Z K 7 svn:log V 528 MFC r263815, r263872: Move ia64 efi.h to sys in preparation for amd64 UEFI support Prototypes specific to ia64 have been left in this file for now, under __ia64__, rather than moving them to a new header under sys/ia64. I anticipate that (some of) the corresponding functions will be shared by the amd64, arm64, i386, and ia64 architectures, and we can adjust this as EFI support on other than ia64 continues to develop. Fix missed efi.h header change in r263815 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-21T19:54:02.605316Z K 7 svn:log V 4108 MFC r266571, r266757, r268536, r269076, r269364, r269366, r269411, r269413, r269428, r269440, r269537, r269644, r269731, and the cxgbe portion of r270063. r266571: cxgbe(4): Remove stray if_up from the code that creates the tracing ifnet. r266757: cxgbe(4): netmap support for Terminator 5 (T5) based 10G/40G cards. Netmap gets its own hardware-assisted virtual interface and won't take over or disrupt the "normal" interface in any way. You can use both simultaneously. For kernels with DEV_NETMAP, cxgbe(4) carves out an ncxl interface (note the 'n' prefix) in the hardware to accompany each cxl interface. These two ifnet's per port share the same wire but really are separate interfaces in the hardware and software. Each gets its own L2 MAC addresses (unicast and multicast), MTU, checksum caps, etc. You should run netmap on the 'n' interfaces only, that's what they are for. With this, pkt-gen is able to transmit > 45Mpps out of a single 40G port of a T580 card. 2 port tx is at ~56Mpps total (28M + 28M) as of now. Single port receive is at 33Mpps but this is very much a work in progress. I expect it to be closer to 40Mpps once done. In any case the current effort can already saturate multiple 10G ports of a T5 card at the smallest legal packet size. T4 gear is totally untested. trantor:~# ./pkt-gen -i ncxl0 -f tx -D 00:07:43:ab:cd:ef 881.952141 main [1621] interface is ncxl0 881.952250 extract_ip_range [275] range is 10.0.0.1:0 to 10.0.0.1:0 881.952253 extract_ip_range [275] range is 10.1.0.1:0 to 10.1.0.1:0 881.962540 main [1804] mapped 334980KB at 0x801dff000 Sending on netmap:ncxl0: 4 queues, 1 threads and 1 cpus. 10.0.0.1 -> 10.1.0.1 (00:00:00:00:00:00 -> 00:07:43:ab:cd:ef) 881.962562 main [1882] Sending 512 packets every 0.000000000 s 881.962563 main [1884] Wait 2 secs for phy reset 884.088516 main [1886] Ready... 884.088535 nm_open [457] overriding ifname ncxl0 ringid 0x0 flags 0x1 884.088607 sender_body [996] start 884.093246 sender_body [1064] drop copy 885.090435 main_thread [1418] 45206353 pps (45289533 pkts in 1001840 usec) 886.091600 main_thread [1418] 45322792 pps (45375593 pkts in 1001165 usec) 887.092435 main_thread [1418] 45313992 pps (45351784 pkts in 1000834 usec) 888.094434 main_thread [1418] 45315765 pps (45406397 pkts in 1002000 usec) 889.095434 main_thread [1418] 45333218 pps (45378551 pkts in 1001000 usec) 890.097434 main_thread [1418] 45315247 pps (45405877 pkts in 1002000 usec) 891.099434 main_thread [1418] 45326515 pps (45417168 pkts in 1002000 usec) 892.101434 main_thread [1418] 45333039 pps (45423705 pkts in 1002000 usec) 893.103434 main_thread [1418] 45324105 pps (45414708 pkts in 1001999 usec) 894.105434 main_thread [1418] 45318042 pps (45408723 pkts in 1002001 usec) 895.106434 main_thread [1418] 45332430 pps (45377762 pkts in 1001000 usec) 896.107434 main_thread [1418] 45338072 pps (45383410 pkts in 1001000 usec) ... r268536: cxgbe(4): Add an iSCSI softc to the adapter structure. r269076: Some hooks in cxgbe(4) for the offloaded iSCSI driver. r269364: Improve compliance with style.Makefile(5). r269366: List one file per line in the Makefiles. This makes it easier to read diffs when a file is added or removed. r269411: cxgbe(4): minor optimizations in ingress queue processing. Reorganize struct sge_iq. Make the iq entry size a compile time constant. While here, eliminate RX_FL_ESIZE and use EQ_ESIZE directly. r269413: cxgbe(4): Fix an off by one error when looking for the BAR2 doorbell address of an egress queue. r269428: cxgbe(4): some optimizations in freelist handling. r269440: cxgbe(4): Remove an unused version of t4_enable_vi. r269537: cxgbe(4): Do not run any sleepable code in the SIOCSIFFLAGS handler when IFF_PROMISC or IFF_ALLMULTI is being flipped. bpf(4) holds its global mutex around ifpromisc in at least the bpf_dtor path. r269644: cxgbe(4): Let caller specify whether it's ok to sleep in t4_sched_config and t4_sched_params. r269731: cxgbe(4): Do not poke T4-only registers on a T5 (and vice versa). Relnotes: Yes (native netmap support for Chelsio T4/T5 cards) END K 10 svn:author V 2 np K 8 svn:date V 27 2014-08-21T19:58:46.736937Z K 7 svn:log V 67 MFC r270253: Change netmap's global lock to sx instead of a mutex. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-21T20:10:05.998180Z K 7 svn:log V 274 vt_vga: When clearing video memory, don't read from it The goal is to clear the video memory, in case an application drew to it. So the content shouldn't be loaded in the latches, it can't be trusted anyway. This improves a bit the window switch speed. MFC after: 1 week END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-21T20:33:09.143719Z K 7 svn:log V 40 Next round of fixes. MFC after: 3 days END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-21T20:35:39.671454Z K 7 svn:log V 67 Modify a few output file names as used with vt. MFC after: 3 days END K 10 svn:author V 3 rrs K 8 svn:date V 27 2014-08-21T20:36:22.667389Z K 7 svn:log V 206 This sync's down to my play branch JMG's crypto changes. He will be committing these through other channels some day so this branch will have to wait (if it ever goes anywhere) until those are sync'd down. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-08-21T20:55:10.075534Z K 7 svn:log V 270 Rename DT_FEATURE_1 to DT_FEATURE This provides a minor cleanup in elfdump; there are otherwise no consumers in the tree. Old SUN documentation can be found for either variant, but GNU binutils switched to DT_FEATURE around 2000. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-08-21T20:58:43.648226Z K 7 svn:log V 94 elfdump: Remove extraneous _SUNW_ in reported DT_ names Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-08-21T21:05:58.351975Z K 7 svn:log V 139 Add the Samsung 843T as a 4k enabled drive Submitted by: Jason Wolfe MFC after: 2 weeks Sponsored by: Limelight Networks END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-21T21:36:06.959434Z K 7 svn:log V 268 This module requires pci_if.h, add it to the SRCS list. We haven't noticed that it was missing because eisa has been disabled for a while in -current, but it became apparent when some parallel-build stuff was MFC'd to 10-stable and this module failed to build there. END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-21T21:48:33.770675Z K 7 svn:log V 83 MFC 270153, 270098: Apply a fixes to problems found while converting to NEWCONS. END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-21T21:53:43.500896Z K 7 svn:log V 213 MFC 270131, 270152, 270199, 270232: Add converter from SYSCONS keymap format to NEWCONS and configuration files. The convert-keymap.pl script can be used to convert private SYSCONS keymaps ro NEWCONS format. END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-21T21:57:18.795603Z K 7 svn:log V 61 MFC 269976. Add support for NEWCONS to kbdmap and vidfont. END K 10 svn:author V 2 se K 8 svn:date V 27 2014-08-21T22:04:17.234858Z K 7 svn:log V 339 MFC: 269950, 269952, 269973, 270114, 270119, 270142, 270156, 270200, 270229 Add fonts converted from SYSCONS with help of tools/tools/vt/keymaps for use with NEWCONS. The mapping from SYSCONS name to NEWCONS name is documented in KBDFILES.map in the tools directory. A few of the files where modified by Ed Maste (ca.kbd, ca-fr.kbd). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-21T22:42:02.162442Z K 7 svn:log V 268 This module requires pci_if.h, add it to the SRCS list. We haven't noticed that it was missing because eisa has been disabled for a while in -current, but it became apparent when some parallel-build stuff was MFC'd to 10-stable and this module failed to build there. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-08-21T22:44:08.447882Z K 7 svn:log V 256 MFC r265152 - Reintroduce priority for the TRIM ZIOs instead of using the "NOW" priority MFC r265321 - Fix double fault panic when returning EOPNOTSUPP MFC r269407 - Don't return ZIO_PIPELINE_CONTINUE from vdev_op_io_start methods Sponsored by: Multiplay END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-08-21T22:47:03.497228Z K 7 svn:log V 97 MFC r269974 - Added 4K quirks for Corsair Force GT and Samsung 840 SSDs Sponsored by: Multiplay END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-08-21T22:49:41.760414Z K 7 svn:log V 128 Commit of mergeinfo only to record the fact that r270311 changes are in 10-stable (I did the commit to the wrong branch first). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-21T22:53:14.596108Z K 7 svn:log V 92 Include two headers to provide prototype for modfind(2) and kldload(2). MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T00:54:00.331211Z K 7 svn:log V 326 Use 'WITHOUT_TESTS=1' instead of 'MK_TESTS=no' in the 'distribute' target of etc/Makefile, because we do not allow command-line use of 'make MK_TESTS=no' in stable/10. This fixes a regression introduced in r270187 that causes the release build to fail, and a direct commit to stable/10. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-22T01:23:38.383431Z K 7 svn:log V 93 Fix powerpc build: Chase r270227 and compile lockstat with C99 standard. Suggested by: bde END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-08-22T05:03:30.506232Z K 7 svn:log V 178 Fix a panic which occurs in a VIMAGE-enabled kernel after r270158, and separate socket_hhook_register() part and put it into VNET_SYS{,UN}INIT() handler. Discussed with: marcel END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-22T07:09:54.571109Z K 7 svn:log V 155 MFC r269708: Unlock ldvp and lock dvp to compensate for possible ldvp unlock in lower VOP_LOOKUP() and dvp reclamation. Use cached value of dvp->v_mount. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-22T07:52:47.692861Z K 7 svn:log V 133 Check the validity of struct sigaction sa_flags value, reject unknown flags. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-22T08:19:08.151425Z K 7 svn:log V 762 Ensure that sigaction flags for signal, which disposition is reset to ignored or default, are not leaking. Apparently, there exists code which relies on SA_SIGINFO not reported for SIG_DFL or SIG_IGN. In kern_sigaction, ignore flags when resetting. Encapsulate the flag and disposition testing into helper sigact_flag_test(). On exec, and when delivering signal with SA_RESETHAND flag set, signals are reset automatically. Use new helper sigdflt(), which removes duplicated code and corrects all flag bits for the signal. For proc0, set sigintr bit for all ignored signals. Ignored signals are consumed in tdsendsignal() and not delivered to the victim thread at all. Reported and tested by: royger Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-22T08:22:40.516249Z K 7 svn:log V 1059 vt(4): Add new vd_bitblt_text_t callback, and implement it for vt_vga Compared to the deprecated vd_bitbltchr_t callback, vd_bitblt_text_t receives: o the whole text buffer o the dirty area o the mouse cursor (map, position, colors) This allows the backend to perform optimization on how to draw things. The goal is to remove vd_bitbltchr_t and vd_putchar_t, once all driver are converted (only vt_vga is included in this commit). In vt_vga, this allows to draw the text and the cursor in one pass, without ever reading from video memory (because it has all the context). The main benefit is the speed improvement: no more slideshow during boot! Other bugs fixed in vt_vga are: o left-most characters are drawn properly (the left-most pixels were missing with bold characters and some wide letters such as 'm') o no more black square around the cursor o no cursor flickering when the text is scrolling There are still many problems to fix: the known issues are marked with "FIXME" inside the code. MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-22T10:31:57.441851Z K 7 svn:log V 199 if_carp.ko depends on sha1.c. This is direct commit to stable/9, since modern carp is diverged a lot from it. Relevant commit to head was r228576. Submitted by: Damir Bikmuhametov END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-22T10:49:51.770536Z K 7 svn:log V 327 vt_vga: Clip the draw area to never draw offscreen This fixes a bug when two windows use different fonts, but a longer-term solution is required. The dirty area should be stored as pixels, not character cells, because such coordinates don't have the same meaning in all windows, when using different fonts. MFC after: 1 week END K 10 svn:author V 5 marck K 8 svn:date V 27 2014-08-22T11:50:34.078890Z K 7 svn:log V 122 MFC bsd-family tree up to r269882 (from the stable/9 creation time), thus documenting many defferent releases up to date. END K 10 svn:author V 6 tychon K 8 svn:date V 27 2014-08-22T13:01:22.731713Z K 7 svn:log V 73 Fix a recursive lock acquisition in vi_reset_dev(). Reviewed by: grehan END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-08-22T13:15:59.860357Z K 7 svn:log V 317 We should never enter the PROBE_SETAN phase if we're not ATAPI, since that's ATAPI specific. Instead, skip to PROBE_SET_MULTI instead for non ATAPI protocols. The prior code incorrectly terminated the probe with a break, rather than arranging for probedone to get called. This caused panics or worse on some systems. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-08-22T13:39:56.240982Z K 7 svn:log V 135 Merge r268492: On machines with strict alignment copy pfsync_state_key from packet on stack to avoid unaligned access. PR: 187381 END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-22T13:48:33.557471Z K 7 svn:log V 93 vt(4): Mark new mouse position as dirty only when it's actually displayed MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2014-08-22T14:27:41.262037Z K 7 svn:log V 252 We need to have these added too. Obtained from: jmg MFC after: never AM sys/crypto/aesni/aesni_ghash.c AM sys/libkern/explicit_bzero.c AM sys/opencrypto/gfmult.c AM sys/opencrypto/gfmult.h AM sys/opencrypto/gmac.c AM sys/opencrypto/gmac.h END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-22T14:31:53.082574Z K 7 svn:log V 183 vt(4): Store cursor bitmap & colors in struct vt_device This removes the need to specify them to each call to vd_bitblt_text_t and, therefore, simplifies the API. MFC after: 1 week END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-22T15:05:51.986231Z K 7 svn:log V 528 pci: add a new pci_child_added newbus method. This is needed so when running under Xen the calls to pci_child_added can be intercepted and a custom Xen method can be used to register those devices with Xen. This should not include any functional change, since the Xen implementation will be added in a following patch and the native implementation is a noop. Sponsored by: Citrix Systems R&D Reviewed by: jhb dev/pci/pci.c: dev/pci/pci_if.m: dev/pci/pci_private.h: dev/pci/pcivar.h: - Add the pci_child_added newbus method. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-22T15:10:26.340841Z K 7 svn:log V 562 netback: fixes for netback This patch contains the following fixes for netback: - Only unbind the evtchn if it has been bound. - Set xnb->bridge to NULL after free to prevent double-freeing it. - Set the MAC address for the host-facing interface to a dummy value. Sponsored by: Citrix Systems R&D dev/xen/netback/netback.c: - Prevent trying to unbind if the evtchn has not been bounded. - Prevent double-freeing xnb->bridge. - Set the MAC address of the host-facing interface to a dummy value, so it can work when the interface is added to a bridge. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-08-22T15:12:20.530034Z K 7 svn:log V 415 MFC r268481: Rework when the Tx queue completion interrupt is enabled The Tx interrupt is now kept disabled in the common case, only enabled when the number of free descriptors in the queue falls below a threshold. Transmitted frames are cleared from the VQ before subsequent transmit, or in the watchdog timer. This was a very big performance improvement for an experimental Netmap bhyve backend. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-08-22T15:12:56.195932Z K 7 svn:log V 13 IFC @r270315 END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-22T15:16:41.673115Z K 7 svn:log V 149 vt(4): Give the window to vd_bitblt_text_t callback ... instead of both the buffer and the font. Again, this simplifies the API. MFC after: 1 week END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-22T15:34:56.201998Z K 7 svn:log V 127 netback: remove dead code Remove the xen_net_read_mac function since it's not used anymore. Sponsored by: Citrix Systems R&D END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-22T15:36:57.732029Z K 7 svn:log V 234 vt(4): The offset to center the text area is per-window now The previous global offset, based on the last loaded font, had no meaning for other windows. This caused a shifted text area, often partly out-of-screen. MFC after: 1 week END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-08-22T15:38:21.358571Z K 7 svn:log V 235 xen: fix incorrectly accounted free Fix some frees incorrectly assigned to M_XENBUS when the memory is allocated with M_XENSTORE. Sponsored by: Citrix Systems R&D MFC after: 1 week dev/xen/blkback/blkback.c: - Fix incorrect frees. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-22T16:30:26.812152Z K 7 svn:log V 210 vt(4): Don't run vt_set_border() and vt_flush() concurrently In the case of vt_vga, the two concurrent calls were writing to the same VGA registers, causing incorrect refresh of the screen. MFC after: 1 week END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-22T17:05:41.915384Z K 7 svn:log V 85 vt_vga: Remove a "FIXME" comment; the issue was solved in r270338 MFC after: 1 week END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-22T17:09:31.964769Z K 7 svn:log V 153 vt(4): Use the actual size of the mouse when marking its position as dirty This fixes a bug where part of the cursor was not erased. MFC after: 1 week END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-22T17:49:24.135902Z K 7 svn:log V 256 vt(4): Remove "FIXME" about multiple locking of vt_buf in vt_flush() After some testing, it appears that acquiring the lock once and keeping it longer is slower than taking it multiple times. While here, fix a typo in another comment. MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-08-22T18:09:06.439078Z K 7 svn:log V 264 MFC r263822: amd64: Parse the EFI memory map if present With this change (and loader.efi from [HEAD]) we can now boot under qemu using the OVMF UEFI firmware image with the limitation that a serial console is required. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-22T18:42:14.936199Z K 7 svn:log V 307 In do_lock_pi(), do not override error from umtxq_sleep_pi() when doing suspend check. This restores the pre-r251684 behaviour, to retry once after the signal is detected. PR: kern/192918 Submitted by: Elliott Rabe, Dell Inc., Eric van Gyzen Obtained from: Dell Inc. MFC after: 1 week END K 10 svn:author V 3 jfv K 8 svn:date V 27 2014-08-22T18:59:19.054541Z K 7 svn:log V 599 Update to the Intel Base driver for the Intel XL710 Ethernet Controller Family - It was decided to change the driver name to if_ixl for FreeBSD - This release adds the VF Driver to the tree, it can be built into the kernel or as the if_ixlv module - The VF driver is independent for the first time, this will be desireable when full SRIOV capability is added to the OS. - Thanks to my new coworker Eric Joyner for his superb work in both the core and vf driver code. Enjoy everyone! Submitted by: jack.vogel@intel.com and eric.joyner@intel.com MFC after: 3 days (hoping to make 10.1) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-22T19:08:12.152242Z K 7 svn:log V 438 Restore historical behavior of in_control, which, when no matching address is found, the first usable address is returned for legacy ioctls like SIOCGIFBRDADDR, SIOCGIFDSTADDR, SIOCGIFNETMASK and SIOCGIFADDR. While there also fix a subtle issue that a caller from a jail asking for INADDR_ANY may get the first IP of the host that do not belong to the jail. Submitted by: glebius Differential Revision: https://reviews.freebsd.org/D667 END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-22T19:21:08.410216Z K 7 svn:log V 271 Add some missing checks for unsupported interfaces (e.g. pflog(4)) when handling ioctls. While here, remove duplicated checks for a NULL ifp in in6_control(): this check is already done near the beginning of the function. PR: 189117 Reviewed by: hrs MFC after: 2 weeks END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-08-22T19:23:38.805913Z K 7 svn:log V 143 Suppress warnings when retrieving protocol stats from interfaces that don't support IPv6 (e.g. pflog(4)). Reviewed by: hrs MFC after: 2 weeks END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T19:37:50.455182Z K 7 svn:log V 42 MFC r268526: Integrate upstream changes. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T19:40:29.711744Z K 7 svn:log V 303 MFC r268534: Bugfix: When a remote address was added to an endpoint, a source address was selected and cached, but it was not stored that is was cached. This resulted in selecting different source addresses for the INIT-ACK and COOKIE-ACK when possible. Thanks to Niu Zhixiong for reporting the issue. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T19:43:27.265458Z K 7 svn:log V 33 MFC r268537: Whitespace changes. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T19:46:22.903917Z K 7 svn:log V 87 MFC r269075: Initialize notification structures. This was missed in an earlier commit END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T19:49:43.552015Z K 7 svn:log V 141 MFC r269376: Cleanup sctp_send_initiate() and sctp_send_initiate_ack() to be in sync as much as possible. This simplifies upcoming changes. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T19:53:10.028424Z K 7 svn:log V 153 MFC r269396: Remove the asconf_auth_nochk sysctl. This was off by default and only existed to be able to test with non-compliant peers a long time ago. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T19:57:39.837845Z K 7 svn:log V 268 MFC r269436, r269445: Cleanup the ECN configuration handling and provide an SCTP socket option for controlling ECN on future associations and get the status on current associations. A simialar pattern will be used for controlling SCTP extensions in upcoming commits. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T20:01:35.908544Z K 7 svn:log V 203 MFC r269448: Add support for the SCTP_PR_SUPPORTED socket option as specified in http://tools.ietf.org/html/draft-ietf-tsvwg-sctp-prpolicies Add also a sysctl controlling the default of the end-points. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-22T20:04:51.282238Z K 7 svn:log V 45 Make DTrace stuff compile with C99 standard. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T20:05:09.317299Z K 7 svn:log V 208 MFC r269475: Add SCTP socket option SCTP_NRSACK_SUPPORTED to control the NRSACK extension. The default will still be off, since it it not an RFC (yet). Changing the sysctl name will be in a separate commit. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T20:08:50.235763Z K 7 svn:log V 173 MFC r269481: Add support for the SCTP_PKTDROP_SUPPORTED socket option and the corresponding sysctl variable. The default is off, since the specification is not an RFC yet. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T20:16:26.351229Z K 7 svn:log V 143 MFC r269527: Add support for the SCTP_RECONFIG_SUPPORTED and the corresponding sysctl controlling the negotiation of the RE-CONFIG extension. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T20:22:12.762049Z K 7 svn:log V 148 MFC r269858: Add support for the SCTP_AUTH_SUPPORTED and SCTP_ASCONF_SUPPORTED socket options. Add also a sysctl to control the support of ASCONF. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T20:26:20.904271Z K 7 svn:log V 352 MFC r269945: Add support for the SCTP_PR_STREAM_STATUS and SCTP_PR_ASSOC_STATUS socket options. This includes managing the correspoing stat counters. Add the SCTP_DETAILED_STR_STATS kernel option to control per policy counters on every stream. The default is off and only an aggregated counter is available. This is sufficient for the RTCWeb usecase. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:03.794779Z K 7 svn:log V 84 Document r259328, geom_label is resize-aware. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:05.786613Z K 7 svn:log V 94 Document r259355, WANDBOARD kernel configuration added. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:07.690010Z K 7 svn:log V 81 Document r259450, Hyper-V support on i386. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:09.836501Z K 7 svn:log V 79 Document r259453, RT5370/RT5372 support. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:11.704915Z K 7 svn:log V 88 Document r260120, run(4) firmware update to 0.33. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:13.848168Z K 7 svn:log V 76 Document r260178, fsck_ffs '-R' flag. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:15.712946Z K 7 svn:log V 82 Document r260502, gmirror 'resize' command. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:17.591777Z K 7 svn:log V 125 Document r260857 and r260858: unmapped IO support in virtio_blk(4) and virtio_scsi(4). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:19.524802Z K 7 svn:log V 80 Document r261090, bhyve APCI S5 poweroff. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:21.417745Z K 7 svn:log V 79 Document r261868, Ralink RT3593 support. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:23.304130Z K 7 svn:log V 76 Document r261972, nve(4) deprecation. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:25.187259Z K 7 svn:log V 139 Document r262075, newsyslog(8) rotation by file size, instead of blocks consumed by the target file. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:27.041456Z K 7 svn:log V 74 Document r262137, axge(4) addition. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:29.003952Z K 7 svn:log V 93 Specify the driver for notes about r259453 and r261868 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:30.927005Z K 7 svn:log V 74 Document r262363, urndis(4) import. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:32.835801Z K 7 svn:log V 85 Document r262384, rctl_rules="" in rc.conf(5). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-22T20:32:34.712987Z K 7 svn:log V 92 Document r262701, kernel selection menu in loader(8). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-08-22T20:36:45.100384Z K 7 svn:log V 90 Remove debug output which was comitted by accident. This is a direct commit to stable/10. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-22T22:13:36.404895Z K 7 svn:log V 145 MFV r270197: Illumos issue: 5066 remove support for non-ANSI compilation 5068 Remove SCCSID() macro from MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-22T23:13:53.769829Z K 7 svn:log V 169 Instead of using timestamp in the AVL, use the memory address when comparing. Illumos issue: 5095 panic when adding a duplicate dbuf to dn_dbufs MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-08-23T01:52:43.483284Z K 7 svn:log V 469 Update hptnr(4) driver to version 1.0.1 supplied by the vendor. v1.0.1 2014-8-19 * Do not retry the command and reset the disk when failed to enable or disable spin up feature. * Fix up a bug that disk failed to probe if driver failed to access the 10th LBA. * Fix a bug that request timeout but it has been completed in certain cases. * Support smartmontool for R750. Many thanks to HighPoint for continued support of FreeBSD! MFC after: 3 days END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-23T02:20:49.633846Z K 7 svn:log V 128 MFC r270118: Add LIBUTIL to DPADD This will fix "make checkdpadd" PR: 192759 Approved by: rpaulo (mentor) Phabric: D623 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-08-23T02:24:47.739627Z K 7 svn:log V 184 MFC r270144: Add LIBCRYPT to DPADD, remove LDFLAGS from LDADD, and sort the Makefile variables This fixes "make checkdpadd" Phabric: D620 Approved by: jmmv (mentor) PR: 192729 END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-08-23T05:24:31.253046Z K 7 svn:log V 147 Relax one of the conditions for mapping a page on the fast path. Reviewed by: kib X-MFC with: r270011 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-23T07:02:57.150930Z K 7 svn:log V 236 vt_vga: Give only the character part of term_char_t to vga_get_cp437() This fixes a bug where vga_get_cp437() was called with an invalid argument. The screen was then filled with '?' instead of the actual character. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-23T07:03:04.709263Z K 7 svn:log V 72 MFC r270176: Fix lock recursion on LUN shutdown, introduced on r269497. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-23T07:41:08.075522Z K 7 svn:log V 469 vt(4): Fix a crash in vt_mark_mouse_position_as_dirty() when in textmode In textmode, no font is loaded, thus the page fault in vt_mark_mouse_position_as_dirty() when it wants the font width/height. For now, create a fake area for the textmode. This needs to be modified if vt_vga gains mouse support in textmode. While here, fix a build failure when SC_NO_CUTPASTE is defined: vt_mark_mouse_position_as_dirty() must not be included in this case. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T10:49:02.589769Z K 7 svn:log V 93 Setting rc_debug explicitly in /etc/defaults/rc.conf defeats its purpose. MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T10:51:37.918253Z K 7 svn:log V 277 Add support for /etc/rc.conf.d/ subdirectories. This is particularly useful for services such as "network" (netif) where each interface can now have its own separate configuration file. Add /etc/rc.conf.d to the mtree file so it is always present. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-08-23T10:58:16.156595Z K 7 svn:log V 15125 Bring in a collection of gcc and libstdc++ fixes and updates from head, most of which are already in stable/10 and stable/9 for some time. Requested by: danfe Tested by: danfe and make universe MFC r228328: Make it possible to use the debug versions of std::map and std::multimap with clang, by removing two unneeded using declarations. Otherwise, you would get errors similar to: /usr/include/c++/4.2/debug/map.h:77:20: error: dependent using declaration resolved to type without 'typename' using _Base::value_compare; ^ N.B.: Take care when you actually use the debug versions of any libstdc++ header. They are more likely to contain problems, because they are exercised far less often, and since the standard library complexity guarantees don't always apply anymore, compile times can drastically increase. MFC r228474 (by ed): Add support for __COUNTER__. __COUNTER__ allows one to obtain incrementing (read: unique) numbers from the C preprocesor. This is useful when implementing things like a robust implementation of CTASSERT(), which currently fails when using it more than once on a single line of code. Probably not likely to cause any breakage, but still. __COUNTER__ was also added to GCC 4.3, but since that implementation is GPLv3 licensed, I took the liberty of implementing it without looking at any upstream sources. Therefore, this version is licensed under the same license as the rest of the code; GPLv2. MFC r231336 (by kientzle): Implement -print-file-name=include (which is undocumented but used by some Linux boot loaders). This option prints out the directory holding the include files needed by a freestanding program. The default implementation of this doesn't work on FreeBSD because of the different include file layout. But it's easy to implement: just return /usr/include (or the cross-compiling equivalent). Reviewed by: kan MFC r233193: Add explicit braces to avoid dangling else in stl_tree.h. This silences the following warning produced by clang trunk: In file included from /usr/src/sbin/devd/devd.cc:91: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/map:64: /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/stl_tree.h:987:2: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else] else ^ MFC r241957: Fix several clang warnings in libstdc++, which were exposed by the recent atf import. These changes are purely cosmetic, no functional change. MFC r244776 (by pfg): gcc: avoid generating negative values to DW_AT_byte_size. There is a bug in gcc (GCC/35998) where dwarf reports sizes of unsigned -1 (0xffffffff). On NetBSD this generated a faulty CTF entry which then caused a segfault in ctfmerge. The issue was worked around in NetBSD's Dtrace but since the issue originated in gcc, it seems reasonable to fix it here. Upstream gcc has been slow to react to this issue and the author that submitted the patch is not interested in licensing the change to us, so I did an independent workaround for the issue. MFC r251212 (by pfg): GCC: bring back experimental support for amdfam10/barcelona CPUs. Initial support for the AMD amdfam10 chipsets has been available in the gcc43 branch under GPLv2. AMD and some linux distributions (OpenSUSE) did a backport of the amdfam10 support and made it available. This is a revised subset of the support initially brought in in r236962 and later reverted. The collateral efects seem to have disappeared but it is still recommended to set the CPUTYPE with caution. Reviewed by: jkim (ages ago) MFC r258017 (by pfg): cxxfilt: small changes from Apple's developer tools From Apple's Developer Tools 4.0 [1]: demangle.patch 2007-05-05 Geoffrey Keating (d_name): Detect local-source-name. (d_prefix): Likewise. (d_unqualified_name): Implement local-source-name. libiberty-printf.patch [1] http://opensource.apple.com/source/cxxfilt/cxxfilt-9/patches/ MFC r258429 (by pfg): libstdc++: merge non-abi changes from Apple's developer tools Take some changes from Apple's Developer Tools 4.0 [1]: block.patch emergency-buffer-reduction.patch test_cleanup.patch vector_copy_no_alloc.patch problem/6473222 copy-constructing a std::vector from an empty std::vector calls malloc 2008-10-27 Howard Hinnant stl_tree_system_header.patch Added #pragma GCC system_header to stl_tree.h. copy_doc.patch Corrected documentation concerning copy in stl_algobase.h. string_compare.patch Fixed basic_string.h, basic_string.tcc, incorrect 64bit to 32bit narrowing. Reference: [1] http://opensource.apple.com/source/libstdcxx/libstdcxx-39/patches-4.2.1/ Obtained from: Apple MFC r258501 (by pfg): gcc: Bring updates from Google's enhanced gcc-4.2.1. Google released and enhanced version of gcc-4.2.1 plus their local patches for Android[1]. The patches are owned by Google and the license hasn't been changed from the original GPLv2. We are only bringing a subset of the available patches that may be helpful in FreeBSD. Changes specific to android are not included. From the README.google file[1]. Patches applied to google_vendor_src_branch/gcc/gcc-4.2.1: gcc/Makefile.in gcc/c-common.c gcc/c-common.h gcc/c-opts.c gcc/c-typeck.c gcc/cp/typeck.c gcc/doc/invoke.texi gcc/flags.h gcc/opts.c gcc/tree-flow.h gcc/tree-ssa-alias-warnings.c gcc/tree-ssa-alias.c Backport of -Wstrict-aliasing from mainline. Silvius Rus gcc/coverage.c: Patch coverage_checksum_string for PR 25351. Seongbae Park Not yet submitted to FSF. gcc/c-opts.c gcc/c-ppoutput.c gcc/c.opt gcc/doc/cppopts.texi libcpp/Makefile.in libcpp/directives-only.c libcpp/directives.c libcpp/files.c libcpp/include/cpplib.h libcpp/init.c libcpp/internal.h libcpp/macro.c Support for -fdirectives-only. Ollie Wild . Submitted to FSF but not yet approved. libstdc++-v3/include/ext/hashtable.h http://b/742065 http://b/629994 Reduce min size of hashtable for hash_map, hash_set from 53 to 5 libstdc++-v3/include/ext/hashtable.h http://b/629994 Do not iterate over buckets if hashtable is empty. gcc/common.opt gcc/doc/invoke.texi gcc/flags.h gcc/gimplify.c gcc/opts.c Add Saito's patch for -finstrument-functions-exclude-* options. gcc/common.opt gcc/doc/invoke.texi gcc/final.c gcc/flags.h gcc/opts.c gcc/testsuite/gcc.dg/Wframe-larger-than.c Add a new flag -Wframe-larger-than- which enables a new warning when a frame size of a function is larger than specified. This patch hasn't been integrated into gcc mainline yet. gcc/tree-vrp.c Add a hack to avoid using ivopts information for pointers starting at constant values. Reference: [1] https://android.googlesource.com/toolchain/gcc/+/master/gcc-4.2.1/ Obtained from: Google Inc. MFC r258507 (by pfg): gcc: Missing makefile changes for r258501. pointyhat: me MFC r258530 (by pfg): libcpp: Keep a record of changes from upstream GCC (pre-43). This makes it easier to track the changes in the rare event of the code being distributed without access to version control. MFC r258651 (by pfg): gcc: Altivec register adjustments from Apple. Obtained from: gcc pre-4.3 (rev. 124763; GPLv2) MFC r258658 (by mdf): Fix a segfault / internal compiler error. Among other causes, when gcc throws a warning before parsing any tokens, the cur_token pointer is at the beginning of malloc'd memory. Dereferencing cur_token[-1] can cause a segfault. Code taken from OpenBSD http://www.openbsd.org/cgi-bin/cvsweb/src/gnu/gcc/libcpp/errors.c which was a more complete fix than the one I originally coded. MFC r258731 (by pfg): gcc: Make use of TREE_OVERFLOW_P. While it was brought in r258179 only to fix a build issue, bringing the rest of the change has the advantage of fixing GCC/19978. Obtained from: gcc 4.3 (rev. 120505; GPLv2) MFC r258748 (by pfg): gcc: upstream alignment cleanups. This solves GCC/32617 and contributes to reduce differences with Apple's gcc42. Complete some references in the ChangeLog while here. Obtained from: gcc 4.3 (rev. 126529, 126588; GPLv2) MFC r258817 (by pfg): libiberty: upstream updates. There is a new ChangeLog.gcc43 file but most notable: * floatformat.c (get_field): Fix segfault with little-endian word order on 64-bit hosts. (put_field): Likewise. (min): Move definition. gcc/cp/ChangeLog 2007-05-04 Geoffrey Keating PR 31775 * mangle.c (write_mangled_name): Mangle static variable names. (write_unqualified_name): Use local-source-name for namespace-scope static variables. (Completes FreeBSD's r258017 ) Obtained from: gcc 4.3 (rev. 118552, 120097, 20698, 120702, 121364, 122972, 126588; GPLv2) MFC r258826 (by pfg): libcpp: Merge fixes from upstream GCC preprocessor/29966: * macro.c (lex_expansion_token): Save and restore cpp_reader's cur_token. (_cpp_create_definition): Don't restore cur_token here. * lex.c (_cpp_lex_token): Added assertion. GCC preprocessor/28709: * macro.c (paste_tokens): Remove PASTE_LEFT from the old lhs. GCC c/31924 * expr.c (interpret_float_suffix): Check for invalid suffix. GCC preprocessor/14331 * lex.c (_cpp_get_fresh_line): Don't warn if no newline at EOF. Fixup whitespacing Obtained from: gcc per-4.3 (rev. 121340, 124356, 124358, 124730, 125212, 125255 ; GPLv2) MFC r258943 (by pfg): gcc: On rs6000 update sp_offset depending only on size. This fixes a nasty bug introduced in r258651. Reported and tested by: Justin Hibbits Obtained from: gcc pre-4.3 (rev. 125116; GPLv2) MFC r259005 (by pfg): gcc: Add -flax-vector-conversions Obtained from: gcc 4.3 (rev. 120572, 120688; GPLv2) MFC r259022 (by pfg): gcc: Include types in error message for build_binary_op. Mostly cosmetic change, again to reduce differences with Apple's gcc. Obtained from: gcc 4.3 (rev. 125239; GPLv2) MFC r259092 (by pfg): gcc: new fvisibility-ms-compat option Obtained from: gcc 4.3 (rev. 126088; GPLv2) MFC r259111: Use correct casts in gcc's emmintrin.h for the first arguments of the following builtin functions: * __builtin_ia32_pslldi128() takes __v4si instead of __v8hi * __builtin_ia32_psllqi128() takes __v2di instead of __v8hi * __builtin_ia32_psradi128() takes __v4si instead of __v8hi This should fix the following errors when building the LINT kernel with gcc: sys/crypto/aesni/aesni_wrap.c:191: error: incompatible type for argument 1 of '__builtin_ia32_psradi128' sys/crypto/aesni/aesni_wrap.c:195: error: incompatible type for argument 1 of '__builtin_ia32_pslldi128' MFC r259525 (by pfg): gcc: fix ICE in rs600 when using -fno-trapping-math. Solves GCC-PR target/30485 Obtained from: gcc 4.3 (rev. 120902; GPLv2) MFC r259529 (by pfg): gcc: small merges from upstream Solves GCC issues: PR middle-end/32602 PR middle-end/32603 Updates the to documentation and processing improvement. Obtained from: gcc 4.3 (rev. 119427, 126278, 126422; GPLv2) MFC r259555 (by pfg): gcc: add Apple compatible -Wnewline-eof GCC 4.2 and previous have always warned about "No newline at end of file". Upstream GCC removed the warning completely but Apple made it an optional warning. Adopt it for compatibility with older GCC and clang. While here, add comment to complement r258712. Obtained from: Apple Inc. (Apple GCC 4.2 - 5531) MFC r259558 (by pfg): gcc: add Apple compatible -Wnewline-eof Fix document: "Apple compatible" suits better the origin. MFC r259649 (by pfg): gcc: more diff reductions against Apple GCC. Mostly cosmetical changes to aid further merges. Obtained from: gcc 4.3 (rev. 120611, 124839; GPLv2) MFC r259655 (by pfg): gcc: merge upstream fix and new feature. Fix for PR c++/29928 Add support for Rvalue references as described here: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html Obtained from: gcc 4.3 (rev. 124724, 125211; GPLv2) MFC r259660 (by pfg): gcc: revert Rvalue references. They are very useful but at this time I prefer not to figure out some minor conflicts with the bigger Apple's blocks support patch that is being worked on for current. MFC r259841 (by pfg): gcc: Add ability to generate DWARF pubtypes section if DEBUG_PUBTYPES_SECTION is defined. Obtained from: gcc 4.3 (rev. 118826; GPLv2) MFC r259873 (by pfg): gcc: small enhancements for the arm support. Very small updates: fixes GCC-PR target/31152 Tested by building the cross-compiler. Obtained from: gcc 4.3 (rev. r118461, 125973: GPLv2) MFC r259944 (by pfg): gcc: merge small upstream change. Backport from mainline: 2007-04-24 Hui-May Chang * reload1.c (merge_assigned_reloads) : Do not merge a RELOAD_OTHER instruction with a RELOAD_FOR_OPERAND_ADDRESS instruction. Obtained from: gcc 4.3 (rev. r124115: GPLv2) MFC r260014 (by pfg): gcc: Add support for label attributes and "unavailable" attribute. Apple GCC has extensions to support for both label attributes and an "unavailable" attribute. These are critical for objc but are also useful in regular C/C++. Apparently at least the label attributes might have found their way to upstream GCC but the code doesn't seem available on the GPLv2 tree so we are taking the code directly from Apple. To make this clearer we are preserving the annoying "APPLE LOCAL" tags and the ChangeLogs when they are available. Obtained from: Apple GCC 4.2 - 5531 MFC r260099 (by pfg): gcc: Fix issue with "unavailable" attribute. While here, point where we dropped the support for objc from r260014. MFC r260310 (by pfg): libcpp: misc fixes from Apple's GCC. Fixes some bugs detected by Apple: #error with unmatched quotes pragma mark Obtained from: Apple GCC 4.2 - 5553 MFC r263775: Avoid "cc1: warning: is shorter than expected" when using GNU cpp in combination with dtrace scripts, which have "#!/usr/sbin/dtrace -Cs" shebang lines. This is because dtrace positions the file pointer after the shebang line, before passing the file to GNU cpp. To fix the warning, adjust the size downwards by the current position, after a bit of sanity checking. Suggested by: avg MFC r269948: Supplement r259111 by also using correct casts in gcc's emmintrin.h for the first argument of the following builtin function: * __builtin_ia32_psrlqi128() takes __v2di instead of __v4si This should fix the following errors when building the graphics/webp port with base gcc: lossless_sse2.c:403: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128' lossless_sse2.c:404: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128' Reported by: Jos Chrispijn END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-23T11:27:49.441980Z K 7 svn:log V 147 * Use OP_ADD/OP_DEL macro instead of plain integers. * ipfw_foreach_table_tentry() to permit listing arbitrary ipfw table using standart format. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T11:32:43.297581Z K 7 svn:log V 51 MFH (r269074): strip patch level from release name END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T11:32:48.267076Z K 7 svn:log V 51 MFH (r269074): strip patch level from release name END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T11:34:55.331535Z K 7 svn:log V 46 MFH (r269115): remove useless getpwnam() call END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T11:34:56.278080Z K 7 svn:log V 46 MFH (r269115): remove useless getpwnam() call END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-23T11:38:31.689193Z K 7 svn:log V 109 Add comment explaining one of the quirks in autofs. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T11:40:18.296098Z K 7 svn:log V 126 MFH (r268888): fix false negative for empty groups PR: 109416 MFH (r268890): add support for "account" facility PR: 115164 END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T11:40:40.873506Z K 7 svn:log V 126 MFH (r268888): fix false negative for empty groups PR: 109416 MFH (r268890): add support for "account" facility PR: 115164 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-23T11:45:14.818661Z K 7 svn:log V 243 Autofs softc needs to be global anyway, so don't pass it as a local variable, and don't store in autofs_mount. Also rename it from 'sc' to 'autofs_softc', since it's global and extern. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T11:46:26.997937Z K 7 svn:log V 69 MFH (r268864): document local_unbound changes (forgotten in r269257) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-23T11:46:52.550525Z K 7 svn:log V 570 vt(4): Fix cursor handling in vt_flush() There were situations where the cursor was not erased/redrawn or its position was marked as dirty even though it's not displayed. The code is now more straightforward. At the same, add a function to determine if the cursor covers a given area. This is used by backends to know if they need to draw the cursor. This new function should be paired with a new state in struct vt_device, called vd_mshown, which indicates if the cursor should be displayed. This again simplifies vd_bitblt_text_t callback's API. MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-23T11:51:46.770867Z K 7 svn:log V 162 Don't fail on executable maps that return no entries. This turns useless error message into useful one. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-08-23T12:00:45.482838Z K 7 svn:log V 173 Add "nobrowse" option. Previously automountd(8) always behaved as if it was set, now it's conditional. PR: 192862 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-23T12:41:39.920810Z K 7 svn:log V 39 Simplify table reference/create chain. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T14:42:49.724209Z K 7 svn:log V 54 MFH (r268877, r268921): use -o instead of a redirect. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T14:42:53.126925Z K 7 svn:log V 54 MFH (r268877, r268921): use -o instead of a redirect. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-23T14:58:31.191046Z K 7 svn:log V 22 Sync to HEAD@r270409. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-23T15:00:47.317786Z K 7 svn:log V 79 vt_fb: Implement vd_bitblt_text_t for vt_fb and derivatives MFC after: 1 week END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-23T15:04:20.522302Z K 7 svn:log V 58 creator_fb: Implement vd_bitblt_text_t MFC after: 1 week END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-08-23T15:05:11.335544Z K 7 svn:log V 53 ofwfb: Implement vd_bitblt_text_t MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T15:07:02.367830Z K 7 svn:log V 32 MFH (r263160): remove lukemftpd END K 10 svn:author V 3 des K 8 svn:date V 27 2014-08-23T15:07:09.259694Z K 7 svn:log V 32 MFH (r263160): remove lukemftpd END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-08-23T15:54:22.571415Z K 7 svn:log V 373 In r260015, I renamed several identifiers to avoid -Wsystem-header warnings. In r261283, I imported libc++ 3.4 release, but this contained one identifier that had not been renamed yet, leading to a compilation error when using -std=c++1y. Fix the compilation error by correctly renaming the identifier. Reported by: rcarter@pinyon.org PR: base/192139 MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-23T15:59:31.727092Z K 7 svn:log V 113 Fix arm build breakage when building stable/10 on head/. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-08-23T16:15:16.413719Z K 7 svn:log V 115 Also export UNAME_r to fix arm builds. MFC after: 3 days X-MFC-with: r270417 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-23T17:19:12.353502Z K 7 svn:log V 35 Print all registers and align them END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-23T17:19:15.764775Z K 7 svn:log V 44 Make the breakpoint exception handler panic END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-23T17:19:18.597411Z K 7 svn:log V 40 Start to handle data/instruction aborts END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-23T17:19:21.406007Z K 7 svn:log V 139 Handle more exceptions. While here clean up the vector macros to only use one as they were identical other than the location to branch to. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-08-23T17:31:56.163467Z K 7 svn:log V 277 Restore pre-r239157 handling of sched_yield(), when thread time slice was aborted, allowing other threads to run. Without this change thread is just rescheduled again, that was illustrated by provided test tool. PR: 192926 Submitted by: eric@vangyzen.net MFC after: 2 weeks END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-23T17:37:18.224980Z K 7 svn:log V 108 Merge buffer-printing changes from from projects/ipfw as preparation for branch merge. Requested by: luigi END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-08-23T17:57:06.745755Z K 7 svn:log V 52 Whitespace/style changes merged from projects/ipfw. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-23T18:07:37.124902Z K 7 svn:log V 41 pmap_remove works with userland mappings END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-23T18:07:40.594948Z K 7 svn:log V 39 Set the new ttbr0_el1 in pmap_activate END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-08-23T18:07:43.778305Z K 7 svn:log V 30 Lock the pmap in pmap_protect END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-08-23T18:11:54.463605Z K 7 svn:log V 197 For CPUs which do hardware cache line unaliasing, use direct map to access sfbufs. Suggested and reviewed by: alc Tested by: Michael Moll Sponsored by: The FreeBSD Foundation END