ĵV228333 171 366 231 291 318 1984 150 150 135 160 235 247 262 278 115 125 124 189 1068 126 108 215 175 348 488 167 135 161 306 570 966 178 201 120 201 121 284 877 135 582 247 115 156 117 117 206 189 243 158 155 162 284 328 967 566 1850 114 335 117 289 295 130 201 256 289 230 370 125 235 415 279 681 483 137 268 258 254 194 343 175 426 375 343 141 249 244 318 172 321 321 334 244 2022 321 277 364 359 252 297 251 140 247 215 774 236 351 350 439 573 594 214 207 849 304 193 205 461 365 113 146 142 184 264 552 118 223 263 257 228 658 226 429 340 340 318 318 329 210 333 307 209 203 689 171 1239 355 138 380 150 301 108 372 380 224 108 119 197 143 184 166 179 180 180 626 287 162 315 144 122 166 207 1045 K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-07T21:54:44.062747Z K 7 svn:log V 269 Protect SIOCSIFMTU ioctl handler with driver lock. Don't blindly re-initialize controller whenever MTU is changed. Now, reinitializing is done only when driver is running. While here, remove unnecessary assignment of error value since it was already initialized to 0. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2011-12-07T21:55:11.043082Z K 7 svn:log V 135 Add JMicron JMB381 to the supported list, even though its the most broken. I'd just like to know if that's the card I'm dealing with. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-07T22:04:57.090454Z K 7 svn:log V 194 Consistently use a tab character instead of using either a space or tab after #define. While I'm here consistently use capital letters when it uses hexadecimal notation. No functional changes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-07T23:20:14.405841Z K 7 svn:log V 221 Disable all clocks and put PHY into COMA before entering into suspend state. This will save more power. On resume, make sure to enable all clocks. While I'm here, if controller is not fast ethernet, enable gigabit PHY. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2011-12-08T00:47:22.677251Z K 7 svn:log V 1888 MFC r208737 (required by OCTEON* kernels): Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain. o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is the current default. o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is necessary to have a working "cc" if e.g. mips64 is specified, as binutils will refuse to link objects using different ISAs in some cases. o) Add support for n32 and n64 ABIs to binutils and GCC. o) Add additional required libgcc2 stubs for n32 and n64. o) Add support for the "mips64r2" architecture to GCC. Add the "octeon" o) When static linking, wrap default libraries in --start-group and --end-group. This is required for static linking to work on n64 with the interdependencies between libraries there. This is what other OSes that support n64 seem to do, as well. o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the former being what libgcc, etc., check and the latter seemingly being a misspelling of a hand merge from a Linux spec. o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to the MIPS32 ISA, when we are supporting or will support some systems based on earlier 32-bit and 64-bit ISAs, most notably MIPS-III. o) Merge a new opcode file (and support code) from a later version of binutils and add flags and code necessary to support Octeon-specific instructions. This should also make merging opcodes for other modern architectures easier. No objections from: imp, jmallet, jchandra MFC after: 18 months END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2011-12-08T00:48:06.271734Z K 7 svn:log V 56 Unbreak MALTA64 build by providing proper ldscript name END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2011-12-08T00:48:47.240090Z K 7 svn:log V 56 Add -march=octeon optoin for building OCTEON1-32 kernel END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2011-12-08T00:50:14.604179Z K 7 svn:log V 41 Add ldscripts for OCTEON1 and OCTEON1-32 END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2011-12-08T00:56:23.935389Z K 7 svn:log V 66 MFS r202062: Defintions for cavium uart MFC after: 23 months END K 10 svn:author V 6 eadler K 8 svn:date V 27 2011-12-08T02:40:46.030646Z K 7 svn:log V 139 - set progname for use in usage() PR: bin/162908 Submitted by: Oleg Ginzburg Approved by: sbruno@ MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2011-12-08T03:20:38.890319Z K 7 svn:log V 151 - Fix ktrace leakage if error is set PR: kern/163098 Submitted by: Loganaden Velvindron Approved by: sbruno@ MFC after: 1 month END K 10 svn:author V 6 eadler K 8 svn:date V 27 2011-12-08T03:20:48.038674Z K 7 svn:log V 166 - Add support for Support SEAGATE DAT Scopion 130 PR: kern/141934 Submitted by: HASHI Hiroaki Approved by: sbruno@ MFC after: 1 week END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-08T05:24:26.207885Z K 7 svn:log V 181 When I laid out the svn dirs on pointyhat-west, I put in one more level of directories. Update the expiry list to take this into account. While here, add debugging and verbosity. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-08T05:37:58.906986Z K 7 svn:log V 19 Remove debug line. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-12-08T09:21:30.936013Z K 7 svn:log V 34 Belatedly tag a 20110810 release. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-12-08T10:42:38.196305Z K 7 svn:log V 33 Update to a 10-Aug-2011 release. END K 10 svn:author V 3 rmh K 8 svn:date V 27 2011-12-08T12:31:47.347450Z K 7 svn:log V 97 Make berase() work on platforms whose kernel lacks DIOCGDELETE ioctl. Approved by: kib (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-12-08T13:45:32.859430Z K 7 svn:log V 976 Cherry-pick vendor changes to mdoc: : 2011-10-23 Ingo Schwarze : : [mdoc] Synchronize string tables with the mandoc(1) utility. : : * tmac/doc-common: Add many architecture names used in NetBSD and : OpenBSD (and "arm" from FreeBSD) and remove the duplicate OS version : entry for Darwin-10.6.0. : : * tmac/doc-syms: Add many library names used in NetBSD and FreeBSD. : : * tmac/groff_mdoc.man: Document all supported architecture names, OS : versions, and library names. : : 2011-09-11 Joseph Koshy : : [mdoc] Add some library strings. : : * tmac/doc-syms: Add `libdwarf' and `libelf'. : * tmac/groff_mdoc.man: Document them. : : 2011-07-03 Guillem Jover : : mdoc: Update more OS versions strings. : : * tmac/doc-common: Add versions strings for NetBSD, OpenBSD, : FreeBSD, and DragonFly. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-12-08T13:54:06.789284Z K 7 svn:log V 35 Pull up vendor changes to mdoc(7). END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-08T15:28:36.167282Z K 7 svn:log V 12 Robustness. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-12-08T19:38:42.943919Z K 7 svn:log V 123 Some mdoc(7) style and typo fixes to zfs(8). Submitted by: Nobuyuki Koganemaru MFC after: 3 days END K 10 svn:author V 3 pfg K 8 svn:date V 27 2011-12-08T22:33:37.078799Z K 7 svn:log V 83 Add myself as new committer: add PGP key and announce.. Approved by: jhb (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-12-08T23:58:26.588117Z K 7 svn:log V 255 As of r226865, daily_scrub_zfs_default_threshold is 35 days; document accordingly. PR: 162890 Submitted by: Oliver Hartmann (ohartman ! mail.zedat.fu-berlin.de) Patch by: Niclas Zeising (niclas.zeising ! gmail.com) MFC after: 1 week X-Need-MFC: r226865 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-12-09T02:30:56.542759Z K 7 svn:log V 395 Update du(1): - Sort arguments alphabetically where appropriate - '-B blocksize' is not mutually exclusive of '-h|-k|-m' - Mention '-t' in synopsis - Other wording improvements - Update usage() output to reflect the new synopsis [1] - Other miscellaneous improvements PR: 162438 Submitted by: arundel Reviewed by: Benjamin Kaduk (kaduk ! mit.edu), jhb[1] (original version) MFC after: 1 week END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-09T04:51:40.074525Z K 7 svn:log V 71 Fix [B] indication on index.html. Has probably been broken for years. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-12-09T13:15:19.216920Z K 7 svn:log V 44 - Fix markup. - Remove trailing whitespace. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-12-09T13:28:41.240693Z K 7 svn:log V 70 sbuf_data() hasn't returned NULL for overflowed buffers since r71721. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-09T17:19:41.747097Z K 7 svn:log V 213 Move cpu_set_upcall(newtd, td) up before the first call of thread_free(newtd). This to avoid a possible page fault in cpu_thread_clean() as seen on amd64 with syscall fuzzing. Reviewed by: kib MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-12-09T17:49:34.941957Z K 7 svn:log V 477 Explicitly use curthread while manipulating td_fpop during last close of a devfs file descriptor in devfs_close_f(). The passed in td argument may be NULL if the close was invoked by garbage collection of open file descriptors in pending control messages in the socket buffer of a UNIX domain socket after it was closed. PR: kern/151758 Submitted by: Andrey Shidakov andrey shidakov ru Submitted by: Ruben van Staveren ruben verweg com Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-09T18:17:02.086817Z K 7 svn:log V 869 Do not disable interrupt without knowing whether the raised interrupt is ours. Note, interrupts are automatically ACKed when the status register is read. Add RX/TX DMA error to interrupt handler and do full controller reset if driver happen to encounter these errors. There is no way to recover from these DMA errors without controller reset. Rename local variable name intrs with status to enhance readability. While I'm here, rename ET_INTR_TXEOF and ET_INTR_RXEOF to ET_INTR_TXDMA and ET_INTR_RXDMA respectively. These interrupts indicate that a frame is successfully DMAed to controller's internal FIFO and they have nothing to do with EOF(end of frame). Driver does not need to wait actual end of TX/RX of a frame(e.g. no need to wait the end signal of TX which is generated when a frame in TX FIFO is emptied by MAC). Previous names were somewhat confusing. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-12-09T18:22:57.343726Z K 7 svn:log V 86 The vfs.zfs.txg.timeout sysctl can be safely modified at run time. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-09T18:27:22.996734Z K 7 svn:log V 108 Vendor import of llvm 3.0 final release: http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_30/final@145349 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-09T18:30:06.488592Z K 7 svn:log V 28 Tag llvm 3.0 final release. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-09T18:30:42.903456Z K 7 svn:log V 108 Vendor import of clang 3.0 final release: http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_30/final@145349 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-09T18:31:22.513693Z K 7 svn:log V 29 Tag clang 3.0 final release. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-09T18:34:45.418439Z K 7 svn:log V 187 Remove unnecessary definition of ET_PCIR_BAR. Controller support I/O memory only. While here, use pci_set_max_read_req(9) rather than directly manipulating PCIe device control register. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-09T19:10:38.267393Z K 7 svn:log V 780 Announce flow control ability to PHY driver and enable RX flow control. Controller does not automatically generate pause frames based on number of available RX buffers so it's very hard to know when driver should generate XON frame in time. The only mechanism driver can detect low number of RX buffer condition is ET_INTR_RXRING0_LOW or ET_INTR_RXRING1_LOW interrupt. This interrupt is generated whenever controller notices the number of available RX buffers are lower than pre-programmed value( ET_RX_RING0_MINCNT and ET_RX_RING1_MINCNT register). This scheme does not provide a way to detect when controller sees enough number of RX buffers again such that efficient generation of XON/XOFF frame is not easy. While here, add more flow control related register definition. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-09T19:17:51.907490Z K 7 svn:log V 39 After r228293, et(4) supports altq(4). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-12-09T19:24:17.999701Z K 7 svn:log V 489 - Add a test for PR 151758. - While here, make this compile and work on non-i386: - Use CMSG_SPACE(), CMSG_LEN(), and CMSG_FIRSTHDR() instead of ignoring padding between 'struct cmsghdr' and control message payloads. - Don't initialize the control message before calling recvmsg(). Instead, check that we get a valid control message on return from recvmsg(). - Use errx() instead of err() for some errors that don't report failures that set errno. Requested by: kib (1) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2011-12-09T20:09:36.561652Z K 7 svn:log V 151 Welcome Jim Harris to FreeBSD. He and his team at Intel will be working on storage and chipset drivers for various Intel products. Approved by: core END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2011-12-09T20:23:58.575058Z K 7 svn:log V 17 Added jimharris. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2011-12-09T20:36:10.622972Z K 7 svn:log V 58 Create jimharris branch for staging new development bits. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-09T20:40:24.315796Z K 7 svn:log V 25 Typo. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-09T20:41:54.961228Z K 7 svn:log V 25 Typo. MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2011-12-09T20:45:09.924790Z K 7 svn:log V 107 Creating isci project branch for initial checkin of isci driver. Approved by: scottl Obtained from: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2011-12-09T21:06:20.998437Z K 7 svn:log V 91 Add initial version of Makefile for isci driver. Approved by: scottl Obtained from: Intel END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-09T22:23:45.984980Z K 7 svn:log V 150 Upgrade our copy of llvm/clang to 3.0 release. Release notes can be found at: http://llvm.org/releases/3.0/docs/ReleaseNotes.html MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2011-12-09T23:26:28.713210Z K 7 svn:log V 63 Remove the unused if_free_type() function. X-MFC after: never END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-09T23:37:55.632908Z K 7 svn:log V 59 FreeBSD driver does not require arpcom structure in softc. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-10T00:04:08.218628Z K 7 svn:log V 65 Set up a projects branch for NFSv4.1 client enhancements to NFS. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-10T01:01:44.754038Z K 7 svn:log V 191 Use the correct upstream revision number for llvm/clang 3.0 release. The r145546 revision is from branches/release_30, the r145349 revision is from tags/RELEASE_30/final. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2011-12-10T01:44:24.171636Z K 7 svn:log V 235 Add minimal validation of the service name to fend off at least one attack vector against applications that allow the applicant to specify which policy to apply. Submitted by: Matthias Drochner MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-10T02:06:11.178037Z K 7 svn:log V 869 Add the NFS client changes for a basic NFSv4.1 client. This includes support for sessions for both fore and back channels, creation of a ClientID the NFSv4.1 way and code that avoids using NFSv4.0 operations defined as "mandatory to not implement" for NFSv4.1. It includes handling of NFSv4.1 callbacks via a callback session. It does not include the new NFSv4.1 optional features like pNFS, but does allow the client to work with an NFSv4.1 server and creates the base on which pNFS can be implemented. The new operations are not counted in the nfsstats structure, since it needs to remain the same size, so that the nfsstats command will still work. It adds a new mount option called "minvers" which can be used to specify an NFSv4.1 mount. For example: "mount -t nfs -o nfsv4,minvers=1 :/ / Changes to sys/rpc are required before this will build/work. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-12-10T06:55:02.945413Z K 7 svn:log V 473 Part 1 of two parts, this is the shared code changes in support of new deltas for both em and igb drivers. Note that I am not able to track all the bugs fixed in this code, I am a consumer of it as a component of my core drivers. It is important to keep the FreeBSD drivers up to date with it however. One important note is there is a key fix for 82574 in this update. Also, there are lots of white space changes, I am not happy about them but have no control over it :) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-12-10T07:08:52.493624Z K 7 svn:log V 1756 Part 2 of 2 New deltas for the 1G drivers. There have still been intermittent problems with apparent TX hangs for some customers. These have been problematic to reproduce but I believe these changes will address them. Testing on a number of fronts have been positive. EM: there is an important 'chicken bit' fix for 82574 in the shared code this is supported in the core here. - The TX path has been tightened up to improve performance. In particular UDP with jumbo frames was having problems, and the changes here have improved that. - OACTIVE has been used more carefully on the theory that some hangs may be due to a problem in this interaction - Problems with the RX init code, the "lazy" allocation and ring initialization has been found to cause problems in some newer client systems, and as it really is not that big a win (its not in a hot path) it seems best to remove it. - HWTSO was broken when VLAN HWTAGGING or HWFILTER is used, I found this was due to an error in setting up the descriptors in em_xmit. IGB: - TX is also improved here. With multiqueue I realized its very important to handle OACTIVE only under the CORE lock so there are no races between the queues. - Flow Control handling was broken in a couple ways, I have changed and I hope improved that in this delta. - UDP also had a problem in the TX path here, it was change to improve that. - On some hardware, with the driver static, a weird stray interrupt seems to sometimes fire and cause a panic in the RX mbuf refresh code. This is addressed by setting interrupts late in the init path, and also to set all interrupts bits off at the start of that. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-10T07:29:06.082257Z K 7 svn:log V 18 Better debugging. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2011-12-10T07:48:50.009087Z K 7 svn:log V 239 Get GCC producing what appears to be ARM EABI binaries. Currently we are required to explicitly link against libgcc_s to get the __aeabi_* symbols. ld should be performing this, however its --as-needed argument appears to not be working. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-10T09:34:39.944369Z K 7 svn:log V 21 Fix -trybroken case. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-12-10T10:52:54.337218Z K 7 svn:log V 193 Fix a bug reported by Irene Ruengeler which resulted in not sending out HEARTBEATs when requested by the user. The HEARTBEATs were only queued, but not actually sent out. MFC after: 2 months. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-12-10T13:02:52.844303Z K 7 svn:log V 202 Move ru_inblock increment into arc_read_nolock() so we don't account for cached reads. Discussed with: gibbs No objections from: avg Tested by: Marcus Reid MFC after: 1 week END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-12-10T18:00:53.040761Z K 7 svn:log V 38 Fix NETMAP code problem in the build. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-10T18:11:06.152637Z K 7 svn:log V 109 Replace char copyright[] by static const char copyright[]. It seems the latter is used throughout the tree. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-10T18:21:03.709974Z K 7 svn:log V 164 Add missing "static const" to long options table. This table is only used in this C file and passed to getopt_long(), so we can safely add static and const to it. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-10T18:27:55.511322Z K 7 svn:log V 197 Add more static keywords to truss(1) source code. There are some tables in the source code that are only used by the individual source files themselves. Therefore there is no need to export them. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-10T18:35:26.153313Z K 7 svn:log V 138 Make comsat(8) approximately 15% smaller. This program only consists of a single C file, so simply mark everything except main() static. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-12-10T18:42:00.494473Z K 7 svn:log V 277 Avoid the possibility of integer overflow in the calculation of VM_KMEM_SIZE_MAX. Specifically, if the user/kernel address space split was changed such that the kernel address space was greater than or equal to 2 GB, then overflow would occur. PR: 161721 MFC after: 3 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2011-12-10T21:05:06.280422Z K 7 svn:log V 30 - fix typo Approved by: kib@ END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-10T23:18:34.987957Z K 7 svn:log V 137 Move a couple of the kernel rpc structures into a private include file from the C files, so that they can be included in multiple files. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-10T23:26:24.389852Z K 7 svn:log V 317 Define a new CLSET_BACKCHANNEL for the kernel rpc. This can be used to set up a backchannel on a TCP RPC socket. A backchannel allows RPC messages to travel in the opposite direction, with an RPC request from the server to client and an RPC reply from the client to server. This is used by NFSv4.1 for callback RPCs. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-10T23:35:05.268001Z K 7 svn:log V 181 Add code to handle CLSET_BACKCHANNEL. Basically, just save the xprt returned by svc_vc_create_backchannel() and pass it down to the clnt_vc layer. Struct rc_data is now in _krpc.h. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-10T23:57:32.171675Z K 7 svn:log V 583 Modify the TCP RPC client code to handle the backchannel. The main change is to recognize the case of an RPC request (CALL) message in the receive upcall and marshalling it to the server via the xprt structure in ct_backchannelxprt. The locking is: - ct_lock protects the ct_backchannelxprt field along with other ct_data fields and is held during most of the backchannel changes. - xp_lock protects the fields inside the xprt structure and must be held when the structure is being released in clnt_vc_destroy(). The ct_request and ct_data structures are now defined in _krpc.h. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-11T00:04:18.832643Z K 7 svn:log V 385 Add the backchannel methods and svc_vc_create_backchannel() to the server side kernel RPC, so that a backchannel xprt structure can be created and used to handle RPC requests received by the clnt_vc receive upcall. Once the RPC request is marshalled to the server using the xprt structure, it is handled like any other server side RPC, with the reply being sent on the clnt_vc socket. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-12-11T09:37:25.342537Z K 7 svn:log V 45 Correct LINT build issues in the ioctl code. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-11T09:56:48.116042Z K 7 svn:log V 176 Move 3.5 KB from the data segment to the text segment. The `struct modes' are only used by the getter-functions in the same file, so we can safely mark them static and const. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-11T11:38:50.379824Z K 7 svn:log V 166 Add missing static keywords to global variables in camcontrol. While there, make the vendor list const and add appropriate keywords to functions that use this list. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-11T11:42:44.194498Z K 7 svn:log V 162 Let reboot(8) use getprogname() to compare the program name. While there, mark the global variable dohalt static, as reboot(8) only consists of a single C file. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-11T14:01:11.975769Z K 7 svn:log V 101 Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is in effect. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2011-12-11T16:57:27.672214Z K 7 svn:log V 250 MFH r227757: check for null passphrases, since openssl doesn't Approved by: re (kib) Security: prevents users with unencrypted ssh keys (prohibited unless the nullok option is specified) from logging in by providing a bogus non-null passphrase. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-12-11T17:10:33.083529Z K 7 svn:log V 79 Include sys/queue.h: snmpmod.h uses TAILQ. PR: bin/153153 MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-12-11T17:19:48.885650Z K 7 svn:log V 325 Keep track of PVO entries in each pmap, which allows much faster pmap_remove() for large sparse requests. This can prevent pmap_remove() operations on 64-bit process destruction or swapout that would take several hundred times the lifetime of the universe to complete. This behavior is largely indistinguishable from a hang. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-12-11T17:23:03.197982Z K 7 svn:log V 274 Increase the available virtual address space for user programs on PowerPC AIM systems to 4 GB on 32-bit systems and 2^64 bytes on 64-bit systems. VM_MAXUSER_ADDRESS remains at 2 GB on pending Book-E, pending review of an increase to 3 GB by those more familiar with Book-E. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-12-11T17:32:37.982530Z K 7 svn:log V 250 MFH r228410: check for null passphrases, since openssl doesn't Approved by: re (kib) Security: prevents users with unencrypted ssh keys (prohibited unless the nullok option is specified) from logging in by providing a bogus non-null passphrase. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-12-11T18:46:14.388476Z K 7 svn:log V 49 Last change still had an issue, one more time... END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-11T19:22:42.358707Z K 7 svn:log V 157 Add missing static keyword. All global variables and functions in powerd are marked static, except this array of strings. Add the keyword, for consistency. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-11T19:28:04.439248Z K 7 svn:log V 152 Add missing static keyword. All global variables and functions are marked static. Simply because this is an enum, doesn't mean we can't do so as well. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-12-11T19:53:11.719345Z K 7 svn:log V 225 Document the SVN variable needs to be set in make.conf(5) when SVN_UPDATE is set. PR: 163162 Submitted by: Oliver Hartmann Patch by: Benjamin Kaduk (original) MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-12-11T20:01:37.269356Z K 7 svn:log V 80 Minor whitespace cleanup to make.conf(5). MFC after: 1 week X-MFC-With: 228418 END K 10 svn:author V 3 des K 8 svn:date V 27 2011-12-11T20:38:36.802117Z K 7 svn:log V 228 MFH r227757: check for null passphrases, since openssl doesn't Security: prevents users with unencrypted ssh keys (prohibited unless the nullok option is specified) from logging in by providing a bogus non-null passphrase. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-12-11T20:40:23.759998Z K 7 svn:log V 228 MFH r227757: check for null passphrases, since openssl doesn't Security: prevents users with unencrypted ssh keys (prohibited unless the nullok option is specified) from logging in by providing a bogus non-null passphrase. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-11T20:48:40.399000Z K 7 svn:log V 242 Add more static keywords to rcorder(8). The global variables and functions provided by rcorder.c are not used in the other C files, as the other C files only provide memory allocation and hash functions. This reduces the binary size by 10%. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-11T20:53:12.165884Z K 7 svn:log V 152 Add static keywords to chio(1). All other global variables are already marked static, so for consistency sake, add them to these three arrays as well. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-12-11T21:02:01.326637Z K 7 svn:log V 1928 panic: add a switch and infrastructure for stopping other CPUs in SMP case Historical behavior of letting other CPUs merily go on is a default for time being. The new behavior can be switched on via kern.stop_scheduler_on_panic tunable and sysctl. Stopping of the CPUs has (at least) the following benefits: - more of the system state at panic time is preserved intact - threads and interrupts do not interfere with dumping of the system state Only one thread runs uninterrupted after panic if stop_scheduler_on_panic is set. That thread might call code that is also used in normal context and that code might use locks to prevent concurrent execution of certain parts. Those locks might be held by the stopped threads and would never be released. To work around this issue, it was decided that instead of explicit checks for panic context, we would rather put those checks inside the locking primitives. This change has substantial portions written and re-written by attilio and kib at various times. Other changes are heavily based on the ideas and patches submitted by jhb and mdf. bde has provided many insights into the details and history of the current code. The new behavior may cause problems for systems that use a USB keyboard for interfacing with system console. This is because of some unusual locking patterns in the ukbd code which have to be used because on one hand ukbd is below syscons, but on the other hand it has to interface with other usb code that uses regular mutexes/Giant for its concurrency protection. Dumping to USB-connected disks may also be affected. PR: amd64/139614 (at least) In cooperation with: attilio, jhb, kib, mdf Discussed with: arch@, bde Tested by: Eugene Grosbein , gnn, Steven Hartland , glebius, Andrew Boyer (various versions of the patch) MFC after: 3 months (or never) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-11T21:02:33.529393Z K 7 svn:log V 229 Add static keywords to vidcontrol(1). While there, remove the false optimisation of the colors array. It seems that changing it to an array of pointers instead of a 16x16 array does not cause any increase in binary size at all. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-12-11T21:10:11.764104Z K 7 svn:log V 184 syscons: make sc_puts static as it is used only privately Perhaps sc_puts should also be renamed to scputs to follow the implied naming conventions in the file... MFC after: 2 weeks END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-11T21:26:49.796679Z K 7 svn:log V 267 Add a new parameter, -unlimited-errors, that defeats the "qmanager threshhold" check for runaway builds. You want this primarily when doing a -restart of a build that you expect to mostly fail, or perhaps a -trybroken run. By default, the threshhold check is done. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-11T21:30:17.875755Z K 7 svn:log V 262 Add a way to defeat the runaway-build check by passing a parameter -unlimited-errors. (To do this, add code for parameter checking in the first place.) This parameter is primarily useful for -restart or -trybroken runs where you are expecting a lot of errors. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-12-11T23:19:57.654102Z K 7 svn:log V 154 Avoid a compiler "declared and not used" warning by only exporting the default flow rule template to consumers which actually make use of the structure. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-12-12T07:46:10.370775Z K 7 svn:log V 204 kern_racct: move sys/systm.h inclusion to its proper place This should fix the build failure introduced with r228424. Also remove duplicate inclusion of sys/param.h. Pointyhat to: avg MFC after: 1 week END K 10 svn:author V 7 fabient K 8 svn:date V 27 2011-12-12T09:50:33.897708Z K 7 svn:log V 154 Add watchdog support for VIA south bridge chipset. Tested on VT8251, VX900 but CX700, VX800, VX855 should works. MFC after: 1 month Sponsored by: NETASQ END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-12T10:04:04.276878Z K 7 svn:log V 48 Fix printf. Submitted by: az MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-12-12T10:05:13.585124Z K 7 svn:log V 154 put sys/systm.h at its proper place or add it if missing Reported by: lstewart, tinderbox Pointyhat to: avg, attilio MFC after: 1 week MFC with: r228430 END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-12T10:10:49.014776Z K 7 svn:log V 122 Add definitions for GNU-specific STT_GNU_IFUNC symbol type, and R_{386,X86_64}_IRELATIVE relocations. MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-12T11:03:14.986988Z K 7 svn:log V 681 Add support for STT_GNU_IFUNC and R_MACHINE_IRELATIVE GNU extensions to rtld on 386 and amd64. This adds runtime bits neccessary for the use of the dispatch functions from the dynamically-linked executables and shared libraries. To allow use of external references from the dispatch function, resolution of the R_MACHINE_IRESOLVE relocations in PLT is postponed until GOT entries for PLT are prepared, and normal resolution of the GOT entries is finished. Similar to how it is done by GNU, IRELATIVE relocations are resolved in advance, instead of normal lazy handling for PLT. Move the init_pltgot() call before the relocations for the object are processed. MFC after: 3 weeks END K 10 svn:author V 7 fabient K 8 svn:date V 27 2011-12-12T12:30:44.481777Z K 7 svn:log V 139 Add VIA microde update support to cpuctl(4) and cpucontrol(8). Support have been tested with X2 CPU and QuadCore CPU. MFC after: 1 month END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-12T12:33:38.863682Z K 7 svn:log V 259 Add missing static and const keywords to kbdcontrol. None of the symbols provided by kbdcontrol.c are used by other source files of this binary. Slightly reduce the binary size and make much more symbols read-only by adding proper static and const keywords. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2011-12-12T13:12:55.294993Z K 7 svn:log V 253 There's a small set of events on Nehalem, that are not supported in processors with CPUID signature 06_1AH, 06_1EH, and 06_1FH. Refuse to allocate them on unsupported model. Submitted by: Davide Italiano MFC after: 1 month END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-12T17:33:38.788367Z K 7 svn:log V 346 MFC: r228218, r228219, 228220, 228221 Rename copyin_timeout32 to umtx_copyin_timeout32 and move parameter check here. Include check for negative seconds value. Add umtx_copyin_timeout() and move parameter checks here. Add declaration of umtx_copyin_timeout() Use umtx_copyin_timeout() to copy and check timeout parameteri in kern_thr_suspend(). END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-12T18:27:28.236538Z K 7 svn:log V 480 Consistently use types in ixgbe driver code: - {ixgbe,ixv}_header_split is passed to TUNABLE_INT, so delcare it int, not bool. - {ixgbe,ixv}_tx_ctx_setup() returns a boolean value, so declare it bool, not int. - {ixgbe,ixv}_tso_setup() returns a bool, so declare it bool, not boolean_t. - {ixgbe,ixv}_txeof() returns a bool, so declare it bool, not boolean_t. - Do not re-define bool if the symbol already exists. MFC after: 2 weeks Sponsored by: Isilon Systems, LLC END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-12T18:27:34.020974Z K 7 svn:log V 501 Consistently use types in e1000 driver code: - Two struct members eee_disable are used in a function that expects an int *, so declare them int, not bool. - igb_tx_ctx_setup() returns a boolean value, so declare it bool, not int. - igb_header_split is passed to TUNABLE_INT, so delcare it int, not bool. - igb_tso_setup() returns a bool, so declare it bool, not boolean_t. - Do not re-define bool/true/false if the symbols already exist. MFC after: 2 weeks Sponsored by: Isilon Systems, LLC END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-12T18:43:18.415909Z K 7 svn:log V 121 Do not use the sometimes-reserved work 'bool' for a variable name. MFC after: 2 weeks Sponsored by: Isilon Systems, LLC END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-12T18:43:24.232104Z K 7 svn:log V 114 Do not define bool/true/false if the symbols already exist. MFC after: 2 weeks Sponsored by: Isilon Systems, LLC END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-12-12T18:44:17.138092Z K 7 svn:log V 756 - Define true and false in sys/types.h for _KERNEL consumers, and typedef bool. Due to macro expansion it seemed better to use a typedef for kernel consumers (specifically ofed won't compile without more changes if a define is used). - should also not re-define bool/true/false if they are defined by . It would probably be a programming error to define _KERNEL for user-space code, but downstream consumers like Isilon have already been including in kernel sources, and this protects that usage. - sizeof(_Bool) is not necessarily the same as sizeof(int), so kernel modules should be rebuild with this change. Bump __FreeBSD_version. MFC after: 2 weeks Sponsored by: Isilon Systems, LLC END K 10 svn:author V 6 eadler K 8 svn:date V 27 2011-12-12T21:12:07.674304Z K 7 svn:log V 208 - Add support for ASCII art splash screens in TheDraw format PR: kern/143370 Submitted by: Antony Mawer Reviewed by: gjb (doc) Reviewed by: des (style) Approved by: ed MFC after: 1 month END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-12-12T21:41:05.148886Z K 7 svn:log V 97 Make procstat -l output similar to the output of limits(1). Suggested by: jhb MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-12-12T22:01:33.729165Z K 7 svn:log V 108 Make 64-bit procstat output ELF auxiliary vectors for 32-bit processes. Reviewed by: kib MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-12-12T23:29:32.675284Z K 7 svn:log V 364 Revert the approach for skipping lockstat_probe_func call when doing lock_success/lock_failure, introduced in r228424, by directly skipping in dtrace_probe. This mainly helps in avoiding namespace pollution and thus lockstat.h dependency by systm.h. As an added bonus, this also helps in MFC case. Reviewed by: avg MFC after: 3 months (or never) X-MFC: r228424 END K 10 svn:author V 6 eadler K 8 svn:date V 27 2011-12-13T00:38:50.057536Z K 7 svn:log V 269 Document a large number of currently undocumented sysctls. While here fix some style(9) issues and reduce redundancy. PR: kern/155491 PR: kern/155490 PR: kern/155489 Submitted by: Galimov Albert Approved by: bde Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-13T05:13:51.137677Z K 7 svn:log V 18 Style(9) changes. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-13T06:07:19.015813Z K 7 svn:log V 50 Attempt to pacify Python variable initialization. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-12-13T06:51:56.863382Z K 7 svn:log V 48 Add a verbose message for cleaning WRKDIRPREFIX END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-12-13T06:53:03.312820Z K 7 svn:log V 90 Typo fixes PR: ports/163101 Submitted by: Jason Helfman END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-12-13T06:56:43.346610Z K 7 svn:log V 167 Belatedly catch up with r151555. in_scrubprefix() also needs this fix. We should compare not only addresses, but their masks, too, when searching for matching prefix. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-12-13T07:02:48.869504Z K 7 svn:log V 455 Some cleanup of BOOTP code. Initially I wanted to just change the ifioctl() usage, but end up with more changes. - Use SIOCAIFADDR instead of old rusty SIOCSIFADDR, SIOCSIFBRDADDR and SIOCSIFNETMASK. - Use queue(9) instead of hand made stailq. - Use one socket for all ifioctl() and send/receive operations. - Use __func__ instead of cut-n-paste in logging and panics. - Axe some dead or strange code. Tested by: gonzo, Stefan Bethke END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-12-13T07:13:48.269851Z K 7 svn:log V 24 One more typo, bump .Dd END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-12-13T08:23:03.445522Z K 7 svn:log V 131 The "inet" keyword in the "ifconfig_IF_aliasN" is mandatory for IPv4 aliases to work since network.subr@197139. MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-13T09:01:44.044329Z K 7 svn:log V 171 Staticify dumpfs. This tool only consists of a single C file, so we can simply mark everything except main() static. This seems to shave off about 8% of the binary size. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-12-13T09:49:41.344440Z K 7 svn:log V 159 Fix a DIFFUSE induced segfault in ipfw: declare, initialise and use list head structs instead of pointers to list head structs for feature/classifier modules. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-12-13T09:57:59.134156Z K 7 svn:log V 130 Fix a kernel panic by ensuring the kernel uses the correct structure types (_ctl_) when decoding control messages from userspace. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-12-13T09:58:05.172908Z K 7 svn:log V 565 Fix few bugs in isp(4) target mode support: - in destroy_lun_state() assert hold == 1 instead of 0, as it should receive hold taken by the create_lun_state() or get_lun_statep() before; - fix hold count leak inside rls_lun_statep() that also fired above assert; - in destroy_lun_state() use SIM bus number instead of SIM path id for ISP_GET_PC_ADDR(), as it was before r196008; - make isp_disable_lun() to set status in CCB; - make isp_target_mark_aborted() set status into the proper CCB. Reviewed by: mjacob Sponsored by: iXsystems, inc. MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-12-13T11:13:28.140405Z K 7 svn:log V 133 - Fix different variable types use in different files after r121184, causing problems on amd64. - s/%lud/%lu/. MFC after: 1 month END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-12-13T11:54:51.647495Z K 7 svn:log V 332 dhclient-script relied on incorrect behavior of SIOCAIFADDR ioctl, that changed 0.0.0.0/0.0.0.0 prefix to 0.0.0.0/255.0.0.0. In the r228313 this behavior was fixed, and since dhclient-script got broken. I'm not sure this fix is a perfect one, it just changes dhclient-script to set 0.0.0.0/255.0.0.0 explicitly. PR: kern/163206 END K 10 svn:author V 3 des K 8 svn:date V 27 2011-12-13T12:59:39.388049Z K 7 svn:log V 247 MFH r228384: validate the service name Approved by: re (kib) Security: some poorly thought out programs allow the user to specify the service name; this patch makes it harder to trick these programs into loading and executing arbitrary code. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-12-13T13:02:31.597583Z K 7 svn:log V 247 MFH r228384: validate the service name Approved by: re (kib) Security: some poorly thought out programs allow the user to specify the service name; this patch makes it harder to trick these programs into loading and executing arbitrary code. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-12-13T13:02:52.661459Z K 7 svn:log V 225 MFH r228384: validate the service name Security: some poorly thought out programs allow the user to specify the service name; this patch makes it harder to trick these programs into loading and executing arbitrary code. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-12-13T13:03:11.068423Z K 7 svn:log V 225 MFH r228384: validate the service name Security: some poorly thought out programs allow the user to specify the service name; this patch makes it harder to trick these programs into loading and executing arbitrary code. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-13T13:32:56.564379Z K 7 svn:log V 237 Replace __const by const in all non-contributed source code. As C1X is close to being released, there is no need to wrap around a feature that is already part of C90. Most of these files already use `const' in different placed as well. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-13T13:38:03.251986Z K 7 svn:log V 118 Replace __signed by signed. The signed keyword is an integral part of the C syntax. There's no need to use __signed. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2011-12-13T14:00:27.954674Z K 7 svn:log V 237 - Add a sysctl to allow non-root users the ability to set idle priorities. - While here fix up some style nits. Discussed with: cperciva (breifly) Reviewed by: pjd (earlier version) Reviewed by: bde Approved by: jhb MFC after: 1 month END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-13T14:06:01.146054Z K 7 svn:log V 215 Replace `inline static' by `static inline'. If I interpret the C standard correctly, the storage specifier should be placed before the inline keyword. While at it, replace __inline by inline in the files affected. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-12-13T14:36:04.226914Z K 7 svn:log V 112 Add compatibility support for specifing IPv4 aliases in rc.conf without the "inet" keyword. Obtained from: hrs END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-13T14:53:26.116982Z K 7 svn:log V 111 Don't use __P(). The rest of the file doesn't use it either and according to style(9), it should not be used. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-13T17:34:47.694135Z K 7 svn:log V 597 Add support for __COUNTER__. __COUNTER__ allows one to obtain incrementing (read: unique) numbers from the C preprocesor. This is useful when implementing things like a robust implementation of CTASSERT(), which currently fails when using it more than once on a single line of code. Probably not likely to cause any breakage, but still. __COUNTER__ was also added to GCC 4.3, but since that implementation is GPLv3 licensed, I took the liberty of implementing it without looking at any upstream sources. Therefore, this version is licensed under the same license as the rest of the code; GPLv2. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-12-13T17:59:16.502111Z K 7 svn:log V 76 Disallow various debug.kdb sysctl's when securelevel is raised. PR: 161350 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-13T18:11:25.352303Z K 7 svn:log V 1141 Rework link state tracking and remove superfluous link UP/DOWN messages. o Add check for actually resolved speed in miibus_statchg callback instead of blindly reprogramming BCE_EMAC_MODE register. The callback may be called multiple times(e.g. link UP, link transition, auto-negotiate complete etc) while auto-negotiation is in progress. All unresolved link state changes are ignored now and setting BCE_EMAC_MODE after link establishment is done once. o bce(4) is careful enough not to drive MII_TICK if driver got a valid link. To detect lost link, bce(4) relied on link state change interrupt and if driver see the interrupt, it forced to drive MII_TICK by calling bce_tick() in interrupt handler. Because bce(4) generates multiple link state change interrupts while auto-negotiation is in progress, bce_tick() would be called multiple times and this resulted in generating multiple link UP/DOWN messages. With this change, bce_tick() is not called in interrupt handler anymore such that miibus_statchg callback handles link state changes with consistent manner. Reviewed by: davidch END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-13T19:37:27.234890Z K 7 svn:log V 263 Make support for C1X keywords more complete. - _Alignof(), which returns the aligment of a certain type. - _Static_assert(), which can be used to check compile-time assertions. - _Thread_local, which uses TLS on a variable. MFC after: 3 months Reviewed by: mdf END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-13T19:39:24.685935Z K 7 svn:log V 47 Reimplement CTASSERT() using _Static_assert(). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-13T20:26:46.763721Z K 7 svn:log V 283 BCM5720 performance tweak from Broadcom. o Allow multiple outstanding read requests from non-LSO read DMA engine. o Allow 4KB burst length reads for non-LSO frames. o Enable 512B burst length reads for buffer descriptors. Submitted by: Geans Pin < geanspin <> broadcom dot com > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-13T20:31:57.406181Z K 7 svn:log V 54 Destroy DMA tag for jumbo RX buffer in device detach. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-13T21:26:33.171118Z K 7 svn:log V 209 Change targ(4) to use cdevpriv, instead of multiple character devices. Also update the manpage and the scsi_target example program accordingly. Discussed on: scsi@ Tested by: Chuck Tuffli END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2011-12-13T23:49:32.897485Z K 7 svn:log V 13 IFC @ 228481 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-14T00:28:54.643036Z K 7 svn:log V 274 Implement better support for USB controller suspend and resume. This patch should remove the need for kldunload of USB controller drivers at suspend and kldload of USB controller drivers at resume. This patch also fixes some build issues in avr32dci.c MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-14T00:48:20.674172Z K 7 svn:log V 282 Stop USB audio transfers early so that any audio applications will time out and close opened /dev/dspX.Y device(s), if any. This is a workaround because we cannot unregister PCM devices while the audio character device is in use. Add a missing inclusion guard. MFC after: 1 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-14T01:03:07.390602Z K 7 svn:log V 126 Use usbd_transfer_unsetup() instead of usbd_transfer_stop() so that we don't have to worry about locking. MFC after: 1 weeks END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-14T01:19:37.413775Z K 7 svn:log V 12 Fix braino. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-12-14T02:31:32.304034Z K 7 svn:log V 24 Match other formatting. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-14T04:09:34.766939Z K 7 svn:log V 100 Move definition of DEFAULT_LINUX_OSRELEASE from server.conf to common.conf to unbreak linux_base-*. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-14T04:11:11.069656Z K 7 svn:log V 47 Fix buildenv.* invocations to fix linux_base*. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-12-14T04:12:13.394730Z K 7 svn:log V 88 Pass arch as parameter to buildenv.common and buildenv.client to try to unbreak things. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-12-14T05:34:23.900929Z K 7 svn:log V 75 Do not clobber the ingress queue's congestion setting. MFC after: 1 month END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-12-14T08:35:08.669493Z K 7 svn:log V 88 Clean up includes; the prototype for getosreldate() has moved to in r183390. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-14T08:44:16.766722Z K 7 svn:log V 83 Fix definition of XHCI port power bit. Reported by: Kohji Okuno MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-12-14T08:52:27.369745Z K 7 svn:log V 83 Fix for random USB transfer time out. Submitted by: PseudoCylon MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-14T09:09:37.204827Z K 7 svn:log V 534 Slightly alter the C1X definitions in in cdefs.h: - Add _Alignas(). Unfortunately this macro is only partially functional. The C1X standard will allow both an integer and a type name to be passed to this macro, while this macro only allows an integer. To be portable, one must use _Alignas(_Alignof(double)) to use type names. - Don't do _Static_assert() when __COUNTER__ is not supported. We'd better keep this implementation robust and allow it to be used in header files, without mysteriously breaking older compilers. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-12-14T12:34:02.385466Z K 7 svn:log V 194 Implement BUS_ADD_CHILD() for the isab(4) driver. It already calls bus_generic_probe() and bus_generic_attach() to handle drivers that add new children via identify methods. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-12-14T13:12:55.617329Z K 7 svn:log V 70 Add PCI IDs for the Intel ICH9M SATA controllers. MFC after: 2 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2011-12-14T13:25:00.375532Z K 7 svn:log V 219 - The previous commit (r228449) accidentally moved the vm.stats.vm.* sysctls to vm.stats.sys. Move them back. Noticed by: pho Reviewed by: bde (earlier version) Approved by: bz MFC after: 1 week Pointy hat to: me END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-12-14T14:52:50.647701Z K 7 svn:log V 48 Update this page to describe modern interfaces. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-12-14T14:55:19.832067Z K 7 svn:log V 26 More MLINKS for rtalloc.9 END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-12-14T15:19:40.525830Z K 7 svn:log V 74 After several suggestions from people, move eventtimers page from 7 to 4. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2011-12-14T15:39:51.484562Z K 7 svn:log V 110 Rework the attachement to probe directly on isab(4). Depend on r228496. Requested by: jhb MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-14T16:47:53.033902Z K 7 svn:log V 952 _rtld_bind() read-locks the bind lock, and possible plt resolution from the dispatcher would also acquire bind lock in read mode, which is the supported operation. plt is explicitely designed to allow safe multithreaded updates, so the shared lock do not cause problems. The error in r228435 is that it allows read lock acquisition after the write lock for the bind block. If we dlopened the shared object that contains IRELATIVE or jump slot which target is STT_GNU_IFUNC, then possible recursive plt resolve from the dispatcher would cause it. Postpone the resolution for irelative/ifunc right before initializers are called, and drop bind lock around calls to dispatcher. Use initlist to iterate over the objects instead of the ->next, due to drop of the bind lock in iteration. For i386/reloc.c:reloc_iresolve(), fix calculation of the dispatch function address for dso, by taking into account possible non-zero relocbase. MFC after: 3 weeks END