ƒ´ 237000 177 1323 200 344 142 668 171 129 383 473 2444 142 241 689 326 232 145 589 459 149 310 427 310 155 263 263 165 116 238 187 119 127 136 194 337 432 275 298 172 674 313 620 258 457 379 371 335 490 213 236 265 236 236 161 501 501 115 124 279 674 385 401 217 128 119 200 282 206 316 268 131 142 193 244 179 149 153 206 175 195 186 197 205 190 1055 128 159 159 151 251 149 535 547 547 149 149 1841 1841 219 201 172 460 442 738 295 295 135 521 326 577 167 199 146 156 252 252 258 205 205 156 267 148 201 553 584 188 145 283 139 283 147 322 161 185 260 1339 263 136 122 271 262 138 325 196 154 336 336 164 150 197 197 195 212 163 240 167 215 131 117 151 591 123 303 292 291 256 337 99 136 722 280 103 312 327 150 160 129 126 K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-13T06:57:55.102013Z K 7 svn:log V 1226 Implement a separate, smaller pool of ath_buf entries for use by management traffic. * Create sc_mgmt_txbuf and sc_mgmt_txdesc, initialise/free them appropriately. * Create an enum to represent buffer types in the API. * Extend ath_getbuf() and _ath_getbuf_locked() to take the above enum. * Right now anything sent via ic_raw_xmit() allocates via ATH_BUFTYPE_MGMT. This may not be very useful. * Add ATH_BUF_MGMT flag (ath_buf.bf_flags) which indicates the current buffer is a mgmt buffer and should go back onto the mgmt free list. * Extend 'txagg' to include debugging output for both normal and mgmt txbufs. * When checking/clearing ATH_BUF_BUSY, do it on both TX pools. Tested: * STA mode, with heavy UDP injection via iperf. This filled the TX queue however BARs were still going out successfully. TODO: * Initialise the mgmt buffers with ATH_BUF_MGMT and then ensure the right type is being allocated and freed on the appropriate list. That'd save a write operation (to bf->bf_flags) on each buffer alloc/free. * Test on AP mode, ensure that BAR TX and probe responses go out nicely when the main TX queue is filled (eg with paused traffic to a TID, awaiting a BAR to complete.) PR: kern/168170 END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-06-13T08:00:32.804314Z K 7 svn:log V 108 Fix ZFS boot with pre-features pools (version <= 28) broken in r236884 Reported by: mav MFC after: 1 month END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-06-13T08:11:41.452785Z K 7 svn:log V 249 Add code to detect dependency loops created by moving part of a port into another port, and CONFLICT'ing on previous versions of that port (ala textproc/p5-XML-SAX -> p5-XML-SAX-Base). When a loop is detected suggest that the user try pkg_updating. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-06-13T09:07:41.227046Z K 7 svn:log V 48 Remove one more too-verbose term_printf from -a END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-06-13T10:42:55.086094Z K 7 svn:log V 573 Revert r237003 since it is needed to restore the terminal title during a long delay between -a ports to update. Add a comment so I don't forget. Also restore part of r236996, match >> for the in-line term_printf() code, and add that pattern in post_first_pass() where it's needed to match. Adjust the summary message in multiport() to suit. Arguably this is a more elegant way to present the information anyway. Don't bother trying to delete empty directories in WRKDIRPREFIX if we are exiting abnormally, chances are there will be a work directory from the failed port. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-06-13T11:59:03.338639Z K 7 svn:log V 79 Remove auth.conf and related files. Submitted by: trhodes@ MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2012-06-13T11:59:47.010913Z K 7 svn:log V 37 Remove leading / MFC after: 3 weeks END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-06-13T14:47:03.035916Z K 7 svn:log V 286 MFC r234188,r234463,r234465: - Update the swi_add prototype after struct ithd was split up into struct intr_event and struct intr_thread. [1] - Update the rest of struct ithd references. - net_ih and softclock_ih cookies have gone away. - Document swi_remove(9). PR: docs/166864 [1] END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-06-13T15:04:50.373102Z K 7 svn:log V 380 Fix a couple of bugs that prevented windows in PCI-PCI bridges from growing "downward" (moving the start address down). First, an off by one error caused the end address to be moved down an extra alignment chunk unnecessarily. Second, when aligning the new candidate starting address, the wrong bits were masked off. Tested by: Andrey Zonov andrey zonov org MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-06-13T15:25:52.537610Z K 7 svn:log V 2350 MFC 230260-230262,230269,230270,230426,230429,230538,230765,230766,230864, 232520 (partial),235563: Add support for the extended FPU states on amd64, both for native 64bit and 32bit ABIs. As a side-effect, it enables AVX on capable CPUs. In particular: - Query the CPU support for XSAVE, list of the supported extensions and the required size of FPU save area. The hw.use_xsave tunable is provided for disabling XSAVE, and hw.xsave_mask may be used to select the enabled extensions. - Remove the FPU save area from PCB and dynamically allocate the (run-time sized) user save area on the top of the kernel stack, right above the PCB. Reorganize the thread0 PCB initialization to postpone it after BSP is queried for save area size. - The dumppcb, stoppcbs and susppcbs now do not carry the FPU state as well. FPU state is only useful for suspend, where it is saved in dynamically allocated suspfpusave area. - Use XSAVE and XRSTOR to save/restore FPU state, if supported and enabled. - Define new mcontext_t flag _MC_HASFPXSTATE, indicating that mcontext_t has a valid pointer to out-of-struct extended FPU state. Signal handlers are supplied with stack-allocated fpu state. The sigreturn(2) and setcontext(2) syscall honour the flag, allowing the signal handlers to inspect and manipilate extended state in the interrupted context. - The getcontext(2) never returns extended state, since there is no place in the fixed-sized mcontext_t to place variable-sized save area. And, since mcontext_t is embedded into ucontext_t, makes it impossible to fix in a reasonable way. Provide a sysarch(2) facility to query extended FPU state. - Add API for obtaining extended machine context states that cannot be fit into existing mcontext_t. On i386 and amd64 return the extended FPU states using getcontextx(3). For other architectures, getcontextx(3) returns the same information as getcontext(2). - Add ptrace(2) support for getting and setting extended state; while there, implement missed PT_I386_{GET,SET}XMMREGS for 32bit binaries. - Change fpu_kern KPI to not expose struct fpu_kern_ctx layout to consumers, making it opaque. Internally, struct fpu_kern_ctx now contains a space for the extended state. Convert in-kernel consumers of fpu_kern KPI both on i386 and amd64. Reviewed by: kib END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-13T16:12:30.759481Z K 7 svn:log V 50 Remove leakage of other patches into last commit. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-06-13T16:40:47.849797Z K 7 svn:log V 148 Also remove /usr/share/examples/etc/auth.conf, which I didn't even realize existed. Noticed by: Andrey Zonov MFC after: 3 weeks END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-06-13T17:12:53.163459Z K 7 svn:log V 596 Re-apply reverted parts of r236935 by pjd with some changes. If fdalloc() decides to grow fdtable it does it once and at most doubles the size. This still may be not enough for sufficiently large fd. Use fd in calculations of new size in order to fix this. When growing the table, fd is already equal to first free descriptor >= minfd, also fdgrowtable() no longer drops the filedesc lock. As a result of this there is no need to retry allocation nor lookup. Fix description of fd_first_free to note all return values. In co-operation with: pjd Approved by: trasz (mentor) MFC after: 1 month END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-06-13T17:18:16.169483Z K 7 svn:log V 233 Remove 'low' argument from fd_last_used(). This function is static and the only caller always passes 0 as low. While here update note about return values in comment. Reviewed by: pjd Approved by: trasz (mentor) MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-06-13T17:45:38.841025Z K 7 svn:log V 139 Restore 229262 which was accidentally reverted in a prior change: Implement BUS_ADD_CHILD() for the isab(4) driver. Submitted by: fabient END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-06-13T18:57:27.569002Z K 7 svn:log V 52 mdoc: avoid nested displays. Fixes mandoc warnings. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-13T19:00:29.964186Z K 7 svn:log V 496 There is only one caller of the dupfdopen() function, so we can simplify it a bit: - We can assert that only ENODEV and ENXIO errors are passed instead of handling other errors. - The caller always call finstall() for indx descriptor, so we can assume it is set. Actually the filedesc lock is dropped between finstall() and dupfdopen(), so there is a window there for another thread to close the indx descriptor, but it will be closed in next commit. Reviewed by: mjg MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-06-13T19:04:39.516209Z K 7 svn:log V 366 Ensure that the beginning of the DSS is aligned on a chunk boundary. If the _end symbol used an address with the low bit set, then the initial arena could end up with corrupted rb trees causing a crash during the first call to malloc(). This is a direct commit to stable/9 as it does not affect the version of malloc in HEAD. Reviewed by: jasone MFC after: 1 week END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-06-13T19:08:00.037815Z K 7 svn:log V 56 Sync example file with mdoc changes made in rev 235450. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-06-13T19:53:29.378056Z K 7 svn:log V 217 MFC r233098: Make sure libgcc_s is finished building in _startup_libs before building libcxxrt with high -j levels. The workaround in libc++/Makefile isn't necessary once that race is solved. Reviewed by: theraven END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-06-13T20:14:41.154036Z K 7 svn:log V 330 Few changes in AM335x/beaglebone padconf: - added padconf to gpio mapping functions - renamed pad states - added more padmux definitions With this changes gpioctl(8) can be used for controlling gpios. Following example toggles LED1 (bank 1 pin 21) on beaglebone: gpioctl -f /dev/gpioc0 -c 53 OUT gpioctl -f /dev/gpioc0 -t 53 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-06-13T20:21:08.326831Z K 7 svn:log V 217 Revert r236962 - Experimental amdfam10/barcelona support. The patches are unexpectedly causing gcc to fail while building ports/graphics/ImageMagick even when the cpu flags are not used. Reported by: Andreas Tobler END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-06-13T20:30:25.337596Z K 7 svn:log V 59 AM335x GPIO mode requires a bit different clock activation END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-06-13T20:31:30.038218Z K 7 svn:log V 170 MFC r230188i (by das): Correct some bugs that resulted from arm/_fpmath.h being blindly copied from the x86 version, which has a completely different long double format. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-06-13T20:34:14.222778Z K 7 svn:log V 170 MFC r230188i (by das): Correct some bugs that resulted from arm/_fpmath.h being blindly copied from the x86 version, which has a completely different long double format. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-06-13T20:41:45.518270Z K 7 svn:log V 72 Add a convenience macro for the fastcall attribute. MFC after: 2 weeks END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-06-13T20:43:59.730604Z K 7 svn:log V 20 remove debug printf END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-06-13T21:03:01.578407Z K 7 svn:log V 144 - Fix resumectx() prototypes to reflect reality. - For i386, simply jump to resumectx() with PCB in %ecx. - Fix a style(9) nit while I am here. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-13T21:10:00.120064Z K 7 svn:log V 95 There is no need to set td->td_retval[0] to -1 on error. Confirmed by: jhb MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-13T21:11:58.475870Z K 7 svn:log V 27 Style. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-13T21:13:18.039585Z K 7 svn:log V 35 Add missing {. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-13T21:15:01.355735Z K 7 svn:log V 44 Remove duplicated code. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-13T21:22:35.375581Z K 7 svn:log V 101 - Remove nfp variable that is not really needed. - Update comment. - Style nits. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-13T21:32:35.035585Z K 7 svn:log V 244 Allocate descriptor number in dupfdopen() itself instead of depending on the caller using finstall(). This saves us the filedesc lock/unlock cycle, fhold()/fdrop() cycle and closes a race between finstall() and dupfdopen(). MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-13T21:38:07.194418Z K 7 svn:log V 339 Now that dupfdopen() doesn't depend on finstall() being called earlier, indx will never be -1 on error, as none of dupfdopen(), finstall() and kern_capwrap() modifies it on error, but what is more important none of those functions install and leave file at indx descriptor on error. Leave an assert to prove my words. MFC after: 1 month END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-06-13T21:53:40.426996Z K 7 svn:log V 179 find(1): Move description of -d option to -depth primary. The nullary -depth primary is standard and the -d option provides little advantage. PR: docs/168885 MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-13T22:12:10.909980Z K 7 svn:log V 205 When checking if file descriptor number is valid, explicitely check for 'fd' being less than 0 instead of using cast-to-unsigned hack. Today's commit was brought to you by the letters 'B', 'D' and 'E' :) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-06-13T22:53:56.423513Z K 7 svn:log V 79 - Remove unused code for CR3 and CR4. - Fix few style(9) nits while I am here. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-14T00:51:53.341138Z K 7 svn:log V 578 Implement a global (all non-mgmt traffic) TX ath_buf limitation when ath_start() is called. This (defaults to 10 frames) gives for a little headway in the TX ath_buf allocation, so buffer cloning is still possible. This requires a lot omre experimenting and tuning. It also doesn't stop a node/TID from consuming all of the available ath_buf's, especially when the node is going through high packet loss or only talking at a low TX rate. It also doesn't stop a paused TID from taking all of the ath_bufs. I'll look at fixing that up in subsequent commits. PR: kern/168170 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-06-14T03:27:01.298759Z K 7 svn:log V 215 __flt_rounds is a public symbol (expands from the FLT_ROUNDS macro), so include it in the public namespace on arm just as with other architectures. This corrects r236816. Submitted by: Jan Sieka MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-14T04:00:30.238057Z K 7 svn:log V 527 Modify all the arm platform files to call parse_boot_param passing in the boot parameters from initarm first thing. parse_boot_param parses the boot arguments and converts them to the /boot/loader metadata the rest of the kernel uses. parse_boot_param is a weak alias to fake_preload_metadata, which all the platforms use now, but may become more extensive in the future. Since it is a weak symbol, specific boards may define their own parse_boot_param to interface to custom boot loaders. Reviewed by: cognet@, Ian Lapore END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-14T04:01:25.423801Z K 7 svn:log V 162 Disable this warning debug for now, as I'm now aware of the particular situation where it's occuring. Whilst I'm here, flesh out a more descriptive description. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-14T04:09:20.996059Z K 7 svn:log V 364 Create default_parse_boot_param which, if FreeBSD /boot/loader support is enabled, sets values based on the metadata passed in. Otherwise fake_preload_metadata is called. Change the default parse_boot_param to default_parse_boot_param. Enable this functionality only on the mv platform, which is where most of the code is from. Reviewed by: cognet, Ian Lapore END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-14T04:14:06.878334Z K 7 svn:log V 283 Disable BGSCAN for 802.11n for now. Until scanning during traffic is fixed for 802.11n TX, this needs to be disabled or users wlil see randomly hanging aggregation sessions. Whilst I'm here, remove the warning about 802.11n being full of dragons. It's nowhere near that scary now. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-14T04:16:16.612191Z K 7 svn:log V 278 Add support for parsing Linux ATAGs such as you'd see from uboot or redboot. Support is very preiminary and likely needs some work. Also, do some minor code shuffling of the FreeBSD /boot/loader metadata parsing code. This code is preliminary and should be used with caution. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-14T04:18:56.798529Z K 7 svn:log V 242 More Linux boot support. Create arm_dump_avail_init() to initialize this array either from Linux boot data, when enabled, or in the typical way that most ports do it. arm_pyhs_avail_init is coming soon since it must be a separate function. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-14T04:24:13.537305Z K 7 svn:log V 394 Shrink ath_buf a little more: * Resize some types. In particular, bfs_seqno can be uint16_t for now. Previous work would assign the unassigned seqno a value of -1, which I obviously can't do here. * Remove bfs_pktdur. It was in the original code but nothing so far uses it. This gets ath_buf down (on my i386 system) to 292 bytes from 300 bytes. I'd rather it be much, much smaller. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-14T06:26:58.307240Z K 7 svn:log V 117 MFC r236355: Fix a variety of compile errors with gcc48 and clang PR: bin/165699 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-14T06:54:35.554181Z K 7 svn:log V 140 MFC r236287: add missing variable declaration when DEBUG is defined forgotten in r215046 PR: bin/166404 Approved by: cperciva (implicit) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-06-14T06:54:48.217014Z K 7 svn:log V 169 Pass flowid explicitly through the stack instead of taking it from the mbuf chain at different places. While there: Fix several bugs related to VRFs. MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-14T06:55:16.756421Z K 7 svn:log V 140 MFC r236287: add missing variable declaration when DEBUG is defined forgotten in r215046 PR: bin/166404 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-14T06:55:40.565273Z K 7 svn:log V 140 MFC r236287: add missing variable declaration when DEBUG is defined forgotten in r215046 PR: bin/166404 Approved by: cperciva (implicit) END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-14T07:12:41.336648Z K 7 svn:log V 69 Branch for developing and testing changes to the superpages support. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-06-14T07:40:18.191526Z K 7 svn:log V 404 Merge r236671 from head: Merge revision 1.715 from OpenBSD: date: 2010/12/24 20:12:56; author: henning; state: Exp; lines: +3 -3 in pf_src_connlimit, the indices to sk->addr were swapped. tracked down and diff sent by Robert B Mills thanks, very good work! ok claudio Impact is that the "flush" keyword didn't work. Obtained from: OpenBSD END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-06-14T07:51:37.650916Z K 7 svn:log V 404 Merge 236560 and following 236563,236598 from head: Optimise kern_sendfile(): skip cycling through the entire mbuf chain in m_cat(), storing pointer to last mbuf in chain in local variable and attaching new mbuf to the end of chain. Submitter reports that CPU load dropped for > 10% on a web server serving large files with this optimisation. Submitted by: Sergey Budnevitch END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-06-14T10:35:21.695685Z K 7 svn:log V 21 Integrate from HEAD. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-06-14T10:48:41.975121Z K 7 svn:log V 30 Integrate from HEAD @r237055. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-06-14T11:17:54.783946Z K 7 svn:log V 187 Always reconstruct partition entries in the PMBR when Boot Camp is disabled. This helps to easily recover from situations when PMBR is damaged and contains no entries. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-14T11:20:22.904016Z K 7 svn:log V 581 Eliminate the static buffer used to read the first page of the mapped object, and eliminate the pread(2) call as well [1]. Mmap the first page of the object temporaly, and unmap it on error or last use. Potentially, this leaves one-page gap between succeeding dlopen(3), but there are other mmap(2) consumers as well. Fix several cases were the whole mapping of the object leaked on error. Use MAP_PREFAULT_READ for mmap(2) calls which map real object pages [2]. Insipired by the patch by: Ian Lepore [1] Suggested by: alc [2] MFC after: 2 weeks END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-06-14T11:21:21.547671Z K 7 svn:log V 288 MFC r234188,r234463,r234465: - Update the swi_add prototype after struct ithd was split up into struct intr_event and struct intr_thread. [1] - Update the rest of struct ithd references. - net_ih and softclock_ih cookies have gone away. - Document swi_remove(9). PR: docs/166864 [1] END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-06-14T11:39:43.162508Z K 7 svn:log V 304 MFC r234188, r234463, r234465 (partially, except softclock_ih): - Update the swi_add prototype after struct ithd was split up into struct intr_event and struct intr_thread. [1] - Update the rest of struct ithd references. - net_ih cookie has gone away. - Document swi_remove(9). PR: docs/166864 [1] END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-14T12:28:43.720185Z K 7 svn:log V 124 Make sure that fstab fd is not leaked on exec. PR: kern/169023 Submitted by: Jukka Ukkonen MFC after: 1 week END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-06-14T12:31:50.860987Z K 7 svn:log V 34 Fix mismerge from last integrate. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T12:37:41.729866Z K 7 svn:log V 27 Style. MFC after: 1 month END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-06-14T12:38:51.551619Z K 7 svn:log V 105 Add SACK_PERMIT to the list of TCP options that are switched off after retransmitting a SYN three times. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T12:41:21.460337Z K 7 svn:log V 189 When we are closing capabilities during exec, we want to call mq_fdclose() on the underlying object and not on the capability itself. Similar bug was fixed in r236853. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T12:43:37.413572Z K 7 svn:log V 113 Remove code duplication from fdclosexec(), which was the reason of the bug fixed in r237065. MFC after: 1 month END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-06-14T13:55:52.532270Z K 7 svn:log V 220 The second argument of sleepq_timedwait_sig() is priority and it does not concern signal caught in previous calls as I thought and the manpage says. Fix kern_nanosleep() accordingly. Reported by: bde Reviewed by: bde END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-06-14T14:01:54.030834Z K 7 svn:log V 172 Fix (or at least, workaround) an include conflict in libprocstat which causes buildworld to fail, after my recent changes to sys/sys/_callout.h header. Reviewed by: stas END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-14T14:38:55.014273Z K 7 svn:log V 39 Defines for parsing linux ATAGs lists. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T15:21:57.845840Z K 7 svn:log V 50 Style fixes. Reported by: bde MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T15:23:51.514640Z K 7 svn:log V 100 Explicitly check if 'fd' is less than 0 instead of using cast-to-unsinged hack. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T15:24:45.863921Z K 7 svn:log V 151 Add FILEDESC_UNLOCK_ASSERT() macro which asserts that the filedesc is not being held by the current thread (at least exclusively). MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T15:26:23.993442Z K 7 svn:log V 87 Assert that the filedesc lock is not held when closef() is called. MFC after: 1 month END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-06-14T15:27:33.346109Z K 7 svn:log V 53 Add arm. This is naive and needs to be auto-sensed. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T15:34:10.627940Z K 7 svn:log V 61 Style fixes and assertions improvements. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T15:35:14.346249Z K 7 svn:log V 113 - Assert that the filedesc lock is being held when fdisused() is called. - Fix white spaces. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T15:37:15.199894Z K 7 svn:log V 83 Simplify the code by making more use of the fdtofp() function. MFC after: 1 month END K 10 svn:author V 4 emax K 8 svn:date V 27 2012-06-14T15:39:14.819657Z K 7 svn:log V 101 MFC r236693 Count both IPv4 and IPv6 TCP connections in tcpCurrEstab Timeout from: current, syrinx END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-06-14T16:20:19.148119Z K 7 svn:log V 89 Add more quirks for USB MIDI adapters. Obtained from: Clemens Ladisch MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T16:23:16.022334Z K 7 svn:log V 104 Assert that the filedesc lock is being held when the fdunwrap() function is called. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T16:24:03.220275Z K 7 svn:log V 112 Explicitly assert that the filedesc lock is held when the fget_locked() function is called. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T16:25:10.243456Z K 7 svn:log V 98 Remove fdtofp() function and use fget_locked(), which works exactly the same. MFC after: 1 month END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-14T16:53:08.879729Z K 7 svn:log V 962 Speed up the destruction of superpage mappings on amd64 by eliminating the frequent need for pmap_remove_pages() and pmap_remove_pde() to access each struct vm_page that makes up a superpage. This is accomplished through a combination of two changes: 1) Replace PGA_WRITEABLE with an exact count of write mappings at both the 4KB and 2MB granularity so that pmap_remove_pages() and pmap_remove_pde() must no longer access each struct vm_page in order to clear PGA_WRITEABLE. (These counts are stored in space that was previously lost to alignment in struct md_page, so struct vm_page is no larger.) 2) Call vm_page_dirty() during promotion of write mappings rather than pmap_remove_pages() and pmap_remove_pde(). Each struct vm_page is already accessed on promotion, so adding a call to vm_page_dirty() shouldn't result in additional cache misses. For "buildworld", this reduces the average running time of pmap_remove_pages() by 23%. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-14T17:32:58.286870Z K 7 svn:log V 36 Update comment. MFC after: 1 month END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-14T17:40:49.248120Z K 7 svn:log V 67 Correctly identify the function in a KASSERT(). MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-14T17:47:54.497220Z K 7 svn:log V 67 Update a couple comments to reflect r235598. X-MFC after: r235598 END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-14T17:54:52.402335Z K 7 svn:log V 59 MFC r237086 Loop back fixes to comments and a KASSERT(). END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-06-14T18:16:35.476338Z K 7 svn:log V 159 MFC r236889 (theraven): Fix a leak when setting the global character locale to "C" from something else. Reported by: mm (myself) Approved by: theraven (IRC) END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-14T18:37:00.204273Z K 7 svn:log V 57 Fix missing straggler for the move to parse_boot_param() END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-06-14T19:30:31.562556Z K 7 svn:log V 440 Improve the functionality of the PORTS_MODULES knob by adding LOCALBASE/bin and sbin to PATH, allowing dependencies to be found; adding SRC_BASE and OSVERSION to match the new kernel, and putting the related builds under MAKEOBJDIRPREFIX so that they only need to be built once per kernel. In addition to the PR this includes ideas/contributions from crees and matthew. PR: ports/161452 Submitted by: Garrett Cooper END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-14T19:55:19.299705Z K 7 svn:log V 451 MFC: r236579 The workaround added in r151650 for handling firmwares that don't allow a single device to be opened multiple times concurrently unfortunately isn't sufficient with ZFS. This is due to the fact, that ZFS may open different partitions of a single device simultaneously. So the best we can do in this case is to cache the lastly used device path and close and open devices in ofwd_strategy() as needed. PR: 165025 Submitted by: Gavin Mu END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-14T19:55:22.368517Z K 7 svn:log V 451 MFC: r236579 The workaround added in r151650 for handling firmwares that don't allow a single device to be opened multiple times concurrently unfortunately isn't sufficient with ZFS. This is due to the fact, that ZFS may open different partitions of a single device simultaneously. So the best we can do in this case is to cache the lastly used device path and close and open devices in ofwd_strategy() as needed. PR: 165025 Submitted by: Gavin Mu END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-14T20:02:53.428553Z K 7 svn:log V 54 MFC: r225882 Remove pointless semicolons after label END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-14T20:02:54.856767Z K 7 svn:log V 54 MFC: r225882 Remove pointless semicolons after label END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-14T20:05:12.044147Z K 7 svn:log V 1744 MFC: r236495 - Prepend the device description with "AT91" to reflect its nature. [1] - Move DMA tag and map creature to at91_spi_activate() where the other resource allocation also lives. [1] - Flesh out at91_spi_deactivate(). [1] - Work around the "Software Reset must be Written Twice" erratum. - For now, run the bus at the slowest speed possible in order to work around data corruption on transit even seen with 9 MHz on ETHERNUT5 (15 MHz maximum) and AT45DB321D (20 MHz maximum). This also serves as a poor man's work-around for the "NPCSx rises if no data data is to be transmitted" erratum of RM9200. Being able to use the appropriate bus speed would require: 1) Adding a proper work-around for the RM9200 bug consisting of taking the chip select control away from the SPI peripheral and managing it directly as a GPIO line. 2) Taking the maximum frequencies supported by the actual board and the slave devices into account and basing the whole thing on the master clock instead of hardcoding a divisor as previously done. 3) Fixing the above mentioned data corruption. - KASSERT that TX/RX command and data sizes match on transfers. - Introduce a mutex ensuring that only one child device is running a SPI transfer at a time. [1] - Add preliminary, #ifdef'ed out support for setting the chip select. [1] - Use the RX instead of the TX commando size when setting up the RX side of a transfer. - For controllers having SPI_SR_TXEMPTY, i.e. !RM9200, also wait for the completion of the TX part of transfers before stopping the whole thing again. - Use DEVMETHOD_END. [1] - Use NULL instead of 0 for pointers. [1, partially] Additional testing by: Ian Lepore Submitted by: Ian Lepore [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-14T20:05:12.769488Z K 7 svn:log V 1744 MFC: r236495 - Prepend the device description with "AT91" to reflect its nature. [1] - Move DMA tag and map creature to at91_spi_activate() where the other resource allocation also lives. [1] - Flesh out at91_spi_deactivate(). [1] - Work around the "Software Reset must be Written Twice" erratum. - For now, run the bus at the slowest speed possible in order to work around data corruption on transit even seen with 9 MHz on ETHERNUT5 (15 MHz maximum) and AT45DB321D (20 MHz maximum). This also serves as a poor man's work-around for the "NPCSx rises if no data data is to be transmitted" erratum of RM9200. Being able to use the appropriate bus speed would require: 1) Adding a proper work-around for the RM9200 bug consisting of taking the chip select control away from the SPI peripheral and managing it directly as a GPIO line. 2) Taking the maximum frequencies supported by the actual board and the slave devices into account and basing the whole thing on the master clock instead of hardcoding a divisor as previously done. 3) Fixing the above mentioned data corruption. - KASSERT that TX/RX command and data sizes match on transfers. - Introduce a mutex ensuring that only one child device is running a SPI transfer at a time. [1] - Add preliminary, #ifdef'ed out support for setting the chip select. [1] - Use the RX instead of the TX commando size when setting up the RX side of a transfer. - For controllers having SPI_SR_TXEMPTY, i.e. !RM9200, also wait for the completion of the TX part of transfers before stopping the whole thing again. - Use DEVMETHOD_END. [1] - Use NULL instead of 0 for pointers. [1, partially] Additional testing by: Ian Lepore Submitted by: Ian Lepore [1] END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-06-14T20:20:59.624139Z K 7 svn:log V 123 callwheelbits variable was introduced long time ago but it's not really used. Get rid of it. Discussed with: Matt Dillon END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-14T20:27:28.397605Z K 7 svn:log V 105 Turn on TLS support for arm on here as it is supported since r231618/ r231619 and working since r233106. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-14T20:29:49.585590Z K 7 svn:log V 77 Merge r236137 from x86: Enable GNU hash generation for dynamic ELF binaries. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-06-14T20:44:56.686329Z K 7 svn:log V 364 MFC: r236338, r236339, r236346, r236347, r236365, & r236977 * Deprecate the FreeBSD make's ":U" (to-upper case) and ":L" (to-lower case) modifiers for ":tu" and ":tl". * make it easier to test newly-built make. * Add "-V '${VAR}'" variable expansion from Portable Berkeley Make. * regression test for '-V' command line option and the :t[lu] modifiers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-14T20:49:22.357558Z K 7 svn:log V 346 Fix a braino in r236469; the number of DMA tags required for handling MAXPHYS should be based on PAGE_SIZE rather than SYM_CONF_DMA_BOUNDARY. While at it, reuse the SYM_CONF_MAX_SG macro for specifying the maximum number of DMA tags so sym(4) itself doesn't size memory beyond what's required for handling MAXPHYS. PR: 168928 MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-14T21:16:19.361292Z K 7 svn:log V 642 - Add support for the FT2232 based egnite Turtelizer 2 JTAG/RS232 Adapter. This includes adding support for skipping FTDI interfaces used for JTAG leaving them for userland and just attaching to the RS232 half, similarly to how the corresponding Linux drivers handles these kind of adapters. While at it, sort uftdi_devs and return BUS_PROBE_SPECIFIC (because uftdi_probe() alters the instance variables for better or worse as do other probe routines of USB drivers) instead of 0. - Remove duplicated entries for BeagleBone. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. - Remove some stray lines. MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-06-14T21:35:20.638904Z K 7 svn:log V 198 MFC r236916 Fix a panic I introduced in r234487, the bridge softc pointer is set to null early in the detach so rearrange things not to explode. Reported by: David Roffiaen, Gustau Perez Querol END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-06-14T21:36:16.846114Z K 7 svn:log V 198 MFC r236916 Fix a panic I introduced in r234487, the bridge softc pointer is set to null early in the detach so rearrange things not to explode. Reported by: David Roffiaen, Gustau Perez Querol END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-06-14T21:40:14.650569Z K 7 svn:log V 39 Revert an inintended change in r237104 END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-06-14T21:48:14.828693Z K 7 svn:log V 424 MFC 235739-235740,236402: Apply style(9) to return and switch/case statements. Add checks for memory allocation failures in appropriate places, and avoid creating bad entries in the grp list as a result of memory allocation failures while building new entries. Style(9) improvements: remove unnecessary parenthesis, improve order of local variable declarations, remove bogus casts, and resolve long lines. PR: bin/83340 END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-06-14T22:19:23.914808Z K 7 svn:log V 230 - As a baind-aid, disable ATAPI DMA when using ATA_CAM for these controllers as well as it causes the kernel to hang during boot. Reported and tested by: Kevin Oberman - Use NULL instead of 0 for a pointer. MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-15T01:15:59.597417Z K 7 svn:log V 481 Convert ath(4) to just use ieee80211_suspend_all() and ieee80211_resume_all(). The existing code tries to use the beacon miss timer to signal that the AP has gone away. Unfortunately this doesn't seem to be behaving itself. I'll try to investigate why this is for the sake of completeness. The result is the STA will stay "associated" to the AP it was associated with when it suspended. It never receives a bmiss notification so it never tries reassociating. PR: kern/169084 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-15T02:16:29.894212Z K 7 svn:log V 72 Ok, ok. 802.11n can be on by default in GENERIC in -HEAD. God help me. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-06-15T03:57:16.585882Z K 7 svn:log V 101 Per kib, since __flt_rounds is being added to FreeBSD 10, it belongs in FBSD_1.3. MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-06-15T05:57:40.120906Z K 7 svn:log V 52 pgrep is unsafe to use in older versions of FreeBSD END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-15T06:00:56.704914Z K 7 svn:log V 64 Add pmap_page_is_write_mapped() to the non-amd64 architectures. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-06-15T06:13:12.619059Z K 7 svn:log V 159 MFC r236737: Add IDs for Marvell 88SE9220/9230/9235 PCIe 2.0 x2 6Gbps SATA controllers. Marvell 88SE9230 was confirmed to work, the rest two are just guessed. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-06-15T06:14:29.960350Z K 7 svn:log V 159 MFC r236737: Add IDs for Marvell 88SE9220/9230/9235 PCIe 2.0 x2 6Gbps SATA controllers. Marvell 88SE9230 was confirmed to work, the rest two are just guessed. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-15T06:38:55.714202Z K 7 svn:log V 165 Take half a step closer towards having a unified atmel kernel by rearranging where we initialize the time counter and putting the common stubs into a central place. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-06-15T07:14:16.357854Z K 7 svn:log V 113 MFC r236960: Document the -v flag for zpool list. PR: 168970 Suggested by: Marcelo Araujo END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-06-15T07:14:43.268340Z K 7 svn:log V 113 MFC r236960: Document the -v flag for zpool list. PR: 168970 Suggested by: Marcelo Araujo END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-15T07:26:39.042658Z K 7 svn:log V 64 Fix a global shadowing problem when LINUX_BOOT_ABI was defined. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-06-15T07:38:21.746521Z K 7 svn:log V 175 Do not remount ZFS dataset if changing canmount property to "on" and dataset is already mounted. PR: 167905 Submitted by: Bryan Drewery MFC after: 1 week END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-06-15T07:38:56.252645Z K 7 svn:log V 54 Update comment to reflect the change made in r237064. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-06-15T07:42:44.473209Z K 7 svn:log V 106 Remove bogus 'else' in #ifdef that prevented the rttvar from being reset on retransmit for IPv6 sessions. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-15T07:50:26.293034Z K 7 svn:log V 460 Collapse the files.at91 and files.at91sam9 back into files.at91. Create a new option for at91rm9200 support. Set this option in std.at91. Create a new option for the at91sam9 standard devices. Set this option in std.at91sam9. Retire files.at91sam9. Add options for at91sam9x25 SoC and SAM9X25EK board, but don't connect it just yet as the supporting files aren't quite ready. Note: device at91rm9200 and device at91sam9 are presently mutually exclusive. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-06-15T07:52:20.742844Z K 7 svn:log V 489 When retransmitting SYN in TCPS_SYN_SENT state use TCPTV_RTOBASE, the default retransmit timeout, as base to calculate the backoff time until next try instead of the TCP_REXMTVAL() macro which only works correctly when we already have measured an actual RTT+RTTVAR. Before it would cause the first retransmit at RTOBASE, the next four at the same time (!) about 200ms later, and then another one again RTOBASE later. XXXAO: More testing required to confirm fully RFC compliant behavior. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-15T07:56:53.117907Z K 7 svn:log V 96 This hints file doesn't actually do anything, and besides it is commented out here. Remove it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-15T08:01:16.761145Z K 7 svn:log V 53 These options are unused, and can safely be retired. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-06-15T08:03:21.811842Z K 7 svn:log V 188 For retransmits of SYN|ACK from the syncache use the more aggressive and dedicated tcp_syn_backoff[] retransmit schedule instead of the tcp_backoff[] schedule for established connections. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-06-15T08:04:47.826284Z K 7 svn:log V 45 Better readability of TCPT_RANGESET() macro. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-06-15T08:10:14.486762Z K 7 svn:log V 188 Change the SYN retransmit schedule to be less aggressive and more smooth. It still tries far too often and long to establish a connection before giving up and signalling the application. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-15T08:37:46.052458Z K 7 svn:log V 52 Add the AMPDU BAR TX statistics to the "ampdu" tag. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-15T08:37:50.308824Z K 7 svn:log V 229 Make it possible to link together a sam and an rm kernel. The results aren't very pretty yet, but this takes DELAY and cpu_reset and makes them pointers. # I worry that these are set too late in the boot, especially cpu_reset. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-15T08:50:44.804024Z K 7 svn:log V 69 Use right size when freeing unneeded GTT mapping. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2012-06-15T09:12:47.359305Z K 7 svn:log V 94 Fixed an example that set IP_ONESBCAST socket option to actually work, and not return EINVAL. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-15T10:00:29.384080Z K 7 svn:log V 167 One more attempt to make prototypes formated according to style(9), which holefully recovers from the "worse than useless" state. Reported by: bde MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-15T10:38:14.804454Z K 7 svn:log V 1245 MFC r226342 (by marcel): In elf32_trans_prot() and when compiling for amd64 or ia64, add PROT_EXECUTE when PROT_READ is needed. By default i386 allows execution when reading is allowed and JDK 1.4.x depends on that. MFC r226343 (by marcel): In sys_obreak() and when compiling for amd64 or ia64, when the process is ILP32 (i.e. i386) grant execute permissions by default. The JDK 1.4.x depends on being able to execute from the heap on i386. MFC r226347 (by marcel): In freebsd32_mmap() and when compiling for amd64 or ia64, also ask for execute permissions when read permissions are wanted. This is needed for JDK 1.4.x on i386. MFC r226348 (by marcel): Wrap mprotect(2). MFC r226349 (by marcel): Wrap mprotect(2) so that we can add execute permissions when read permissions are requested. This is needed on amd64 and ia64 for JDK 1.4.x. MFC r226353 (by marcel): Use PTRIN(). MFC r226388: Control the execution permission of the readable segments for i386 binaries on the amd64 and ia64 with the sysctl, instead of unconditionally enabling it. MFC note: the syscall tables were regenerated in r226349 and committed together with changes to non-generated files. The merge includes syscall tables regenerated after the merge, for stable/9. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-06-15T15:28:15.739695Z K 7 svn:log V 167 If debug values were set, the default from tval floated down and triggered an attempt to set multiple virtual ports whether you wanted them or not. MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-15T15:32:16.437737Z K 7 svn:log V 41 Oops - use the actual 11n enable option. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-15T16:50:32.021139Z K 7 svn:log V 30 Remove stray line from merge. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-15T17:01:12.462852Z K 7 svn:log V 178 Add a band-aide for MFCs: at91_is_rm92 is always true in 8 until SAM9 support is MFC'd. The recent change to spi now references this, so bring it in as a forward compatability. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-15T17:16:41.420005Z K 7 svn:log V 169 Now that pmap_page_is_write_mapped() may be more than an inlined Boolean test, restrict pmap_page_is_write_mapped() calls to only the necessary cases, i.e., OBJT_VNODE. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-15T17:31:15.659568Z K 7 svn:log V 46 MFC r230767: Enable nxstacks where supported. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-06-15T19:40:59.891326Z K 7 svn:log V 229 MFP4: 212854, 212854 Add a LOCAL_LIB_DIRS variable to complement the existing LOCAL_DIRS and LOCAL_TOOL_DIRS variables. Directories in LOCAL_LIB_DIRS are built at the end of the _generic_libs target. Reviewed by: imp (212854) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-06-15T19:42:49.592777Z K 7 svn:log V 100 Minor wording change. The previous commit message should have included: Sponsored by: DARPA, AFRL END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-15T20:08:13.612959Z K 7 svn:log V 59 Convert athdebug to use the 64 bit dev.ath.X.debug sysctl. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-06-15T20:25:44.203820Z K 7 svn:log V 239 MFC 236724, 236725: MFC 236724: Add VIMAGE support to if_tap. PR: kern/152047, kern/158686 Submitted by: Daan Vreeken MFC 236725: Sort includes. Submitted by: Daan Vreeken END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-06-15T20:27:15.913305Z K 7 svn:log V 239 MFC 236724, 236725: MFC 236724: Add VIMAGE support to if_tap. PR: kern/152047, kern/158686 Submitted by: Daan Vreeken MFC 236725: Sort includes. Submitted by: Daan Vreeken END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-06-15T21:45:24.693166Z K 7 svn:log V 67 Fix a refence count problem for the backchannel SVCXPRT structure. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-15T21:48:17.558494Z K 7 svn:log V 58 Write mappings will never be negative. Submitted by: kib END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-06-15T22:56:15.687014Z K 7 svn:log V 104 MFC r236776, r236777: r236776: Fix a typo: s/deafult/default r236777: Clean up trailing whitespace. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-06-15T22:56:28.738057Z K 7 svn:log V 104 MFC r236776, r236777: r236776: Fix a typo: s/deafult/default r236777: Clean up trailing whitespace. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-15T23:07:51.334177Z K 7 svn:log V 102 MFC r230779: Fix build for the case of powerpc64 kernel without COMPAT_FREEBSD32. Pointy hat to: kib END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-16T04:34:46.885391Z K 7 svn:log V 119 Throw this debug behind bootverbose. The information isn't all that exciting once the initial board bring up is over. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-16T04:36:08.693484Z K 7 svn:log V 68 Shave four (or eight) bytes off of ath_buf - this field isn't used. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-16T04:41:35.345569Z K 7 svn:log V 144 Shuffle some more fields in ath_buf so it's not too big. This shaves off 20 bytes - from 288 bytes to 268 bytes. However, it's still too big. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-06-16T05:06:43.786913Z K 7 svn:log V 71 Fix off-by-one overflow in the copyout() for the DIOCIGETIFACES ioctl. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-06-16T06:24:05.647960Z K 7 svn:log V 118 Fix for fallout from r236397: we need to zero entire sockaddr to make rn_match() work. This fixes matching on tables. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-06-16T06:38:11.792789Z K 7 svn:log V 38 mandoc fixes. Obtained from: OpenBSD END K 10 svn:author V 3 des K 8 svn:date V 27 2012-06-16T09:17:21.925722Z K 7 svn:log V 25 Backport sha512 support. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-16T12:56:36.972937Z K 7 svn:log V 59 Revert r237073. 'td' can be NULL here. MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-16T13:10:22.462472Z K 7 svn:log V 498 Revert part of the r235740 which changed separate allocation of the string buffer for each linelist l_line into one large string. Since linelists parsed out during the previous passes store the pointers to previously allocated l_lines, the reallocation caused undefined behaviour on accessing the buffers, and quite deterministic fault on freeing them (in mountd(8) startup). This fixes reading of netgroup(5) file which contains more then one netgroup. Discussed with: ghelmer MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-16T13:11:10.216254Z K 7 svn:log V 31 More style. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-16T13:22:55.225294Z K 7 svn:log V 210 MFC r236456: Use plain store for atomic_store_rel on x86, instead of implicitly locked xchg instruction. IA32 memory model guarantees that store has release semantic, since stores cannot pass loads or stores. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-06-16T13:51:01.695837Z K 7 svn:log V 194 Fix improper L4 header handling for IPv6 packets passed via DLT_RAW. Reported by: Emil Muratov Reviewed by: glebius Approved by: ae(mentor) MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-06-16T13:53:14.964135Z K 7 svn:log V 193 Set netflow v9 observation domain value to fib number instead of node id. This fixes multi-fib netflow v9 export. Reviewed by: glebius Approved by: kib(mentor) MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-06-16T13:55:31.865744Z K 7 svn:log V 158 Use time_uptime instead of getnanotime for accouting integer number of seconds. Reviewed by: glebius Approved by: ae(mentor) MFC after: 1 week END K 10 svn:author V 3 rmh K 8 svn:date V 27 2012-06-16T16:51:42.579857Z K 7 svn:log V 244 In CTFCONVERT_CMD initialization, check that ${MAKE_VERSION} is defined before using it. Bootstrap make (as built by usr.bin/make/Makefile.dist) does not define this variable, but it needs to parse bsd.own.mk in order to build a complete make. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-06-16T17:05:09.635086Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-16T18:37:54.874767Z K 7 svn:log V 44 Move misplaced comment. Discussed with: bz END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-16T18:56:19.438638Z K 7 svn:log V 629 The page flag PGA_WRITEABLE is set and cleared exclusively by the pmap layer, but it is read directly by the MI VM layer. This change introduces pmap_page_is_write_mapped() in order to completely encapsulate all direct access to PGA_WRITEABLE in the pmap layer. Aesthetics aside, I am making this change because amd64 will likely begin using an alternative method to track write mappings, and having pmap_page_is_write_mapped() in place allows me to make such a change without further modification to the MI VM layer. As an added bonus, tidy up some nearby comments concerning page flags. Reviewed by: kib MFC after: 6 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-06-16T19:05:38.375507Z K 7 svn:log V 183 Re-do second part of r236718. The pfsync thread don't obtain any hash locks, but can dereference state keys. Thus, we need to remove state from pfsync queues prior to detaching keys. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-16T20:49:08.663804Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-16T21:37:15.937154Z K 7 svn:log V 216 A few nitpicks: * Use ATH_RC_NUM instead of '4' when iterating over the ratecontrol series array. * A few style(9) fixes, hopefully no regressions here. * Add some comments that better describe what's going on. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-06-16T21:39:00.581462Z K 7 svn:log V 230 Do a more targeted check on the page cache and avoid to check the cache pointer directly in vnode_pager_setsize() by using newly introduced vm_page_is_cached() function. Reviewed by: alc MFC after: 2 weeks X-MFC: r234039,234064 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-16T22:26:45.717857Z K 7 svn:log V 55 oops, remove this, it wasn't supposed to be committed. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-16T22:28:36.949774Z K 7 svn:log V 65 .. and this wasn't supposed to be in the previous commit either. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-06-17T00:23:48.189823Z K 7 svn:log V 33 Make error message more verbose. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-06-17T00:27:06.772830Z K 7 svn:log V 30 Add some more error handling. END