ƒ´[212160 173 2507 132 151 199 185 319 144 219 234 186 340 320 273 161 623 255 351 287 196 210 185 155 167 139 166 282 150 275 186 364 535 287 255 255 135 199 138 138 705 705 589 589 296 296 842 842 554 554 1733 186 304 372 371 554 149 645 283 415 162 165 344 925 220 178 239 264 173 199 194 347 134 162 146 137 141 643 265 350 1073 221 212 283 199 129 402 266 305 155 274 123 168 403 172 281 142 179 217 239 276 143 186 159 114 297 134 321 377 99 173 265 266 388 192 300 398 417 271 230 217 114 799 759 222 261 180 425 605 218 157 127 259 185 487 453 182 537 247 198 310 198 241 241 297 340 174 269 123 186 356 391 252 394 182 196 304 131 135 216 194 221 301 1088 436 392 822 289 529 156 170 248 153 142 359 K 10 svn:author V 5 gibbs K 8 svn:date V 27 2010-09-02T19:40:28.461518Z K 7 svn:log V 2411 Correct bioq_disksort so that bioq_insert_tail() offers barrier semantic. Add the BIO_ORDERED flag for struct bio and update bio clients to use it. The barrier semantics of bioq_insert_tail() were broken in two ways: o In bioq_disksort(), an added bio could be inserted at the head of the queue, even when a barrier was present, if the sort key for the new entry was less than that of the last queued barrier bio. o The last_offset used to generate the sort key for newly queued bios did not stay at the position of the barrier until either the barrier was de-queued, or a new barrier (which updates last_offset) was queued. When a barrier is in effect, we know that the disk will pass through the barrier position just before the "blocked bios" are released, so using the barrier's offset for last_offset is the optimal choice. sys/geom/sched/subr_disk.c: sys/kern/subr_disk.c: o Update last_offset in bioq_insert_tail(). o Only update last_offset in bioq_remove() if the removed bio is at the head of the queue (typically due to a call via bioq_takefirst()) and no barrier is active. o In bioq_disksort(), if we have a barrier (insert_point is non-NULL), set prev to the barrier and cur to it's next element. Now that last_offset is kept at the barrier position, this change isn't strictly necessary, but since we have to take a decision branch anyway, it does avoid one, no-op, loop iteration in the while loop that immediately follows. o In bioq_disksort(), bypass the normal sort for bios with the BIO_ORDERED attribute and instead insert them into the queue with bioq_insert_tail(). bioq_insert_tail() not only gives the desired command order during insertion, but also provides barrier semantics so that commands disksorted in the future cannot pass the just enqueued transaction. sys/sys/bio.h: Add BIO_ORDERED as bit 4 of the bio_flags field in struct bio. sys/cam/ata/ata_da.c: sys/cam/scsi/scsi_da.c Use an ordered command for SCSI/ATA-NCQ commands issued in response to bios with the BIO_ORDERED flag set. sys/cam/scsi/scsi_da.c Use an ordered tag when issuing a synchronize cache command. Wrap some lines to 80 columns. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c sys/geom/geom_io.c Mark bios with the BIO_FLUSH command as BIO_ORDERED. Sponsored by: Spectra Logic Corporation MFC after: 1 month END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-02T20:43:01.076656Z K 7 svn:log V 36 Better wording. Submitted by: jkim END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-09-02T21:29:50.637550Z K 7 svn:log V 57 Correct spelling mistake, int -> into MFC after: 3 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-09-02T21:48:35.830413Z K 7 svn:log V 104 Adding a missing firstname (Monique) PR: conf/150049 Submitted by: Thierry Thomas END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-09-02T21:52:43.471998Z K 7 svn:log V 91 Add nameday for Monique PR: conf/150049 Submitted by: Thierry Thomas END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-02T22:26:49.839691Z K 7 svn:log V 218 In the case of non-sequential mappings, ofw_mapmem() could ask Open Firmware to map a memory region with negative length, causing crashes and Undefined Behavior. Add the appropriate check to make the behavior defined. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-02T22:37:13.997833Z K 7 svn:log V 48 Implement initial device suspend/resume method. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-03T00:34:45.331638Z K 7 svn:log V 122 Initial WOL support. NS DP8315 was tested but SiS900/SiS7016 was not tested. While I'm here, clean up SIOCSIFCAP handler. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2010-09-03T03:20:34.805956Z K 7 svn:log V 141 fix the move so that it matches what the rest of the internet says about this game... This move also makes more sense... MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-03T03:48:06.052054Z K 7 svn:log V 94 Allow / in the NANO_DEVICE PR: 149729 Submitted by: Thomas Quinot END K 10 svn:author V 6 grehan K 8 svn:date V 27 2010-09-03T03:56:09.302355Z K 7 svn:log V 244 - Bump MAXCPU to 4. Tested on a quad G5 with both 32 and 64-bit kernels. A make buildkernel -j4 uses ~360% CPU. - Bracket the AP spinup printf with a mutex to avoid garbled output. - Enable SMP by default on powerpc64. Reviewed by: nwhitehorn END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-09-03T06:30:11.950111Z K 7 svn:log V 228 MFC r209256, r209549, r209816, r209844: - Fix compilation of the subr_unit.c user space test program. - Use %zu for size_t in a few format strings. - Correct a comment typo. - Assert that low and high are >= 0 in new_unrhdr(). END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-03T08:07:04.640615Z K 7 svn:log V 180 acpi: update stale comments about order of cpu devices probing These comments should have been updated in r203776 when the order was changed. Pointyhat to: avg MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2010-09-03T09:34:15.271416Z K 7 svn:log V 69 We need to copy the ports config files before we launch the prefetch END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-03T10:40:53.385657Z K 7 svn:log V 530 vm_page.c: include opt_msgbuf.h for MSGBUF_SIZE use in vm_page_startup vm_page_startup uses MSGBUF_SIZE value for adding msgbuf pages to minidump. If opt_msgbuf.h is not included and MSGBUF_SIZE is overriden in kernel config, then not all msgbuf pages will be dumped. And most importantly, struct msgbuf itself will not be included. Thus the dump would look corrupted/incomplete to tools like kgdb, dmesg, etc that try to access struct msgbuf as one of the first things they do when working on a crash dump. MFC after: 5 days END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-09-03T11:58:50.623347Z K 7 svn:log V 162 MFC r211962: gsched(8): fix example usage, mdoc nits - ad0 was referred to as da0 - wrong parameter -s instead of -a in example - use double quotes consistently END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-09-03T13:54:02.840075Z K 7 svn:log V 254 When an asm location cannot be resolved to a function the cost will be spread as small value and then filtered by the threshold. As a first step solution display the number of event that cannot be resolved as a valid function location. MFC after: 1week END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-09-03T14:25:17.008547Z K 7 svn:log V 189 Change the parameter passed to the inline assembly to u_short as we are dealing with 16bit segment registers. Change mov to movw. Approved by: rpaulo (mentor) Reviewed by: kib, rink END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-09-03T15:33:15.759266Z K 7 svn:log V 101 MFC r212072: Make it clear in the example that jailparam_export's return value should be freed. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-09-03T15:34:28.977187Z K 7 svn:log V 115 MFC 212073: Don't over-allocate array values in jailparam_export. MFC 212074: Whitespace and comment fixes. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-03T16:09:17.234129Z K 7 svn:log V 93 Use math rather than iteration when the desired sbuf size is larger than SBUF_MAXEXTENDSIZE. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-03T16:12:39.970148Z K 7 svn:log V 63 Fix brain fart when converting an if statement into a KASSERT. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-03T17:23:26.869241Z K 7 svn:log V 75 Fix user-space libsbuf build. Why isn't CTASSERT available to user-space? END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-03T17:42:12.270182Z K 7 svn:log V 47 Style(9) fixes and eliminate the use of min(). END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-09-03T17:42:17.618187Z K 7 svn:log V 74 Use a better #if guard. Suggested by pluknet . END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-03T18:00:17.829250Z K 7 svn:log V 185 Fix another bug introduced in r212109. We should unload DMA maps only after sending the last fragment of a frame so the mbuf pointer also should be stored in the last descriptor index. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-03T21:16:16.369613Z K 7 svn:log V 58 MFC: Use VN_LOCK_* macros to manipulate vnode lock flags. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-03T21:17:33.737063Z K 7 svn:log V 179 sh: Add a test that 'read' leaves the file pointer at the correct place. Naive buffering would break the common while read x... construct, which did not appear to be tested yet. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-03T21:51:38.667671Z K 7 svn:log V 91 MFC r208476,208629,210738,211080,211341,211467: New tests that also work with stable/8 sh. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-03T21:59:12.048028Z K 7 svn:log V 268 MFC r209652: sh: Remove comment that the comma operator is missing in arithmetic expansion. The comma operator is not listed in POSIX.1-2008 XCU 1.1.2.1 Arithmetic Precision and Operations (referenced by XCU 2.6.4 Arithmetic Expansion) and is therefore not required. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-03T22:13:54.547767Z K 7 svn:log V 439 sh: Do not use locale for determining if something is a name. This makes it impossible to use locale-specific characters in variable names. Names containing locale-specific characters make scripts only work with the correct locale setting. Also, they did not even work in many practical cases because multibyte character sets such as utf-8 are not supported. This also avoids weirdness if LC_CTYPE is changed in the middle of a script. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-03T22:24:26.989741Z K 7 svn:log V 191 libedit: Do not move the cursor for ed-delete-next-char in emacs mode. This makes ed-delete-next-char suitable for mapping to the key. Behaviour in vi mode is unchanged (for 'x'). END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-04T06:05:57.293492Z K 7 svn:log V 162 MFC r211920: Add Intel Cougar Point PCH SATA Controller DeviceIDs. Correct some existing entries for Intel Ibex Peak (5 Series/3400 Series) PCH SATA controllers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-04T06:09:08.962947Z K 7 svn:log V 162 MFC r211922: Add Intel Cougar Point PCH SATA Controller DeviceIDs. Correct some existing entries for Intel Ibex Peak (5 Series/3400 Series) PCH SATA controllers. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-09-04T06:36:12.504982Z K 7 svn:log V 44 MFC r211513: Call dev_rel() in error paths. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-09-04T08:42:19.151080Z K 7 svn:log V 104 Shut the compiler up; initializes the sotype variable to zero in nfs_tryproto(). Reviewed by: rmacklem END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T11:50:17.560887Z K 7 svn:log V 45 MFC r210321: Remove a superfluous comment. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T11:50:23.516571Z K 7 svn:log V 45 MFC r210321: Remove a superfluous comment. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T12:06:02.157401Z K 7 svn:log V 611 MFC r210324, r210438. r210324: - Correctly handle sections of type SHT_NOBITS. For these sections: - elf_getdata() and elf_rawdata() should return an "Elf_Data" structure that has its "d_buf" member set to NULL and "d_size" member set to the nominal 'size' of the section. - Update the manual page for these functions. - Fix a memory leak in an error handling path inside elf_getdata(). - Use _libelf_allocate_data() in elf_newdata() for consistency. r210438: (np) Catch up with r210324. d_buf will be NULL for SHT_NOBITS sections, do not attempt to copy from it in that case. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T12:06:09.960638Z K 7 svn:log V 611 MFC r210324, r210438. r210324: - Correctly handle sections of type SHT_NOBITS. For these sections: - elf_getdata() and elf_rawdata() should return an "Elf_Data" structure that has its "d_buf" member set to NULL and "d_size" member set to the nominal 'size' of the section. - Update the manual page for these functions. - Fix a memory leak in an error handling path inside elf_getdata(). - Use _libelf_allocate_data() in elf_newdata() for consistency. r210438: (np) Catch up with r210324. d_buf will be NULL for SHT_NOBITS sections, do not attempt to copy from it in that case. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T12:19:19.102100Z K 7 svn:log V 495 MFC r210325,r210326,r210328,r210349 r210325: Bug fix: when updating headers using the gelf_update_*() functions, the appropriate `dirty' bit needs to be set for both the Elf32 and Elf64 case. r210326: Improve compatibility with other implementations of the ELF(3) API: when an output file has no program headers, set the 'e_phentsize' field of the ELF executable header to zero. r210328: Bug fix: permit the creation of zero-sized sections. r210349: Remove a redundant word. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T12:19:25.125096Z K 7 svn:log V 495 MFC r210325,r210326,r210328,r210349 r210325: Bug fix: when updating headers using the gelf_update_*() functions, the appropriate `dirty' bit needs to be set for both the Elf32 and Elf64 case. r210326: Improve compatibility with other implementations of the ELF(3) API: when an output file has no program headers, set the 'e_phentsize' field of the ELF executable header to zero. r210328: Bug fix: permit the creation of zero-sized sections. r210349: Remove a redundant word. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T12:40:06.367419Z K 7 svn:log V 202 MFC r210329,r210330,r210347. r210329: Use to declare the prototype for ftruncate(). r210330: Allow an application that updates only the ELF Ehdr to work. r210347: Fix a memory leak. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T12:40:16.781439Z K 7 svn:log V 202 MFC r210329,r210330,r210347. r210329: Use to declare the prototype for ftruncate(). r210330: Allow an application that updates only the ELF Ehdr to work. r210347: Fix a memory leak. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T12:52:44.314518Z K 7 svn:log V 748 MFC r210344,r210345,r210348. r210344: Avoid switching between "unsigned char" and "char" in the C code generated from "libelf_convert.m4". r210345: * Deprecate `elf_getshnum()`, `elf_getphnum()` and `elf_getshstrndx()` in favour of `elf_getshdrnum()`, `elf_getphdrnum()` and `elf_getshdrstrndx()` respectively. * Add new manual pages for `elf_getshdrstrndx()`, `elf_getphdrnum()` and `elf_getshdrnum()`. * Add a deprecation warning for `elf_getshstrndx()`, `elf_getphnum()` and `elf_getshnum()`. r210348: Move helper functions `_libelf_ar_get_{name,number,string}()` and `_libelf_ar_open()` to a new compilation unit "libelf_ar_util.c" to break the circular dependency between "elf_memory.o" and "libelf_ar.o". END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T12:52:51.383806Z K 7 svn:log V 748 MFC r210344,r210345,r210348. r210344: Avoid switching between "unsigned char" and "char" in the C code generated from "libelf_convert.m4". r210345: * Deprecate `elf_getshnum()`, `elf_getphnum()` and `elf_getshstrndx()` in favour of `elf_getshdrnum()`, `elf_getphdrnum()` and `elf_getshdrstrndx()` respectively. * Add new manual pages for `elf_getshdrstrndx()`, `elf_getphdrnum()` and `elf_getshdrnum()`. * Add a deprecation warning for `elf_getshstrndx()`, `elf_getphnum()` and `elf_getshnum()`. r210348: Move helper functions `_libelf_ar_get_{name,number,string}()` and `_libelf_ar_open()` to a new compilation unit "libelf_ar_util.c" to break the circular dependency between "elf_memory.o" and "libelf_ar.o". END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T13:00:22.300604Z K 7 svn:log V 460 MFC r210351-r210353,r211192. r210351: * Note that ar(1) archives may also be opened using `elf_memory(3)`. * Ignore the passed in value of the `fd` argument for ar(1) archives opened with elf_memory(3). r210352: Add a cross-reference to `elf_rawfile(3)`. r210353: * Remove a superfluous error description. * Document an additional error that may be returned: `ELF_E_ARCHIVE`. r211192: Add translation support for section type SHT_SUNW_dof. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T13:00:28.500908Z K 7 svn:log V 460 MFC r210351-r210353,r211192. r210351: * Note that ar(1) archives may also be opened using `elf_memory(3)`. * Ignore the passed in value of the `fd` argument for ar(1) archives opened with elf_memory(3). r210352: Add a cross-reference to `elf_rawfile(3)`. r210353: * Remove a superfluous error description. * Document an additional error that may be returned: `ELF_E_ARCHIVE`. r211192: Add translation support for section type SHT_SUNW_dof. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-09-04T13:13:00.805293Z K 7 svn:log V 1638 MFC r210331-r210333,r210335,r210336,r210338,r210340,r210341,r210559. r210331: Add a new ELF type denoting GNU style hash tables. r210332: Changes for supporting GNU Hash sections. r210333: Note that the *_fsize() functions are only defined for ELF types that have a fixed size. r210335: - Return zero for file sizes of ELF types that have a variable size. - Neaten a few comments. r210336: Reduce verbosity. r210338: Perform additional checks when translating between file and memory representations of ELF types. The ELF(3) API allows applications to request a conversion that is `in-place', i.e., with source and destinations data buffers being the same. However, the file and memory sizes of ELF sections that have additional internal structure, such as those of type `Elf_Note', or `Elf_GNU_Hash_Header', can be determined only known after the type-specific headers that comprise the first few words in these sections are read and translated. Pass in the size of destination buffer to type translation routines in "libelf_convert.m4" and have these routines return an error code if the translated data would not fit inside the destination buffer. r210340: - Document that the *fsize() functions return a size of 1 for Elf types that don't have a fixed size. - The *fsize() functions should return a size of 1, for variable length types. - Redefine symbol ELF_T_LAST to match the current end of the list. r210341: Add support for translating sections of type ELF_T_GNUHASH. r210559: Protect GNUHASH translation functions with #ifdef; unbreak cross toolchain build. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-09-04T16:06:01.215031Z K 7 svn:log V 95 In case of RADIX_MPATH do not leak the IN_IFADDR read lock on early return. MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-09-04T16:27:14.703774Z K 7 svn:log V 212 Fix a compile problem introduced with r212008 on 32bit: Both deadline and current_time are time_seconds (+ utc_offset()) casted to unsigned long long. No need to cast to or print as pointers. MFC after: 4 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-04T17:04:34.844322Z K 7 svn:log V 271 Fix a bug where the passed PTEG index to mps3_pte_insert was taken as the PTEG index where the evicted PTE came from, although the evicted PTE may have come from the secondary PTEG. Fix this by using the page table slot of the inserted PTE to get the evicted PTE's PTEG. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-04T17:27:48.553566Z K 7 svn:log V 270 It does not make sense to allocate 30MB of physical memory for bounce pages on low energy machines. On a PS3, 15% of the available physical memory was going into bounce page reservations. Instead, cap the number at 2.5% of physical memory or 30MB, whichever is smaller. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-04T17:28:29.122188Z K 7 svn:log V 461 struct device: widen type of flags and order fields to u_int Also change int -> u_int for order parameter in device_add_child_ordered. There should not be any ABI change as struct device is private to subr_bus.c and the API change should be compatible. To do: change int -> u_int for order parameter of bus_add_child method and its implementations. The change should also be API compatible, but is a bit more churn. Suggested by: imp, jhb MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-04T21:23:46.522576Z K 7 svn:log V 54 sh: Get rid of some magic numbers. MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-09-04T23:53:47.198005Z K 7 svn:log V 550 In messages that refer to the INDEX file, use the variable to make it clear what we're working with. Be more careful to check that there is a line for the port in the INDEX when working --index-only. In dependency_check() be clear when we're using the INDEX instead of ports In the package fetching routine use a better string match to see if we have already downloaded the directory listing. The previous one worked but would match too many files for net* and x11*, especially when installing a lot of ports. So add a '.' to differentiate these. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-05T00:10:18.164157Z K 7 svn:log V 185 Disable use of the NLM in the experimental NFS client, since it will crash the kernel because it uses the nfsmount and nfsnode structures of the regular NFS client. MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-05T00:47:44.022136Z K 7 svn:log V 317 Change the code in ncl_bioread() in the experimental NFS client to return an error when rabp is not set, so it behaves the same way as the regular NFS client for this case. It does not affect NFSv4, since nfs_getcacheblk() only fails for "intr" mounts and NFSv4 can't use the "intr" mount option. MFC after: 2 weeks END K 10 svn:author V 6 swills K 8 svn:date V 27 2010-09-05T01:57:25.564433Z K 7 svn:log V 67 Add myself to calendar.freebsd Approved By: pgollucci (co-mentor) END K 10 svn:author V 6 swills K 8 svn:date V 27 2010-09-05T01:58:21.542453Z K 7 svn:log V 70 Add myself to commiters-ports.dot Approved By: pgollucci (co-mentor) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-05T03:05:03.201539Z K 7 svn:log V 243 Make the SLB UMA hypervisor allocator correctly free contig pages. Using vm_page_free() on pages allocated with vm_phys_alloc_contig() causes errors due to inconsistent wired-state tracking. Thanks to Colin Percival for helping me debug this. END K 10 svn:author V 6 daichi K 8 svn:date V 27 2010-09-05T04:58:16.627471Z K 7 svn:log V 829 Allowed unionfs to use whiteout not supporting file system as upper layer. Until now, unionfs prevents to use that kind of file system as upper layer. This time, I changed to allow that kind of file system as upper layer. By this change, you can use whiteout not supporting file system (e.g., especially for tmpfs) as upper layer. It's very useful for combination of tmpfs as upper layer and read only file system as lower layer. By difinition, without whiteout support from the file system backing the upper layer, there is no way that delete and rename operations on lower layer objects can be done. EOPNOTSUPP is returned for this kind of operations as generated by VOP_WHITEOUT() along with any others which would make modifica tions to the lower layer, such as chmod(1). This change is suggested by ed. Submitted by: ed END K 10 svn:author V 6 daichi K 8 svn:date V 27 2010-09-05T05:44:40.941575Z K 7 svn:log V 124 Avoid to try to remove suj journal file (.sujournal) and conventional snapshot directory (.snap) from cleartmp rc.d script. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-05T06:16:04.206588Z K 7 svn:log V 86 Initialize buffer for case of empty string. Happens only on non-refactored platforms. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-09-05T13:31:14.133752Z K 7 svn:log V 142 Fix invalid class removal when IAF is not the last class. Keep IAF class with 0 PMC and change the alias in libpmc to IAP. MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-09-05T13:41:45.347223Z K 7 svn:log V 171 Fix some CLANG warnings. One clang warning is left due to the fact that its bogus.. nam->sa_family will not change from AF_INET6 to AF_INET (but clang thinks it does ;-D) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-05T14:02:34.384347Z K 7 svn:log V 81 MFC r196885 (by ed): Remove unneeded minor numbers from /dev/null and /dev/zero. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-05T14:16:35.146772Z K 7 svn:log V 106 MFC r210918: Initialize VV_ISTTY vnode flag on the devfs vnode creation instead of doing it on each open. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-05T14:20:34.186874Z K 7 svn:log V 101 MFC r210921: Enable shared locks for the devfs vnodes. Honor the locking mode requested by lookup(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-05T14:27:55.547131Z K 7 svn:log V 254 MFC r210923: Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that created cdev will never be destroyed. Propagate the flag to devfs vnodes as VV_ETERNVALDEV. Use the flags to avoid acquiring devmtx and taking a thread reference on such nodes. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-05T14:31:58.934320Z K 7 svn:log V 42 MFC r210924: Add "show cdev" ddb command. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-05T14:35:26.959757Z K 7 svn:log V 70 MFC r210925: Enable shared lookups and externed shared ops for devfs. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-05T14:37:29.178994Z K 7 svn:log V 54 MFC r210926: Mark /dev/zero and /dev/null as eternal. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-05T14:47:46.104049Z K 7 svn:log V 45 Document MAKEDEV_ETERNAL. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-05T14:52:27.744620Z K 7 svn:log V 49 Document "show cdev" command. MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-05T16:12:10.632946Z K 7 svn:log V 547 libedit: Try to map to ed-delete-next-char. This adds a new "arrow" key "delete" corresponding to the kD termcap value. It only works if that is a sequence such as "\033[3~"; if it is "\177", the em-delete-prev-char or ed-delete-prev-char from the single-character mappings remains. It turns out that most terminals (xterm and alikes, syscons in xterm mode) produce "\033[3~" by default so has the expected effect. This also means that things need to be considerably misconfigured for to perform a action. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-05T18:47:04.015842Z K 7 svn:log V 164 Please welcome Andreas Tobler (andreast@) to the ranks of the src committers. He will be working mostly on the PowerPC port under my mentorship. Approved by: core END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-05T18:56:24.244514Z K 7 svn:log V 249 Improve performance by only restarting TX DMA when it is really necessary. This brings up TX performance to 100 Mbit. There is still an issue where outbound traffic will hang the controller under very heavy TX load. I haven't debugged that one yet. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-05T19:24:32.567284Z K 7 svn:log V 980 Several improvements to HPET driver: - Add special check for case when time expires before being programmed. This fixes interrupt loss and respectively timer death on attempt to program very short interval. Increase minimal supported period to more realistic value. - Add support for hint.hpet.X.allowed_irqs tunable, allowing manually specify which interrupts driver allowed to use. Unluckily, many BIOSes program wrong allowed interrupts mask, so driver tries to stay on safe side by not using unshareable ISA IRQs. This option gives control over this limitation, allowing more per-CPU timers to be provided, when FSB interrupts are not supported. Value of this tunable is bitmask. - Do not use regular interrupts on virtual machines. QEMU and VirtualBox do not support them properly, that may cause problems. Stay safe by default. Same time both QEMU and VirtualBox work fine in legacy_route mode. VirtualBox also works fine if manually specify allowed ISA IRQs with above. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-05T19:57:24.729166Z K 7 svn:log V 128 Make nexus report name and compat fields as pnpinfo for devices on the first level of hierarchy, same as done on deeper levels. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-05T20:04:02.444784Z K 7 svn:log V 119 Add support for the Sharp/Micron flash chips to powermac_mvram(4). Tested on PowerMac G4 AGP. Reviewed by: nwhitehorn END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-05T20:04:54.858316Z K 7 svn:log V 190 Note in rc.conf(5) that jail_list should contain only alphanumeric characters. PR: 150098 Submitted by: cc (cpt_complain at yahoo dot com) Approved by: keramida (mentor) MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-09-05T20:13:07.558241Z K 7 svn:log V 103 Implement correct handling of address parameter and sendinfo for SCTP send calls. MFC after: 4 weeks. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-05T21:12:48.110945Z K 7 svn:log V 34 sh: Improve comments in expand.c. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-05T21:44:50.731414Z K 7 svn:log V 306 printf(1): Clarify that \OOO produces a byte, different %b escape sequences. Octal escape sequences are expanded to bytes, not characters, and multiple are required for a multibyte character. The valid escape sequences in %b strings are slightly different from the escape sequences in the format string. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-06T03:00:54.104724Z K 7 svn:log V 169 Fix off-by-one error in function _thr_sigact_unload, also disable the function, it seems some gnome application tends to crash if we unregister sigaction automatically. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-06T04:14:59.616267Z K 7 svn:log V 204 Add a watchdog timer and correct a misunderstaning about busdma that was causing random bits of the ring buffer to be overwritten. The PS3's network interface now runs stably even at high transfer rates. END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-09-06T04:15:49.483529Z K 7 svn:log V 61 Handle geli-encrypted root disk devices. MFC after: 2 weeks END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-06T06:18:49.424719Z K 7 svn:log V 176 XLR/XLS hardware interrupts should be programmed level triggered at the PIC. This should fix the interrupt releated issues seen after the interrupt handling re-write for SMP. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-06T07:24:28.540130Z K 7 svn:log V 27 Creates my own repository. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-06T07:24:43.711996Z K 7 svn:log V 76 MFC r212172: acpi: update stale comments about order of cpu devices probing END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-06T07:34:32.701453Z K 7 svn:log V 310 acpi_hp: fix bus attachment code - add identify method to create driver's own device_t - successfully probe only driver's own device_t instead of any device_t - (ab)use device order to hopefully be probed/attached after acpi_wmi PR: kern/147858 Tested by: Maciej Suszko MFC after: 1 week END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-06T07:35:13.869406Z K 7 svn:log V 76 Creates a user branch to store works related with USB drivers from r212249. END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-09-06T09:59:10.784538Z K 7 svn:log V 186 Document dhclient-enter-hooks and dhclient-exit-hooks and mention how to configure dhclient to clear the interface of IP numbers prior to configuring it. PR: 149351 MFC after: 2 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-09-06T11:02:50.671687Z K 7 svn:log V 45 sis(4) should work on all architectures now. END K 10 svn:author V 6 philip K 8 svn:date V 27 2010-09-06T12:55:07.316883Z K 7 svn:log V 84 Restore Thomas Quinot's (thomas) commit bit per his request. Approved by: core END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-09-06T13:17:01.906330Z K 7 svn:log V 120 in_delayed_cksum() requires host byte order. Reported by: Alexander Levin MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-06T13:47:11.776449Z K 7 svn:log V 138 Add some seatbelts to mmu_ps3 and fiddle the SLB allocator some more following advice from alc. PS3 still hangs in low-memory situations. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-09-06T15:48:06.583339Z K 7 svn:log V 184 MFC r211342: - Check that strtoul(3) succeeds to convert the entire string in a few places. - In getasciilabel(), set the disk type only when a valid type is given. PR: bin/86765 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-06T16:33:46.065238Z K 7 svn:log V 47 Rever r212142. Discussed with: emaste, rstone END K 10 svn:author V 8 andreast K 8 svn:date V 27 2010-09-06T19:00:00.180484Z K 7 svn:log V 89 Add myself to calendar.freebsd and committers-src.dot. Approved by: nwhitehorn (mentor) END K 10 svn:author V 8 andreast K 8 svn:date V 27 2010-09-06T20:16:10.822733Z K 7 svn:log V 62 Point out who is my mentor. Approved by: nwhitehorn (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-06T20:35:48.262622Z K 7 svn:log V 22 Add aesni(4) manpage. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-06T20:40:38.421985Z K 7 svn:log V 204 Fix typo in bsdcpio manual: s/libarchive_formats/libarchive-formats PR: 150300 Submitted by: Kurt Jaeger Patch by: Kurt Jaeger Approved by: keramida (mentor) MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-06T20:51:35.354730Z K 7 svn:log V 34 Missed a line. Submitted by: alc END K 10 svn:author V 4 will K 8 svn:date V 27 2010-09-06T21:03:30.346454Z K 7 svn:log V 227 Fix static kernel builds with carp(4) by changing its SYSINIT order so that it is initialized after basic protocol initialization, which allows it to register via pf_proto_register(). Reviewed by: bz Approved by: ken (mentor) END K 10 svn:author V 4 will K 8 svn:date V 27 2010-09-06T21:06:06.278446Z K 7 svn:log V 283 Fix CARP in backup mode by properly registering its hooks for INET and INET6 using ipproto_{un,}register() and the newly created ip6proto_{un,}register() so that it can again receive IPPROTO_CARP packets allowing its state machine to work. Reviewed by: bz Approved by: ken (mentor) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-06T21:06:11.275435Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-06T21:29:21.816622Z K 7 svn:log V 81 Grammar fixes. Submitted by: Ben Kaduk , Valentin Nechaev END K 10 svn:author V 3 gjb K 8 svn:date V 27 2010-09-06T21:39:54.986066Z K 7 svn:log V 172 Add ECONNRESET to list of possible errors in connect(2). PR: 148683 Submitted by: Gennady Proskurin Approved by: keramida (mentor) MFC after: 1 week END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-06T22:02:08.922059Z K 7 svn:log V 169 Adds bwi(4) at SEE ALSO section because some old devices aren't supported by the bwn(4) firmware that as fas as I know the vendor dropped its support. Bumps date also. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-06T22:10:57.548552Z K 7 svn:log V 291 Adds a CAVEATS section to mention DMA issues that currently only a solution is using PIO mode. As fas as I know all open source based broadcom drivers for specially LP PHY has this issue because it's a reverse engineered driver from wl(4). Pointed by: Warren Block END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-06T22:23:35.781399Z K 7 svn:log V 96 Adds LOADER TUNABLES section to mention knobs which could be controlled by loader(8) interface. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-06T22:28:46.969131Z K 7 svn:log V 203 MFC r210393: Fixes a mistake to calculate CALC_COEFF2() value that tmp[3] is used even if it's unreachable. PR: kern/144505 Submitted by: Henning Petersen END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-06T22:31:24.575114Z K 7 svn:log V 301 MFC r209888: Fixes a bug for LP PHY that some frames have 2 padding bytes at the start so we should adjust the mbuf if the driver is running in PIO mode. Now it should work well with WPA authentication and association for LP PHY devices. Tested by: Warren Block END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-06T22:47:52.833757Z K 7 svn:log V 320 MFC r196636: Connect bwi up to the build. While there are some problems with this driver still, it generally works well for most people most of the time. It is still too green for GENERIC, however. Submitted by: many (latest being kwm@) Approved by: imp Requested by: Warren Block END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-06T22:59:58.398625Z K 7 svn:log V 170 Fill out the PS3 ethernet driver by adding support for checksum offloading, media reporting and setting, and link state change notification. Next up will be USB support. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-06T23:05:38.431008Z K 7 svn:log V 129 Set the Data Address Breakpoint Register to throw exceptions on NULL pointer dereferences. Fix two that appeared related to FDT. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-06T23:07:58.552679Z K 7 svn:log V 116 Fix the same race condition on 32-bit AIM CPUs that was fixed for 64-bit ones in r211967 involving VSID allocation. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-06T23:11:56.074367Z K 7 svn:log V 14 IFC @ r212278 END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-06T23:52:04.464343Z K 7 svn:log V 702 Adds `sleepout' prototype which is a comic combination of callout(9) and taskqueue(8) only for USB drivers to implement one step timer. In current USB drivers using callout(9) interface they all have two step execution flow as follows: 1. callout callback is fired by the interrupt context. Then it needs to pass it to USB process context because it could sleep(!) while callout(9) don't allow it. 2. In the USB process context it operates USB commands that most of times it'd be blocked at least 125 us (it'd be always true for USB) In a view of driver developer it'd be more convenient if USB stack has a feature like this (timer supporting blocking). This's an experimental. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2010-09-07T00:23:45.808658Z K 7 svn:log V 663 In munmap() downgrade the vm_map_lock to a read lock before taking a read lock on the pmc-sx lock. This prevents a deadlock with pmc_log_process_mappings, which has an exclusive lock on pmc-sx and tries to get a read lock on a vm_map. Downgrading the vm_map_lock in munmap allows pmc_log_process_mappings to continue, preventing the deadlock. Without this change I could cause a deadlock on a multicore 8.1-RELEASE system by having one thread constantly mmap'ing and then munmap'ing a PROT_EXEC mapping in a loop while I repeatedly invoked and stopped pmcstat in system-wide sampling mode. Reviewed by: fabient Approved by: emaste (mentor) MFC after: 2 weeks END K 10 svn:author V 6 rstone K 8 svn:date V 27 2010-09-07T02:51:11.204483Z K 7 svn:log V 126 Fix a typo in r212281. uintptr -> uintptr_t Pointy hat to: rstone Approved by: emaste (mentor) MFC after: 2 weeks END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-07T05:39:24.228689Z K 7 svn:log V 163 On boards with >512MB memory, the result of vtophys cannot be converted to KSEG1 address - use pmap_mapdev/pmap_unmapdev instead. Remove unused variable maxphys. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-07T06:02:43.215839Z K 7 svn:log V 83 Whitespace fixes - indent with tabs instead of spaces. Few other style(9) changes. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-07T07:31:58.206518Z K 7 svn:log V 327 PCIe updates for XLS. Fix interrupt routing so that the irq returned is correct for XLR and XLS. This also updates the MSI hack we had earlier - we still don't really support MSI, but we support some drivers that use MSI, by providing support for allocating one MSI per pci link - this MSI is directly mapped to the link IRQ. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2010-09-07T08:33:17.251654Z K 7 svn:log V 511 GCC defines built-ins for atomic instructions found on i486 and higher. Because FreeBSD no longer supports the 80386 cpu all code targeting FreeBSD/i386 necessarily runs on i486 or higher so the compiler built-ins can be used by default inside libstdc++ and in C++ headers. This allows newly compiled C++ code to inline some atomic operations. Old binaries continue to use libstdc++ functions. PR: 148926 Tested by: Yuri Karaban Reviewed by: kan Approved by: kib (mentor) MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-09-07T11:46:09.443109Z K 7 svn:log V 126 MFC r212152: MFp4 CH=183259: No reason to use if_free_type() as we don't change our type. Just if_free() is fine. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-07T12:02:34.343180Z K 7 svn:log V 65 MFC r211742: The __hidden definition is provided by sys/cdefs.h. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-07T12:04:07.652341Z K 7 svn:log V 35 MFC r211743: Remove unused source. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-07T12:06:41.519731Z K 7 svn:log V 166 MFC r211748: Move the __stack_chk_fail_local@FBSD_1.0 compat symbol definition into the separate .o for libc_pic.a. This prevents rtld from making the symbol global. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-09-07T13:10:46.460914Z K 7 svn:log V 94 MFC r212209: In case of RADIX_MPATH do not leak the IN_IFADDR read lock on early return. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-07T13:50:02.938836Z K 7 svn:log V 394 Each processor socket in a QPI system has a special PCI bus for the "uncore" devices (such as the memory controller) in that socket. Stop hardcoding support for two busses, but instead start probing buses at domain 0, bus 255 and walk down until a bus probe fails. Also, do not probe a bus if it has already been enumerated elsewhere (e.g. if ACPI ever enumerates these buses in the future). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-07T14:29:45.096839Z K 7 svn:log V 360 Store the full timestamp when caching timestamps of files and directories for purposes of validating name cache entries. This closes races where two updates to a file or directory within the same second could result in stale entries in the name cache. While here, remove the 'n_expiry' field as it is no longer used. Reviewed by: rmacklem MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-07T14:43:42.738457Z K 7 svn:log V 86 Remove wrong occurrence of not existing DF_NET and use NIL mediasize and mediaoffset. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-07T15:23:00.916912Z K 7 svn:log V 440 If the upper bound is 0 the dumping mechanism will not use disks thus set dumplo to 0. Side note: in future, dumpsys() may be further layered in order to be fully disk agnostic and splitted in several functions that can be used by other code (like an eventual netdumpsys()) for building easilly their own dumping function without taking disks into account at all. This is left as further refinement after netdump enters the tree, likely. END K 10 svn:author V 4 emax K 8 svn:date V 27 2010-09-07T16:36:03.360373Z K 7 svn:log V 153 Do not request SDP attributes using ranges. Apparently some devices do not like it. MFC after: 1 week Tested by: Buganini < buganini at gmail dot com > END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-07T17:24:05.356730Z K 7 svn:log V 101 Move the netdump file to sys/netinet/ rather than sys/net/ as it is mostly specific to TCP/IP suite. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-07T17:51:23.847611Z K 7 svn:log V 213 Add the possibility to specify, in drivers, nethdump virtual methods that will be used by the netdump for carrying on interface polling and testing. ASAP, will be offered an implementation for if_em and if_ixgb. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-07T17:56:29.319136Z K 7 svn:log V 101 Locate the new pointer in the right location in order to avoid ABI breakage. Pointed out by: emaste END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-09-07T18:14:50.560478Z K 7 svn:log V 144 MFC r205662 + r212066 (except efi part): Our boot loader is capable of booting both i386 and amd64 kernels so call it "x86" instead of "i386". END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-09-07T18:14:59.179352Z K 7 svn:log V 144 MFC r205662 + r212066 (except efi part): Our boot loader is capable of booting both i386 and amd64 kernels so call it "x86" instead of "i386". END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-07T18:29:29.412212Z K 7 svn:log V 200 Make sure to create DMA'able memory for statistics block. This was missed in r212061 and it caused crashes for 570x controllers as controller DMAed statistics to physical address 0. Reported by: kan END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-09-07T20:13:08.828486Z K 7 svn:log V 247 Tighten up the rx mbuf refresh code, there were some discrepencies from the igb version which was the target. Change the message when neither MSI or MSIX are enabled and a fallback to Legacy interrupts happen, the existing message was confusing. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-09-07T21:28:45.046204Z K 7 svn:log V 82 Code correction in refresh_mbufs, just continuing without index recalc was wrong. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-09-07T22:40:45.188164Z K 7 svn:log V 173 Avoid "Entry can disappear before we lock fdvp" panic. PR: 150143 Submitted by: Gleb Kurtsou Pretty sure it won't blow up: mckusick MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-07T22:44:29.894936Z K 7 svn:log V 27 Remove trailing CR at EOL. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-07T23:08:38.500565Z K 7 svn:log V 90 Consistently use tab characters instead of tab + space characters. No functional changes. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-07T23:31:48.927448Z K 7 svn:log V 255 Fix an error made in r209975 related to context ID allocation for 64-bit PowerPC CPUs running a 32-bit kernel. This bug could cause in-use VSIDs to be allocated again to another process, causing memory space overlaps and corruption. Reported by: linimon END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-08T01:18:09.595687Z K 7 svn:log V 293 MFC: r211789 If the first iteration of the do loop in replay_prune() succeeded and a subsequent interation failed to find an entry to prune, it could loop infinitely, since the "freed" variable wasn't reset to FALSE. This patch moves setting freed FALSE to inside the loop to fix the problem. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-08T01:41:22.831184Z K 7 svn:log V 154 MFC: r211830 Add mutex locking for the call to replay_prune() in replay_setsize(), since replay_prune() expects the rc_lock to be held when it is called. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-08T01:55:03.132789Z K 7 svn:log V 297 MFC: r212047 If a process is being debugged, skips job control caused by SIGSTOP/SIGCONT signals, because it is managed by debugger, however a normal signal sent to a interruptibly sleeping thread wakes up the thread so it will handle the signal when the process leaves the stopped state. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-08T02:18:20.790284Z K 7 svn:log V 86 To avoid possible race condition, SIGCANCEL is always sent except the thread is dead. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-08T07:30:46.596773Z K 7 svn:log V 103 For total interrupt count on -vm screen count all interrupts, but not only those which fit the screen. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-09-08T08:03:08.481713Z K 7 svn:log V 212 MFC r212087: Remove reference to device minor numbers in psm(4) man page. The number returned by stat(2) is generated automatically, so it is not possible to deduce whether the device is blocking or not. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-08T09:51:03.902257Z K 7 svn:log V 39 MFC r212233: Document MAKEDEV_ETERNAL. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-08T09:53:50.049294Z K 7 svn:log V 43 MFC r212234: Document "show cdev" command. END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2010-09-08T13:26:19.090399Z K 7 svn:log V 120 Add Buffalo (Melco Inc.) LUA3-U2-ATX to list of supported devices. Submitted by: nork at FreeBSD.org MFC after: 3 days END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-09-08T14:19:33.026498Z K 7 svn:log V 101 MFC r208743: Provide a macro for registering a virtualized sysctl handler for VNET opaque data. END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-09-08T14:21:12.710631Z K 7 svn:log V 128 MFC r208744: Virtualize the IPv4 multicast routing code. Submitted by: iprebeg Reviewed by: bms, bz, Pavlin Radoslavov END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-09-08T14:22:35.668126Z K 7 svn:log V 208 MFC r211283: When moving an ethernet ifnet from one vnet to another, destroy the associated ng_ether netgraph node in the current vnet, and create a new one in the target vnet. Reviewed by: julian END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-08T16:34:08.685966Z K 7 svn:log V 990 Clean up fast message ring code for XLR. Fix message ring send path: - define msgrng_access_enable() which disables local interrupts and enables message ring access. Also define msgrng_restore() which restores interrupts - remove all other msgrng enable/disable macros, no need of critical_enter and other locking here. - message_send() fixup: re-read status until pending bit clears - message_send_retry() fixup: retry only few times with interrupts disabled - Fix up message_send/message_send_retry callers - call msgrng_access_enable() and msgrng_restore() correctly so that interrupts are not disabled for long. - removed unused and obsolete code from sys/mips/rmi/msgring.h - some style fixes - more later rge.c (XLR GMAC driver): - updated for the message ring changes - remove unused message_send_block() - retry on credit failure, this is not a permanent failure when credits are configured correctly. Add panic if credits are not available to send for a long time. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-08T16:58:06.089153Z K 7 svn:log V 335 Fix a typo in the original import of this code from NetBSD that caused the wrong element of the VSID bitmap array to be examined after a collision, leading to reallocation of in-use VSIDs under some circumstances, with attendant memory corruption. Also add an assert to check for this kind of problem in the future. MFC after: 4 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-09-08T16:59:22.968196Z K 7 svn:log V 299 During SMP startup there is time window, when SMP started, but interrupts are still bound to BSP. It confuses timer management logic in per-CPU mode and may cause timer not being reloaded. Check such cases on interrupt arival and reload timer to give system some more time to manage proper binding. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-08T17:11:49.083094Z K 7 svn:log V 724 nlge (alternate XLR GMAC driver) updates: - Updates for the message ring clean up in r212321. - Instead of dropping Tx packet on credit fail, retry send until it succeeds. - Fix freeing mbufs in case of P2P descriptors: We cannot free the mbuf when the P2P descriptor freeback is received. The mbuf may be still in use by the GMAC, since the P2P freeback indicates that it read the P2D descriptors in the P2P message. Now we free just the P2P descriptor when the P2P freeback message is received. Another freeback P2D message has been added to the end of the packet descriptors, the mbuf will be freed only when we received this. The P2P descriptor issue was reported by srgorti at netlogicmicro dot com. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-08T17:35:06.737391Z K 7 svn:log V 196 subr_bus: use hexadecimal representation for bit flags It seems that this format is more custom in our code, and it is more convenient too. Suggested by: jhb No objection: imp MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-08T17:53:34.836252Z K 7 svn:log V 436 - Add register definitions related to extended capability IDs in PCI-express. I used PCIZ_* for ID constants (plain capability IDs use PCIY_*). - Add register definitions for the Advanced Error Reporting, Virtual Channels, and Device Serial Number extended capabilities. - Teach pciconf -c to list extended as well as plain capabilities. Adds more detailed parsing for AER, VC, and device serial numbers. MFC after: 2 weeks END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-09-08T18:03:40.296299Z K 7 svn:log V 65 MFC r208611: Fix misspelling of "substitution". PR: bin/130874 END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-09-08T18:06:05.799925Z K 7 svn:log V 79 MFC r208612: Fixes from NetBSD for nvi visual mode PR: bin/21089, bin/136393 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-08T18:18:01.748222Z K 7 svn:log V 155 Simplify chkattached(). The PCIOCATTACHED ioctl only needs the pi_sel field populated, it ignores the rest of the 'pci_sel' structure. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-08T18:32:23.055577Z K 7 svn:log V 58 sh: Add simple tests for backslashes in the read builtin. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-08T19:28:43.653243Z K 7 svn:log V 42 Fix a printf specifier on 64-bit systems. END K 10 svn:author V 4 emax K 8 svn:date V 27 2010-09-08T19:50:47.489676Z K 7 svn:log V 265 Add custom kernel configuration and device tree source files for Seagate FreeAgent DockStar(tm) device. It seems to be a dumb down version of Marvell SheevaPlug. Device tree source file could use more tweaking, but at least it wll network boot and run FreeBSD/arm. END