ƒ´7232364 174 157 317 369 224 225 225 176 190 552 687 298 161 158 134 118 261 324 281 233 254 189 425 246 253 469 170 311 141 179 788 104 260 1139 523 523 156 107 456 256 885 248 310 295 886 413 169 415 1472 211 163 127 261 160 259 259 134 1024 174 487 202 116 206 122 281 221 153 150 831 250 287 373 143 264 272 191 198 167 137 158 176 158 152 202 157 377 1168 223 162 188 175 307 171 135 301 132 583 450 216 240 766 104 276 209 609 380 188 243 242 528 903 331 384 1112 226 480 856 616 235 452 117 144 119 900 294 588 157 145 192 165 266 440 278 187 136 218 189 189 317 280 257 329 192 246 149 696 385 271 594 183 307 317 363 141 446 325 253 366 239 555 158 114 116 211 114 269 138 148 206 156 149 177 824 211 298 K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-03-01T20:45:17.966441Z K 7 svn:log V 60 Add regression test for USB enumeration. MFC after: 1 week END K 10 svn:author V 3 kan K 8 svn:date V 27 2012-03-01T20:58:20.766638Z K 7 svn:log V 224 Provide pre/post transfer method callbacks for icbbb clients. These are helful when making certain drivers work on both Linux and FreeBSD without changing the code flow too much. Reviewed by: kib, wlosh MFC after: 1 month END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-03-01T21:23:26.991925Z K 7 svn:log V 273 - Add support for the Intel Sandy Bridge microarchitecture (both core and uncore counting events) - New manpages with event lists. - Add MSRs for the Intel Sandy Bridge microarchitecture Reviewed by: attilio, brueffer, fabient Approved by: gnn (mentor) MFC after: 3 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-01T22:13:10.928111Z K 7 svn:log V 131 Properly handle failures in igb_setup_msix() by returning 0 if MSI or MSI-X allocation fails. Reviewed by: jfv MFC after: 2 weeks END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-03-01T22:32:30.454955Z K 7 svn:log V 129 MFC r232225 Update PCI-IDs with devices found on Intel SDP Return BUS_PROBE_DEFAULT so that non-default drivers may be loaded END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-03-01T22:36:42.614186Z K 7 svn:log V 129 MFC r232225 Update PCI-IDs with devices found on Intel SDP Return BUS_PROBE_DEFAULT so that non-default drivers may be loaded END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-03-02T00:15:13.439680Z K 7 svn:log V 84 MFC r230981: Fix input validation in SO_SETFIB socket option. Approved by: re (bz) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-03-02T00:15:52.645056Z K 7 svn:log V 98 MFC r230989: Fix a possible infinite loop in "route flush" on 64-bit archs. Approved by: re (bz) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-03-02T00:21:07.995933Z K 7 svn:log V 456 MFC r232267: Workaround for PCIe 4GB boundary issue Enforce a boundary of no more than 4GB - transfers crossing a 4GB boundary can lead to data corruption due to PCIe limitations. This change is a less-intrusive workaround that can be quickly merged back to older branches; a cleaner implementation will arrive in HEAD later but may require KPI changes. This change is based on a suggestion by jhb@. Sponsored by: Sandvine Incorporated END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-03-02T02:53:43.921604Z K 7 svn:log V 591 Attempt to catch scan cancellations at exactly the wrong time from occuring. The scan code unlocks the comlock and calls into the driver. It then assumes the state hasn't changed from underneath it. Although I haven't seen this particular condition trigger, I'd like to be informed if I or anyone else sees it. What I'm thinking may occur: * A cancellation comes in during the scan_end call; * the cancel flag is set; * but it's never checked, so scandone isn't updated; * .. and the interface stays in the STA power save mode. It's a subtle race, if it even exists. PR: kern/163318 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-03-02T02:57:10.591716Z K 7 svn:log V 202 Wrap the scan code state change stuff behind ATH_LOCK and the PCU fiddling behind the PCU lock. sc_scanning is being checked without ATH_LOCK behind held and could in theory run from multiple threads. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-03-02T03:11:53.072014Z K 7 svn:log V 66 Wrap another ATH_LOCK around the scanning flag. PR: kern/163318 END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-03-02T05:16:53.903474Z K 7 svn:log V 66 Add ahci(4) and siis(4) to the hardware notes. MFC after: 1 week END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-02T05:55:45.078071Z K 7 svn:log V 38 Kill EoL whitespaces, and minor lint. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-03-02T07:22:04.067224Z K 7 svn:log V 26 Remove a redundant check. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-03-02T07:23:28.893810Z K 7 svn:log V 168 Allow to configure net.inet6.ip6.{accept_rtadv,no_radr} by the loader tunables as well because they have to be configured before interface initialization for AF_INET6. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-03-02T08:49:07.494867Z K 7 svn:log V 231 Fix names of some Marvell SATA chips. It looks like chips with proprietary interface supported by mvs(4) are 88SX, while AHCI-like chips are 88SE. PR: kern/165271 Submitted by: Jia-Shiun Li MFC after: 1 week END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-03-02T09:30:16.041200Z K 7 svn:log V 186 MFC r231713 Add additional Sierra 3G device. Original commit message: Add new USB device ID. MFC after: 3 days PR: usb/165154 PR: usb/165154 Approved by: re(kib), hselasky END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-02T09:30:54.437264Z K 7 svn:log V 136 ifp->if_ioctl() has moved to u_long cmd in r36735. Somehow that change had not reached here together with ifioctl(). MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-02T09:48:46.908796Z K 7 svn:log V 161 Do not expose unlocked unconstructed nullfs vnode on mount list. Lock the native nullfs vnode lock before switching the locks. Tested by: pho MFC after: 1 week END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-03-02T09:52:42.615538Z K 7 svn:log V 93 Reflect the renaming of ifmaof_ifpforaddr() to if_findmulti() in r148652. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2012-03-02T10:03:38.845239Z K 7 svn:log V 333 Finally removed the stat() and fstat() calls from the opendir() code. They were made excessive in r205424 by opening with O_DIRECTORY. Also eliminated the fcntl() call used to set FD_CLOEXEC by opening with O_CLOEXEC. (fdopendir() still checks that the passed descriptor is a directory, and sets FD_CLOEXEC on it.) Reviewed by: ed END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-02T11:27:07.851175Z K 7 svn:log V 149 - Add separate mutex to lock state keys rbtree. - Add separate mutex to lock state IDs rbtree. - Add separate rwlock to lock the global states list. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-02T11:32:47.637607Z K 7 svn:log V 160 MFC r231885: Fix misuse of the kernel map in miscellaneous image activators. Vnode-backed mappings cannot be put into the kernel map, since it is a system map. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-02T11:47:34.923956Z K 7 svn:log V 376 MFC r231868: Fetch the aux vector for the static libc, and use the entries to initialize the cache of the system information as it was done for the dynamic libc. This removes several sysctls from the static binary startup. Use the aux vector to fill the single struct dl_phdr_info describing the static binary itself, to implement dl_iterate_phdr(3) for the static binaries. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-02T11:50:37.689772Z K 7 svn:log V 78 MFC r231869: Document dl_iterate_phdr(3). MFC r231873: Fix cross-references. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-02T12:33:10.471779Z K 7 svn:log V 214 - Due to the "V" our zone names do not match original OpenBSD names, so there is not reason to name our zones as "pools", so this change mechanically renames them. - Provide better zone names in uma_zcreate(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-02T12:42:59.874928Z K 7 svn:log V 45 Use uma(9) init method to init pf_state_key. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-02T13:19:56.555166Z K 7 svn:log V 87 Belatedly add dl_iterate_phdr(3) to the list of installed manpages. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2012-03-02T14:05:50.063944Z K 7 svn:log V 696 Removed excessive _seekdir() call in closedir(). This saves one lseek() syscall. Before r5958, seekdir() was called for its side effect of freeing memory allocated by opendir() for rewinddir(), but that revision added _reclaim_telldir() that frees all memory allocated by telldir() calls, making this call redundant. This introduces a slight change. If an application duplicated the descriptor obtained through dirfd(), it can no longer rely on file position to be reset to the start of file after a call to closedir(). It's believed to be safe because neither POSIX, nor any other OS I've tested (NetBSD, Linux, OS X) rewind the file offset pointer on closedir(). Reported by: Igor Sysoev END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-02T14:42:33.885415Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-02T15:48:52.781140Z K 7 svn:log V 165 Defer sending an independent window update if a delayed ACK is pending saving a packet. The window update then gets piggy-backed on the next already scheduled ACK. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-02T16:35:18.030372Z K 7 svn:log V 1043 Prevent a flurry of forced window updates when an application is doing small reads on a (partially) filled receive socket buffer. Normally one would a send a window update every time the available space in the socket buffer increases by two times MSS. This leads to a flurry of window updates that do not provide any meaningful new information to the sender. There still is available space in the window and the sender can continue sending data. All window updates then get carried by the regular ACKs. Only when the socket buffer was (almost) full and the window closed accordingly a window updates delivery new information and allows the sender to start sending more data again. Send window updates only every two MSS when the socket buffer has less than 1/8 space available, or the available space in the socket buffer increased by 1/4 its full capacity, or the socket buffer is very small. The next regular data ACK will carry and report the exact window size again. Reported by: sbruno Tested by: Darren Baginsky PR: kern/116335 END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-03-02T16:38:54.972196Z K 7 svn:log V 427 MFC r232267 via stable/8 MFC r232354 Workaround for PCIe 4GB boundary issue Enforce a boundary of no more than 4GB - transfers crossing a 4GB boundary can lead to data corruption due to PCIe limitations. This change is a less-intrusive workaround that can be quickly merged back to older branches; a cleaner implementation will arrive in HEAD later but may require KPI changes. This change is based on a suggestion by jhb@. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-03-02T16:39:00.381735Z K 7 svn:log V 427 MFC r232267 via stable/8 MFC r232354 Workaround for PCIe 4GB boundary issue Enforce a boundary of no more than 4GB - transfers crossing a 4GB boundary can lead to data corruption due to PCIe limitations. This change is a less-intrusive workaround that can be quickly merged back to older branches; a cleaner implementation will arrive in HEAD later but may require KPI changes. This change is based on a suggestion by jhb@. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-03-02T17:33:51.564720Z K 7 svn:log V 64 Eliminate stale incorrect ARGSUSED comments. Submitted by: bde END K 10 svn:author V 8 andreast K 8 svn:date V 27 2012-03-02T18:18:14.893445Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-02T18:55:19.277704Z K 7 svn:log V 363 Similar to the fixes in 226967 and 226987, purge any name cache entries associated with the previous vnode (if any) associated with the target of a rename(). Otherwise, a lookup of the target pathname concurrent with a rename() could re-add a name cache entry after the namei(RENAME) lookup in kern_renameat() had purged the target pathname. MFC after: 2 weeks END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-02T20:34:15.245051Z K 7 svn:log V 158 Unbreak SMP on stock Octeon systems -- copy the core_mask from bootinfo into sysinfo. This should have been done as part of replacing bootinfo with sysinfo. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-02T20:38:04.841666Z K 7 svn:log V 792 - Add a bus_dma tag to each PCI bus that is a child of a Host-PCI bridge. The tag enforces a single restriction that all DMA transactions must not cross a 4GB boundary. Note that while this restriction technically only applies to PCI-express, this change applies it to all PCI devices as it is simpler to implement that way and errs on the side of caution. - Add a softc structure for PCI bus devices to hold the bus_dma tag and a new pci_attach_common() routine that performs actions common to the attach phase of all PCI bus drivers. Right now this only consists of a bootverbose printf and the allocate of a bus_dma tag if necessary. - Adjust all PCI bus drivers to allocate a PCI bus softc and to call pci_attach_common() from their attach routines. MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-03-02T21:17:24.987862Z K 7 svn:log V 156 MFC r231376: Remove outdated piece of information. devtoname() always returns a pathname to the device. It will never return a #major/minor string. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-03-02T21:29:57.429544Z K 7 svn:log V 218 MFC r231378: Remove direct access to si_name. Code should just use the devtoname() function to obtain the name of a character device. Also add const keywords to pieces of code that need it to build properly. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-03-02T21:36:24.199544Z K 7 svn:log V 203 MFC r231383, r231385 and r231648: Detect file modification properly by using tv_nsec. POSIX 2008 standardizes st_mtim, meaning we can simply use nanosecond precision to detect file modification. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2012-03-02T21:38:06.836678Z K 7 svn:log V 791 Modify ZFSD to tolerate events of arbitrary size instead of assuming that events will be no larger than 1024 bytes. This corrects an infinite loop when events larger than this size are received (e.g. when a block checksum fails). cddl/sbin/zfsd/zfsd.h: Bump the event limit up to 8K and add/rename some constants to clarify exactly what ZFSD's limits control. cddl/sbin/zfsd/zfsd.h: cddl/sbin/zfsd/zfsd.cc: o Add EventBuffer::s_keyPairSepTokens[] to make explicit the characters that can separate devctl event key=value pairs. o In EventBuffer::ExtractEvent(), truncate events to the end of the last fully received key=value pair if they are longer than the event size limit imposed by ZFSD. o Prefer syslog to warn(x) for warnings generated after becoming a daemon. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-03-02T21:38:27.003277Z K 7 svn:log V 321 MFC r231514: Set read buffer size to multiple of sizeof(struct futx). If the utmpx database gets updated while an application is reading it, there is a chance the reading application processes partially overwritten entries. To solve this, make sure we always read a multiple of sizeof(struct futx) at a time. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-02T21:44:39.398183Z K 7 svn:log V 72 If an Atheros device is attached to an Octeon, it's going to be by PCI. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-02T21:46:31.739950Z K 7 svn:log V 317 When creating a handle for a subregion, be sure to actually math out the new handle address, where we're using handles as raw addresses. This fixes devices with subregions on Octeon PCI specifically, and likely also on MIPS more generally, where there isn't another bus_space in use that was doing the math already. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-03-02T22:00:40.541350Z K 7 svn:log V 1378 Fix a problem that was causing the mpt(4) driver to attach to MegaRAID cards that should be handled by the mfi(4) driver. The root of the problem is that the mpt(4) driver was masking off the bottom bit of the PCI device ID when deciding which cards to attach to. It appears that a number of the mpt(4) Fibre Channel cards had a LAN variant whose PCI device ID was just one bit off from the FC card's device ID. The FC cards were even and the LAN cards were odd. The problem was that this pattern wasn't carried over on the SAS and parallel SCSI mpt(4) cards. Luckily the SAS and parallel SCSI PCI device IDs were either even numbers, or they would get masked to a supported adjacent PCI device ID, and everything worked well. Now LSI is using some of the odd-numbered PCI device IDs between the 3Gb SAS device IDs for their new MegaRAID cards. This is causing the mpt(4) driver to attach to the RAID cards instead of the mfi(4) driver. The solution is to stop masking off the bottom bit of the device ID, and explicitly list the PCI device IDs of all supported cards. This change should be a no-op for mpt(4) hardware. The only intended functional change is that for the 929X, the is_fc variable gets set. It wasn't being set previously, but needs to be because the 929X is a Fibre Channel card. Reported by: Kashyap Desai MFC After: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-03-02T22:20:15.969494Z K 7 svn:log V 114 Put wildcard pattern later in the match table. Otherwise the more specific matches will not get a chance to win. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-03-02T22:21:53.671287Z K 7 svn:log V 67 Use lower case for hexadecimal numbers to match surrounding style. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-03-02T22:24:15.001371Z K 7 svn:log V 31 Add more Thunderbolt variants. END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2012-03-02T23:54:11.265568Z K 7 svn:log V 163 MFC r227368 Welcome the initial patches for OSX bootcamp support!!! This should let you select the ada0p3 hybrid MBR/GPT partition, and do an installation to it. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-03-03T00:11:46.884981Z K 7 svn:log V 67 Add VESA option to GENERIC for amd64 and i386. MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-03-03T00:36:30.943171Z K 7 svn:log V 165 MFC: r232309 Fix a long standing bug. The caller expects a non-zero value for success. Luckily keyboard probing was turned off by default from the first revision. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-03-03T00:37:03.952368Z K 7 svn:log V 165 MFC: r232309 Fix a long standing bug. The caller expects a non-zero value for success. Luckily keyboard probing was turned off by default from the first revision. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-03T01:00:18.340426Z K 7 svn:log V 39 Add proper memory barriers for armv6/7 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-03-03T01:06:54.817076Z K 7 svn:log V 926 Post r230394, the Lookup RPC counts for both NFS clients increased significantly. Upon investigation this was caused by name cache misses for lookups of "..". For name cache entries for non-".." directories, the cache entry serves double duty. It maps both the named directory plus ".." for the parent of the directory. As such, two ctime values (one for each of the directory and its parent) need to be saved in the name cache entry. This patch adds an entry for ctime of the parent directory to the name cache. It also adds an additional uma zone for large entries with this time value, in order to minimize memory wastage. As well, it fixes a couple of cases where the mtime of the parent directory was being saved instead of ctime for positive name cache entries. With this patch, Lookup RPC counts return to values similar to pre-r230394 kernels. Reported by: bde Discussed with: kib Reviewed by: jhb MFC after: 2 weeks END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-03T01:17:13.734632Z K 7 svn:log V 79 Implement workarounds for arm errata. Wait and sync the cache where we should. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-03T01:20:46.611156Z K 7 svn:log V 391 - We can't rely on the initial pagetable still being setted up, maybe we reused the memory, instead, allocate a temporary page table, map the kernel into it, and make the APs use it. - Make it so we can use multiple IRQs for IPI - Add a new function, platform_mp_init_secondary(), which will be called for each AP, and do platform-specific init stuff, such as setting up the GIC for the AP. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-03T01:22:46.483675Z K 7 svn:log V 106 Introduce armv7_sev() and armv7_auxctrl. Use broadcasting TLB functions for SMP, instead of sending IPIs. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-03T01:24:19.377811Z K 7 svn:log V 21 Add SMP bits to gic. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-03T01:26:14.161235Z K 7 svn:log V 110 For the global timer, use GBL_TIMER_CTRL, not PRV_TIMER_CTRL. It's harmless because both values are the same. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-03T01:33:10.836556Z K 7 svn:log V 27 Initial SMP bits for omap4 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-03-03T02:13:53.372000Z K 7 svn:log V 180 MFC r230482-230484,r230997: Per popular demand, if installing from a graphics terminal, show the installer log in real time on VTY 3, and spawn a shell on VTY 4. PR: bin/161048 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-03-03T02:14:59.287458Z K 7 svn:log V 120 MFC r231046: Inherit from PCI bridge driver instead of manually specifying all of its methods. Obtained from: sparc64 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-03-03T02:15:52.515785Z K 7 svn:log V 53 MFC r230992: Avoid warnings about duplicate modules. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-03-03T02:16:45.112192Z K 7 svn:log V 50 MFC r231770: Improve error handling in smusat(4). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-03-03T02:19:33.190407Z K 7 svn:log V 730 MFC r230123,230139: Rework SLB trap handling so that double-faults into an SLB trap handler are possible, and double faults within an SLB trap handler are not. The result is that it possible to take an SLB fault at any time, on any address, for any reason, at any point in the kernel. This lets us do two important things. First, it removes the (soft) 16 GB RAM ceiling on PPC64 as well as any architectural limitations on KVA space. Second, it lets the kernel tolerate poorly designed hypervisors that have a tendency to fail to restore the SLB properly after a hypervisor context switch. Now that we can tolerate LPAR context switches on the PS3 hypervisor, going to hypervisor-idle on both threads will not hang the kernel. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-03-03T02:20:46.351519Z K 7 svn:log V 149 MFC r231810: Make sure to synchronize icache for the newly loaded loader. Not an issue on most systems, when the relevant icache lines are not full. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-03-03T02:23:09.485639Z K 7 svn:log V 186 MFC r232200: Fix segfault if distfetch and distextract binaries are run standalone without the DISTRIBUTIONS environment variable set. PR: bin/165492 Submitted by: Fernando Apesteguia END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-03-03T02:35:45.929454Z K 7 svn:log V 276 MFC r231888: Put the signal trap output to standard error instead of standard output. Without this change, pressing ^T could result in rc.d script putting junk strings like: Script running in configuration files when redirecting standard output to these files. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-03-03T05:04:47.317498Z K 7 svn:log V 46 Add entry for packages-8.3-release directory. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-03-03T05:14:37.324486Z K 7 svn:log V 166 Merge r232435: > Add entry for packages-8.3-release directory. Insta-merge because this is part of the prep work for branching releng/8.3 as part of doing 8.3-RC1. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-03-03T05:46:24.552808Z K 7 svn:log V 174 Merge r229304,r229748,r229751,r232436 Catch up to head and stable/9 for what combination of __FreeBSD_version values map to package directories. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-03-03T06:15:13.668343Z K 7 svn:log V 94 Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-03-03T06:18:18.847727Z K 7 svn:log V 100 Bump __FreeBSD_version to 803500 now that releng/8.3 has been branched. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-03-03T06:23:26.222943Z K 7 svn:log V 70 Add releng/8.3 as requiring re@ approval. Approved by: re (implicit) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-03-03T06:38:07.875127Z K 7 svn:log V 43 Use proper TLS location if td == curthread END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-03-03T06:38:43.764728Z K 7 svn:log V 64 sysarch return TLS pointer as return value, not through copyout END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-03-03T07:02:43.862884Z K 7 svn:log V 79 Update to have "make update" pull from RELENG_8_3. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-03-03T07:04:45.022669Z K 7 svn:log V 61 Update RELEASETAG and SVNBRANCH. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-03-03T07:06:05.125246Z K 7 svn:log V 55 Update the CVS branch tag. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-03-03T07:09:05.173068Z K 7 svn:log V 104 Update __FreeBSD_version to 803000 to reflect releng/8.3 has been branched. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-03-03T07:10:38.926785Z K 7 svn:log V 60 We should be ready for 8.3-RC1. Approved by: re (implicit) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-03-03T08:11:04.210144Z K 7 svn:log V 279 Make sure that the USB system suspend event is executed synchronously and not asynchronously. This fixes problems related to USB system suspend and resume. It is assumed that we are always allowed to sleep from the device_suspend() method. MFC after: 1 week Submitted by: jkim END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-03T08:19:18.706628Z K 7 svn:log V 1069 o) Add COMPAT_FREEBSD32 support for MIPS kernels using the n64 ABI with userlands using the o32 ABI. This mostly follows nwhitehorn's lead in implementing COMPAT_FREEBSD32 on powerpc64. o) Add a new type to the freebsd32 compat layer, time32_t, which is time_t in the 32-bit ABI being used. Since the MIPS port is relatively-new, even the 32-bit ABIs use a 64-bit time_t. o) Because time{spec,val}32 has the same size and layout as time{spec,val} on MIPS with 32-bit compatibility, then, disable some code which assumes otherwise wrongly when built for MIPS. A more general macro to check in this case would seem like a good idea eventually. If someone adds support for using n32 userland with n64 kernels on MIPS, then they will have to add a variety of flags related to each piece of the ABI that can vary. That's probably the right time to generalize further. o) Add MIPS to the list of architectures which use PAD64_REQUIRED in the freebsd32 compat code. Probably this should be generalized at some point. Reviewed by: gonzo END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-03-03T09:19:20.175568Z K 7 svn:log V 131 Use snprintf(3) constantly when generating CAM error messages. PR: bin/57088 Submitted by: Rui Lopes, arundel MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-03T10:11:18.801709Z K 7 svn:log V 70 MFC r232143: Do not write to the user address directly, use suword(). END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-03T10:22:49.603262Z K 7 svn:log V 91 Unbreak n64 build without COMPAT_FREEBSD32 by fixing mismatched preprocessor conditionals. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-03T11:11:56.260081Z K 7 svn:log V 81 Simplify reporting of global maximum number of TCP segments in reassembly queue. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-03-03T11:50:48.548526Z K 7 svn:log V 214 Fix bug of r232207, when cpu_search() could prefer CPU group with best load, but with no CPU matching given limitations. It caused kernel panics in some cases when thread was bound to specific CPUs with cpuset(1). END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-03-03T11:53:35.504914Z K 7 svn:log V 75 Make kern.proc.umask sysctl readonly. Requested by: src MFC after: 1 week END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-03T12:23:07.234067Z K 7 svn:log V 40 Get the right casts for long operations END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-03T12:27:53.454920Z K 7 svn:log V 205 Try to set the SMP and the TLB broadcasting bits in the aux register (largely a nop on the omap4 because both bits are already set, and we can't change it anyway because we're not running in secure mode) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-03T12:41:19.646071Z K 7 svn:log V 37 Use set_tls()/get_tls() for >= armv6 END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-03T13:02:28.793698Z K 7 svn:log V 488 Remove the need for routes to have the MTU explicitly set or inherited from their interface. Unless explicitly set the route MTU is zero and the current interface MTU is being used. This allows interface MTU to be increased even after it got an IP address assigned. If a route has an MTU set that is lower than the interface MTU it will be used instead. If a route has an MTU set that is higher than the interface MTU it will be adjusted and the interface MTU will be used as before. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-03T13:31:20.512594Z K 7 svn:log V 355 If the user has closed the socket then drop a persisting connection after a much reduced timeout. Typically web servers close their sockets quickly under the assumption that the TCP connections goes away as well. That is not entirely true however. If the peer closed the window we're going to wait for a long time with lots of data in the send buffer. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-03T13:51:51.634248Z K 7 svn:log V 121 Add logging for socket attach failures in sonewconn() while accepting a new connection to make problems easier to track. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-03T14:02:34.127594Z K 7 svn:log V 144 Grrr, we can't use dmb for armv6. Of course, our toolchain is too ancient to support armv7, so we have to use this for armv7 userland, as well. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-03T14:23:54.752788Z K 7 svn:log V 673 Expand and reorganize the pci(9) manpage a bit: - Document the following routines: pci_alloc_msi(), pci_alloc_msix(), pci_find_cap(), pci_get_max_read_req(), pci_get_vpd_ident(), pci_get_vpd_readonly(), pci_msi_count(), pci_msix_count(), pci_pending_msix(), pci_release_msi(), pci_remap_msix(), and pci_set_max_read_req(). - Group the functions into five sub-sections: raw configuration access, locating devices, device information, device configuration, and message signaled interrupts. - Discourage use of pci_disable_io() and pci_enable_io() in device drivers. The PCI bus driver handles this automatically as resources are activated. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-03T14:24:39.992929Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-03T14:25:36.968503Z K 7 svn:log V 183 Update the pci_get_vpd_readonly() wrapper to use 'vptr' instead of 'identptr' for its last parameter to match the default implementation as well as the method definition in pci_if.m. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-03T15:38:01.642669Z K 7 svn:log V 113 Direct users to swapinfo and pstat from df PR: bin/165321 Submitted by: jhs Approved by: bcr MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-03-03T16:13:20.261151Z K 7 svn:log V 511 The name caching changes of r230394 exposed an intermittent bug in the new NFS server for NFSv4, where it would report ENOENT when the file actually existed on the server. This turned out to be caused by not initializing ni_topdir before calling lookup() and there was a rare case where the value on the stack location assigned to ni_topdir happened to be a pointer to a ".." entry, such that "dp == ndp->ni_topdir" succeeded in lookup(). This patch initializes ni_topdir to fix the problem. MFC after: 5 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-03T17:03:26.014565Z K 7 svn:log V 284 Add the IPI_IRQ_START and IPI_IRQ_END that I forgot to add yesterday. Introduce a new option, NO_EVENTTIMERS, and use it for the platforms which haven't been converted to use event timers yet. If set, the cpu_idle.c code will make no attempt to call cpu_idleclock()/cpu_activeclock() END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-03T17:52:19.454652Z K 7 svn:log V 93 Bump date to today (since I modified it) PR: bin/165321 Approved by: gjb MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-03T18:03:50.254026Z K 7 svn:log V 150 Use pci_find_cap() instead of pci_find_extcap() to locate PCI find capabilities as the latter API is deprecated for this purpose. MFC after: 2 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-03T18:07:53.249488Z K 7 svn:log V 146 Document the [n]eei and [n]bacc options PR: docs/165009 Submitted by: Jeremy Huddleston Approved by: bcr MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-03T18:08:57.005125Z K 7 svn:log V 435 Expand the set of APIs available for locating PCI capabilities: - pci_find_extcap() is repurposed to be used for fetching PCI-express extended capabilities (PCIZ_* constants in ). - pci_find_htcap() can be used to locate a specific HyperTransport capability (PCIM_HTCAP_* constants in ). - Cache the starting location of the PCI-express capability for PCI-express devices in PCI device ivars. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-03-03T18:58:15.754408Z K 7 svn:log V 810 After r232322, it turned out many people (and some ports) are building kernel modules using their old installed /usr/share/mk/bsd.*.mk files, instead of the updated ones in their source tree. This leads to errors like: "sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC} == "no" && ${CC:T:Mclang} != "clang") Obviously, these errors will go away after a "make installworld", or alternatively, by using "make buildenv" before attempting to manually build modules. However, since it is apparently an expected use case to build using old .mk files, change the way we test for clang, so it also works when the MK_CLANG_IS_CC macro doesn't exist. Note the conditional expressions are becoming rather unreadable now, but I will attempt to fix that on a followup commit. MFC after: 2 weeks END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-03-03T19:03:26.009835Z K 7 svn:log V 236 Allow arbitrary MSS sizes and don't mind about the cluster size anymore. We've got more cluster sizes for quite some time now and the orginally imposed limits and the previously codified thoughts on efficiency gains are no longer true. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-03T21:39:12.303567Z K 7 svn:log V 286 On MIPS, _ALIGN always aligns to 8 bytes, even for 32-bit binaries. This might not be ideal, but is the ABI we've shipped so far. Fix macros which reflect the results of _ALIGN on 32-bit MIPS to use the right alignment. This fixes sendmsg under COMPAT_FREEBSD32 on n64 MIPS kernels. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-03-03T23:49:53.008475Z K 7 svn:log V 1018 Revert r232473. I have been convinced by Doug Barton and Bjoern Zeeb that it is better to error out when people attempt to build using the wrong bsd.*.mk files, than to silently ignore the problem. This means, that after this commit, if you want to build kernel modules by hand (or via a port) from a head source tree, you *must* make sure the files in /usr/share/mk are in sync with that tree. If that isn't possible, for example when you are running on an older FreeBSD branch, you can: - Run "make buildenv" from your head source tree, to have the correct environment setup. (It's advisable to have run "make buildworld", or at a minimum "make toolchain" first.) - Alternatively, set MAKESYSPATH to the share/mk directory under your head source tree. If your build tools are too old, other problems may still occur. - Alternatively, use "make -m" and specify the share/mk directory under your head source tree. Again, build tools that are too old may still result in trouble. MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-03-04T00:42:18.718867Z K 7 svn:log V 133 In r232322, I forgot one case where a check for MK_CLANG_IS_CC was needed, in sys/conf/kern.pre.mk. Add it now. MFC after: 2 weeks END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2012-03-04T05:19:55.954500Z K 7 svn:log V 382 Fix tls base computation with COMPAT_FREEBSD32 on n64 kernels. The previous version was missing an else and would always use the n64 TP_OFFSET. Eliminate some duplication of logic here. It may be worth getting rid of some of the ifdefs and introducing gratuitous SV_ILP32 runtime checks on n64 kernels without COMPAT_FREEBSD32 and on o32 kernels, similarly to how PowerPC works. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-03-04T05:49:39.831892Z K 7 svn:log V 760 * Added IEEE80211_ACTION_CAT_MESH in ieee80211.h as specified amendment spec; * Moved old categories as specified by D4.0 to be action fields of MESH category as specified in amendment spec; * Modified functions to use MESH category and its action fields: + ieee80211_send_action_register + ieee80211_send_action + ieee80211_recv_action_register +ieee80211_recv_action; * Modified ieee80211_hwmp_init and hwmp_send_action so they uses correct action fields as specified in amendment spec; * Modified ieee80211_parse_action so that it verifies MESH frames. * Change Mesh Link Metric to use one information element as amendment spec. Draft 4.0 defined two different information elements for request and response. Submitted by: monthadar@gmail.com END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-03-04T05:52:26.980342Z K 7 svn:log V 520 * Introduce new flag for QoS control field; * Change in mesh_input to validate that QoS is set and Mesh Control field is present, also both bytes of the QoS are read; * Moved defragmentation in mesh_input before we try to forward packet as inferred from amendment spec, because Mesh Control field only present in first fragment; * Changed in ieee80211_encap to set QoS subtype and Mesh Control field present, only first fragment have Mesh Control field present bit equal to 1; Submitted by: monthadar@gmail.com END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-04T07:29:35.686973Z K 7 svn:log V 138 Merge r227419: Note that NAT instance argument can be tablearg. PR: misc/162265 Submitted by: Paul Procacci END K 10 svn:author V 8 andreast K 8 svn:date V 27 2012-03-04T08:43:33.366196Z K 7 svn:log V 354 Add support for PWM controlled fans. I found these fans on my PowerMac9,1. These fans are not located under the same node as the the RPM controlled ones, So I had to adapt the current source to parse and fill the properties correctly. To control the fans we can set the PWM ratio via sysctl between 20 and 100%. Tested by: nwhitehorn MFC after: 3 weeks END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-03-04T09:38:20.106938Z K 7 svn:log V 23 Clean up style(9) nits END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-03-04T09:45:43.409264Z K 7 svn:log V 48 Fix build w/o 'options IEEE80211_SUPPORT_MESH'. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-03-04T09:48:58.530858Z K 7 svn:log V 25 Remove unnecessary casts END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-03-04T10:37:26.059400Z K 7 svn:log V 805 Add an ifconfig carp option that enables users to set the state of the carp cluster. This is a direct commit to stable/9 because -HEAD's code is very different. I discussed this with Gleb and the reason for this is that since we do not touch the kernel itself and are not adding very weird or confusing things, we can commit this to the stable branch directly. The options 'master' and 'backup' are now available, which enables the administrator to force a node into the backup or master state on the cluster. Ofcourse preempt has to be disabled otherwise the master node will become master again. One can do that with: sysctl net.inet.carp.preempt=0 After that one can schedule maintenance on the node normally running as the master and such. PR: 100956 Discussed with: glebius MFC after: 1 weeks END K 10 svn:author V 3 zec K 8 svn:date V 27 2012-03-04T11:11:03.619036Z K 7 svn:log V 201 Properly restore curvnet context when returning early from ether_input_internal(). This change only affects options VIMAGE kernel builds. PR: kern/165643 Submitted by: Vijay Singh MFC after: 3 days END K 10 svn:author V 8 andreast K 8 svn:date V 27 2012-03-04T11:55:28.749130Z K 7 svn:log V 490 Restore proper dot symbol creation for assembly files in the kernel build case. Without this patch we were not able to see the assembly function. Only the function descriptor was visible. - Distinguish between user-land and kernel when creating the ENTRY() point of assembly source. - Make the ENTRY() macro more readable, replace the .align directive with the gas platform independant .p2align directive. - Create an END()macro for later use to provide traceback tables on powerpc64. END K 10 svn:author V 3 pho K 8 svn:date V 27 2012-03-04T12:52:00.481472Z K 7 svn:log V 65 Scenario for rename(2) and umount returning "Device busy" added. END K 10 svn:author V 3 pho K 8 svn:date V 27 2012-03-04T12:52:48.409819Z K 7 svn:log V 53 Two scenarios for rename() and cache problems added. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2012-03-04T14:00:32.697407Z K 7 svn:log V 99 Copy amd64 float.h to x86 and merge with i386 float.h. Replace amd64/i386/pc98 float.h with stubs. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2012-03-04T14:12:57.857765Z K 7 svn:log V 72 Copy amd64 trap.h to x86 and replace amd64/i386/pc98 trap.h with stubs. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-04T14:51:42.652753Z K 7 svn:log V 173 Remove unneeded cast to u_int. The values as small enough to fit into int, beside the use of MIN macro which performs type promotions. Submitted by: bde MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-04T14:55:37.891204Z K 7 svn:log V 347 Instead of incomplete handling of read(2)/write(2) return values that does not fit into registers, declare that we do not support this case using CTASSERT(), and remove endianess-unsafe code to split return value into td_retval. While there, change the style of the sysctl debug.iosize_max_clamp definition. Requested by: bde MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-04T15:09:01.672787Z K 7 svn:log V 185 pipe_read(): change the type of size to int, and remove signed clamp. pipe_write(): change the type of desiredsize back to int, its value fits. Requested by: bde MFC after: 3 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-04T15:22:03.675436Z K 7 svn:log V 92 PR: docs/158813 Submitted by: Ben Kaduk Approved by: bcr MFC after: 1 week END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-03-04T15:25:11.184470Z K 7 svn:log V 41 Add __aeabi_read_tp to the symbol list. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-03-04T15:31:13.263249Z K 7 svn:log V 120 Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build universe with gcc. Approved by: dim (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-04T16:21:20.579197Z K 7 svn:log V 94 MFC r227626, r227642: - be more precise about the unit of measurement Approved by: cperciva END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-04T16:24:58.834837Z K 7 svn:log V 94 MFC r227626, r227642: - be more precise about the unit of measurement Approved by: cperciva END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-04T16:26:49.205428Z K 7 svn:log V 221 ehci tunables are only available when kernel is compiled with USB_DEBUG PR: docs/163646 Reported by: Momchil Ivanov Submitted by: Benjamin Kaduk Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-04T16:37:44.879575Z K 7 svn:log V 184 Fix a variety of grammar issues and style nits. PR: docs/165668 Submitted by: Robert Simmons Reviewed by: kaduk@mit.edu Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-04T16:39:08.420684Z K 7 svn:log V 161 POSIX mandates that swab do nothing when len < 0 PR: kern/140690 Submitted by: Jeremy Huddleston Approved by: cperciva MFC after: 2 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-04T16:41:07.796405Z K 7 svn:log V 233 Remove reference to gcc's non-standard -fwritable-strings, which doesn't exist in recent releases (and is bad advice anyway) PR: docs/163119 Submitted by: Yuri Pankov Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-04T16:44:04.315338Z K 7 svn:log V 97 Remove outdated comment of seven years PR: docs/116116 Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-04T16:46:27.954866Z K 7 svn:log V 150 Explicitly list dependency PR: misc/160463 Submitted by: Garrett Cooper Helped by: kan Approved by: cperciva MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-04T16:59:45.326054Z K 7 svn:log V 54 Bump date as modified the man page Submitted by: gjb END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-03-04T17:00:46.102236Z K 7 svn:log V 603 MFC r228504, r228530. r228504: Make *intr{cnt,names} on ARM reside in data section, similar to other arches. sintrnames and sintrcnt are initialized with non-zero values, which were discarded by the .bss directive, so consumers like "vmstat -i" were not getting correct data. Submitted by: Lukasz Plachno Obtained from: Semihalf r228530: ARM pmap fixes: - Write Buffers have to be drained after write to Page Table even if caches are in write-through mode. - Make sure to sync PTE in pmap_zero_page_generic(). Submitted by: Michal Mazur Reviewed by: cognet Obtained from: Semihalf END K 10 svn:author V 6 brucec K 8 svn:date V 27 2012-03-04T17:08:43.736695Z K 7 svn:log V 289 Fix race condition in KfRaiseIrql(). After getting the current irql, if the kthread gets preempted and subsequently runs on a different CPU, the saved irql could be wrong. Also, correct the panic string. PR: kern/165630 Submitted by: Vladislav Movchan END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-03-04T17:33:22.130074Z K 7 svn:log V 175 Permit the use of raidz3 in pc-sysinstall PR: conf/164709 Submitted by: Garrett Cooper Reviewed by: brd, brooks Approved by: cperciva MFC after: 3 days END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-03-04T17:53:40.445095Z K 7 svn:log V 501 MFC r230865: Adjust mvs(4) to handle interrupt cause reg depending on the actual number of channels available - current code treats bits 4:7 in 'SATAHC interrupt mask' and 'SATAHC interrupt cause' as flags for SATA channels 2 and 3 - for embedded SATA controllers (SoC) these bits have been marked as reserved in datasheets so far, but for some new and upcoming chips they are used for purposes other than SATA Submitted by: Lukasz Plachno Reviewed by: mav Obtained from: Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-03-04T18:13:45.295143Z K 7 svn:log V 91 Remove unused #defines. All this is now retrieved from the device tree. MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-04T18:47:20.533768Z K 7 svn:log V 215 Correct typo in the RFC number for the constants based on IANA assignments for IPv6 Neighbor Discovery Option types for "IPv6 Router Advertisement Options for DNS Configuration". It is RFC 6106. MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-04T18:51:45.822381Z K 7 svn:log V 225 In nd6_options() ignore the RFC 6106 options completely rather than printing them if nd6_debug is enabled as unknown. Leave a comment about the RFC4191 option as I am undecided so far. Discussed with: hrs MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-03-04T18:53:35.292019Z K 7 svn:log V 271 Rather than printing the output from route add for all FIBs just print them for the default FIB followed by a statement with a list of FIB numbers for all the other FIBs we install the routes for. Request by: kib (to make it less noisy) Tested by: kib MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-03-04T18:55:33.869106Z K 7 svn:log V 49 Document pci_find_extcap() and pci_find_htcap(). END K 10 svn:author V 3 zec K 8 svn:date V 27 2012-03-04T18:59:38.930896Z K 7 svn:log V 353 Change SYSINIT priorities so that ip_mroute_modevent() is executed before vnet_mroute_init(), since vnet_mroute_init() depends on mfchashsize tunable to be set, and that is done in in ip_mroute_modevent(). Apparently I broke that ordering with r208744 almost 2 years ago... PR: kern/162201 Submitted by: Stevan Markovic (mcafee.com) MFC after: 3 days END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-03-04T19:22:52.900107Z K 7 svn:log V 232 Respect phy-handle property in Ethernet nodes of the device tree. This lets specify whereabouts of the parent PHY for a given MAC node (and get rid of ugly kludges in mge(4) and tsec(4)). Obtained from: Semihalf MFC after: 1 week END K 10 svn:author V 4 tijl K 8 svn:date V 27 2012-03-04T20:02:20.402480Z K 7 svn:log V 159 Do not use INT64_C and UINT64_C to define 64 bit integer limits. They aren't defined for C++ code unless __STDC_CONSTANT_MACROS is defined. Reported by: jhb END K 10 svn:author V 4 tijl K 8 svn:date V 27 2012-03-04T20:24:28.230881Z K 7 svn:log V 272 Copy amd64 ptrace.h to x86 and merge with i386 ptrace.h. Replace amd64/i386/pc98 ptrace.h with stubs. For amd64 PT_GETXSTATE and PT_SETXSTATE have been redefined to match the i386 values. The old values are still supported but should no longer be used. Reviewed by: kib END K 10 svn:author V 3 rmh K 8 svn:date V 27 2012-03-04T21:31:13.449420Z K 7 svn:log V 146 Exclude USB drivers (except umass and ukbd) from main kernel image on i386 and amd64. Reviewed by: hselasky, arch, usb Approved by: kib (mentor) END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-03-04T21:36:18.727800Z K 7 svn:log V 462 Fix a thinko in r232322, where gcc (and its tools) are not built during the cross-tools stage, if CC=clang and WITH_CLANG_IS_CC is not set. This causes no 'cc' to be installed in the temporary cross-tools tree, making lint fall over later in the build, because it ignores ${CC} and attempts to run 'cc' anyway. To fix this, only skip building gcc during cross-tools, if WITHOUT_GCC is set, or if WITH_CLANG_IS_CC is set. Pointy hat to: dim MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-03-04T21:49:30.478433Z K 7 svn:log V 66 Free Robert. Discussed with: adrian Approved by: core (implicit) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-03-04T22:46:11.805742Z K 7 svn:log V 19 Merge head@232523. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-03-04T23:04:16.991502Z K 7 svn:log V 21 Fix style(9) issues. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-03-04T23:13:52.310351Z K 7 svn:log V 115 Add the thread id to the net80211 alq records. This will (hopefully) aid in debugging concurrency related issues. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-03-05T00:00:19.599804Z K 7 svn:log V 19 Merge head@232526. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-03-05T00:49:07.800651Z K 7 svn:log V 171 Add a version of nfscl_reldevinfo() that can be called when the clstate mutex is already held. This avoids a panic caused by calling mtx_lock() when it was alrady locked. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-03-05T02:14:47.075691Z K 7 svn:log V 41 Merge in an up to date kernel from head. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-03-05T02:36:15.690528Z K 7 svn:log V 53 Oops - used the wrong field. Noticed by: nwhitehorn END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-03-05T02:40:18.528718Z K 7 svn:log V 105 Make the chroot shell more functional by providing devfs. Reported by: Robert Simmons MFC after: 4 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-03-05T03:31:40.212220Z K 7 svn:log V 59 Fix the NFSv4.1 client so that it still works for NFSv4.0. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-03-05T03:44:16.161153Z K 7 svn:log V 54 Include the ia64 backend to more of the clang extras. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-03-05T04:46:28.032480Z K 7 svn:log V 86 MFC r231751: Add PART::type attribute handler. It returns partition type as string. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-03-05T04:51:22.592063Z K 7 svn:log V 732 MFC r231754: Add additional check to EBR probe and create methods: don't try probe and create EBR scheme when parent partition type is not "ebr". This fixes error messages about corrupted EBR for some partitions where is actually another partition scheme. NOTE: if you have EBR on the partition with different than "ebr" (0x05) type, then you will lost access to partitions until it will be changed. MFC r231928: Add alias for the partition type 0x0f. Now "ebr" name is used for both types 0x05 and 0x0f, but 0x05 is preferred and used when partition is created with "gpart add -t ebr ...". This should keep EBR partitions accessible after r231754 for those, who have EBR on the partition with type 0x0f. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-03-05T04:53:49.163943Z K 7 svn:log V 119 MFC r231929: If nested scheme allows dump kernel to its partition, we may allow dump for the parent partition too. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-03-05T05:18:58.032122Z K 7 svn:log V 201 MFC r232202: Drop setuid status while doing file operations to prevent potential information leak. This changeset is intended to be a minimal one to make backports easier. Reviewed by: kevlo, remko END