^220264 169 1636 363 248 449 449 144 288 271 363 186 275 166 150 150 218 125 242 577 967 167 616 113 559 567 567 567 183 174 443 129 168 312 203 470 247 404 796 518 181 227 268 170 158 189 541 297 173 872 184 839 120 144 168 617 122 265 137 137 300 200 648 217 133 133 202 179 139 164 399 401 165 193 242 498 162 260 311 311 802 802 147 147 135 437 362 426 239 243 180 160 290 145 213 810 206 626 206 150 638 433 163 704 185 125 1359 428 734 128 113 225 419 1293 524 307 144 97 141 141 403 197 198 440 182 154 406 184 186 1195 213 293 499 169 127 648 211 125 197 338 332 337 735 307 375 171 214 124 170 214 239 210 106 186 180 158 145 142 391 237 329 286 273 244 174 332 217 169 439 203 260 K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-02T06:56:06.860364Z K 7 svn:log V 1542 GEOM has an internal mechanism to deal with ENOMEM errors returned via g_io_deliver(). In such case it increases 'pace' counter on each ENOMEM and reschedules the request. The 'pace' counter is decreased for each request going down, but until 'pace' is greater than zero, GEOM will handle at most 10 requests per second. For GEOM GATE users that are proxy to local GEOM providers (like ggatel(8) and HAST) we can end up with almost permanent slow down of GEOM down queue. This is because once we reach GEOM GATE queue limit, we return ENOMEM to the GEOM. This means that we have, eg. 1024 I/O requests in the GEOM GATE queue. To make room in the queue and stop returning ENOMEM we need to proceed the requests of course, but those requests are handled by userland daemons that handle them by reading/writing also from/to local GEOM providers. For example with HAST, a new requests comes to /dev/hast/data, which is GEOM GATE provider. GEOM GATE passes the request to hastd(8) and hastd(8) reads/writes from/to /dev/da0. Once we reach GEOM GATE queue limit, to free up a slot in GEOM GATE queue, hastd(8) has to read/write from/to /dev/da0, but this request will also be very slow, because GEOM now slows down all the requests. We end up with full queue that we can unload at the speed of 10 requests per second. This simply looks like a deadlock. Fix it by allowing userland daemons that work with both GEOM GATE and local GEOM providers to specify unlimited queue size, so GEOM GATE will never return ENOMEM to the GEOM. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-02T06:59:05.261268Z K 7 svn:log V 270 Because ggatel(8) operates on local GEOM providers, use unlimited queue size in GEOM GATE to fix the issue described in r220264. This also means that we no longer need -q option, remove it. Don't bother to leaving it as a no-op, as ggatel(8) is just an example utility. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-02T07:01:09.998364Z K 7 svn:log V 155 Handle the problem described in r220264 by using GEOM GATE queue of unlimited length. This should fix deadlocks reported by HAST users. MFC after: 1 week END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-04-02T08:29:02.637900Z K 7 svn:log V 352 MFC r219043: Teach kdump to understand sv_flags records in the trace files. MFC r219044: Update manual page to reflect latest changes of ABI description support. MFC r219138: Teach kdump to understand linux syscalls names too. Fix bug introduced in r219043: the kernel always dump native signal numbers, so no need to check the ABI in ktrpsig(). END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-04-02T08:34:24.560423Z K 7 svn:log V 352 MFC r219043: Teach kdump to understand sv_flags records in the trace files. MFC r219044: Update manual page to reflect latest changes of ABI description support. MFC r219138: Teach kdump to understand linux syscalls names too. Fix bug introduced in r219043: the kernel always dump native signal numbers, so no need to check the ABI in ktrpsig(). END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-04-02T08:45:13.628706Z K 7 svn:log V 48 MFC r219364: Remove dead (since r190620) code. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-02T09:22:06.603107Z K 7 svn:log V 195 Allow to disable sends or receives on a socket using shutdown(2) by interpreting NULL 'data' argument passed to proto_common_send() or proto_common_recv() as a will to do so. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-02T09:25:13.254003Z K 7 svn:log V 178 Declare directions for sockets between primary and secondary. In HAST we use two sockets - one for only sending the data and one for only receiving the data. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-02T09:29:53.447133Z K 7 svn:log V 270 When we are operating on blocking socket and get EAGAIN on send(2) or recv(2) this means that request timed out. Translate the meaningless EAGAIN to ETIMEDOUT to give administrator a hint that he might need to increase timeout in configuration file. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-02T09:31:02.303203Z K 7 svn:log V 94 Handle ENOBUFS on send(2) by retrying for a while and logging the problem. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-04-02T09:34:33.448409Z K 7 svn:log V 182 Increase default timeout from 5 seconds to 20 seconds. 5 seconds is definitely to short under heavy load and I was experiencing those timeouts in my recent tests. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-02T09:46:09.904087Z K 7 svn:log V 71 Add missing include. Reported by: Ulrich Sporlein END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-04-02T10:28:08.763512Z K 7 svn:log V 54 Revert r220268, SV_ABI patches was never merged to 7. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-04-02T10:31:41.151554Z K 7 svn:log V 54 Revert r220263, SV_ABI patches was never merged to 7. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-04-02T11:10:36.952517Z K 7 svn:log V 125 MFC r220043: Print the raw value of si_code, that is esp. useful for undecoded values. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-04-02T15:02:42.918131Z K 7 svn:log V 31 Add accounting for RACCT_NPTS. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-04-02T15:47:23.382579Z K 7 svn:log V 149 Provide the structures and ioctl number definition for handling PCIOCGETCONF compat32. Submitted by: John Wehle MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-04-02T16:02:25.205778Z K 7 svn:log V 484 Implement compat32 shims for PCIOCGETCONF. There is a generic problem with the shims for ioctls that receive pointers to the usermode data areas in the data argument. We either have to modify the handler to accept UIO_USERSPACE/UIO_SYSSPACE indicator, or allocate and fill a usermode memory for data buffer in the host format. The change goes the second route, in particular because we do not need to modify the handler. Submitted by: John Wehle MFC after: 2 weeks END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-04-02T21:52:58.663760Z K 7 svn:log V 873 Fix problems that manifested from filesystem full conditions: - In softdep_revert_mkdir() find the dotaddref before we attempt to cancel the jaddref so we can make assumptions about where the dotaddref is on the list. cancel_jaddref() does not always remove items from the list anymore. - Always set GOINGAWAY on an inode in softdep_freefile() if DEPCOMPLETE was never set. This ensures that dependencies will continue to be processed on the inowait/bufwait list and is more an artifact of the structure of the code than a pure ordering problem. - Always set DEPCOMPLETE on canceled jaddrefs so that they can be freed appropriately. This normally occurs when the refs are added to the journal but if they are canceled before this point the state would never be set and the dependency could never be freed. Reported by: pho Tested by: pho END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-03T03:26:12.104726Z K 7 svn:log V 72 Make the ski loader functional again after the previous set of changes. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-04-03T03:39:59.935604Z K 7 svn:log V 521 Vendor import of tzdata2011e: Change for Africa/Casablanca: - The 3rd april 2011 at 00:00:00, [it] will be 3rd april 1:00:00 - The 31th july 2011 at 00:59:59, [it] will be 31th July 00:00:00 Update for SouthAmerica/Chili: - Chile's clocks will go back an hour this year on the 7th of May instead of this Saturday. They will go forward again the 3rd Saturday in August, not in October as they have since 1968. This is a pilot plan which will be reevaluated in 2012. Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-04-03T03:40:57.833102Z K 7 svn:log V 19 Tag of tzdata2011e END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-04-03T03:42:42.079854Z K 7 svn:log V 464 MFV of tzdata2011e: Change for Africa/Casablanca: - The 3rd april 2011 at 00:00:00, [it] will be 3rd april 1:00:00 - The 31th july 2011 at 00:59:59, [it] will be 31th July 00:00:00 Update for SouthAmerica/Chili: - Chile's clocks will go back an hour this year on the 7th of May instead of this Saturday. They will go forward again the 3rd Saturday in August, not in October as they have since 1968. This is a pilot plan which will be reevaluated in 2012. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-04-03T03:43:47.071423Z K 7 svn:log V 472 MFC of 220286, tzdata2011e: Change for Africa/Casablanca: - The 3rd april 2011 at 00:00:00, [it] will be 3rd april 1:00:00 - The 31th july 2011 at 00:59:59, [it] will be 31th July 00:00:00 Update for SouthAmerica/Chili: - Chile's clocks will go back an hour this year on the 7th of May instead of this Saturday. They will go forward again the 3rd Saturday in August, not in October as they have since 1968. This is a pilot plan which will be reevaluated in 2012. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-04-03T03:44:48.521418Z K 7 svn:log V 472 MFC of 220286, tzdata2011e: Change for Africa/Casablanca: - The 3rd april 2011 at 00:00:00, [it] will be 3rd april 1:00:00 - The 31th july 2011 at 00:59:59, [it] will be 31th July 00:00:00 Update for SouthAmerica/Chili: - Chile's clocks will go back an hour this year on the 7th of May instead of this Saturday. They will go forward again the 3rd Saturday in August, not in October as they have since 1968. This is a pilot plan which will be reevaluated in 2012. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-04-03T03:45:45.293964Z K 7 svn:log V 472 MFC of 220286, tzdata2011e: Change for Africa/Casablanca: - The 3rd april 2011 at 00:00:00, [it] will be 3rd april 1:00:00 - The 31th july 2011 at 00:59:59, [it] will be 31th July 00:00:00 Update for SouthAmerica/Chili: - Chile's clocks will go back an hour this year on the 7th of May instead of this Saturday. They will go forward again the 3rd Saturday in August, not in October as they have since 1968. This is a pilot plan which will be reevaluated in 2012. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-03T05:09:25.884460Z K 7 svn:log V 88 Revert rev 165325. The arch_maphint interface hasn't been in use for more than 4 years. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-04-03T08:44:57.451340Z K 7 svn:log V 83 MFC r216224: Don't write the terminating NUL past end of buffer. PR: bin/152345 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-03T11:55:48.186969Z K 7 svn:log V 347 Import nvram2env, a device driver which imports various NVRAM-style environments into the kernel environment. The eventual aim is to replace these with specific drivers for the various bootloaders (redboot, uboot, etc.) This however will work for the time being until it can be properly addressed. Submitted by: Aleksandr Rybalko END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-03T11:59:52.312256Z K 7 svn:log V 34 Add an explanation of the inivals END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-03T12:02:49.018187Z K 7 svn:log V 73 Import a fix from the ath9k - reduce the TX FIFO size for Kite (AR9285.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-03T13:19:58.995402Z K 7 svn:log V 216 Commit configuration files for the AR913x SoC and the TP-Link WR-1043ND. The AR91XX_BASE{,.hints} files define all the common parameters for the AR913x SoC systems. The TP-1043ND config file adds local parameters. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-03T14:34:28.201906Z K 7 svn:log V 107 Add in some missing flags in the EHCI initialisation code, needed to get USB working on the AR913x/AR724x. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-03T14:39:55.380855Z K 7 svn:log V 374 Import the initial CPU support for the MIPS RALink RT305x SoC. This is a MIPS4KC CPU with various embedded peripherals, including wireless and ethernet support. This commit includes the platform, UART, ethernet MAC and GPIO support. The interrupt-driven GPIO code is disabled for now pending GPIO changes from the submitter. Submitted by: Aleksandr Rybalko END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-03T17:36:32.779501Z K 7 svn:log V 151 Add in the clock timing calculation when Merlin is using the 5ghz fast clock. This is a 44mhz clock, not a 40mhz clock like normal for 5ghz operation. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-04-03T17:38:12.274391Z K 7 svn:log V 307 In g_eli_read_done() and g_eli_write_done(), for a bio with bio_children > 1, g_destroy_bio() is never called and the bio leaks. Fix this by calling g_destroy_bio() earlier, before the check. Submitted by: Victor Balada Diaz (initial version) Approved by: pjd (mentor) MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-04-03T18:56:16.749285Z K 7 svn:log V 699 MFC r220062, r220173: r220062: In g_gate_create() there is a window between when g_gate_softc is registered in g_gate_units array and when its sc_provider field is filled. If during this period g_gate_units is accessed by another thread that is checking for provider name collision the crash is possible. Fix this by adding sc_name field to struct g_gate_softc. In g_gate_create() when g_gate_softc is created but sc_provider is still not sc_name points to provider name stored in the local array. Reported by: Freddie Cash r220173: Increase debug level on g_gate device destruction and add message on device creation. Suggested by: danger Approved by: pjd (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-04-03T20:03:45.882733Z K 7 svn:log V 420 - Improvements to USB PF solution - Add more fields for USB device and host mode - Add more information to USB PF header so that decoding can easily be done by software analyzer tools like Wireshark. - Optimise usbdump to display USB streams in text format more efficiently. - Software using USB PF must be recompiled after this commit, due to structure changes. MFC after: 7 days Approved by: thompsa (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-03T20:15:41.985461Z K 7 svn:log V 86 I missed committing this last time - it's needed for the 5ghz fast clock calculation. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-04-03T20:17:49.246663Z K 7 svn:log V 129 - Correct EHCI interrupt disabling at detach. Submitted by: Luiz Otavio O Souza MFC after: 7 days Approved by: thompsa (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-04-03T20:22:49.703367Z K 7 svn:log V 170 - Fix for missing event if a libUSB USB transfer is started and stopped rapidly in succession. Reported by: J.R. Oldroyd MFC after: 7 days Approved by: thompsa (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-04-03T20:54:32.474051Z K 7 svn:log V 73 MFC r213433 Tighten USB string filtering. Approved by: thompsa (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-04-03T21:01:36.974612Z K 7 svn:log V 61 MFC r213434 Add missing #if's Approved by: thompsa (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-04-03T21:12:16.089091Z K 7 svn:log V 92 MFC r217374 Add support for 64-byte contexts to XHCI driver. Approved by: thompsa (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-04-03T22:01:26.024752Z K 7 svn:log V 443 MFC r219048, r219004, r218475 and r204632. - The NetBSD Foundation has granted permission to remove clause 3 and 4 from their software. - use device_printf() instead of printf() to give more accurate warnings. - use memcpy() instead of bcopy(). - add missing #if's for non-FreeBSD compilation. - Add missing xhci(4) manual page. - Minor update in some USB manual pages. - Correct USB 3.0 wire-speed to 5.0Gbps Approved by: thompsa (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-04-03T22:15:00.217473Z K 7 svn:log V 199 MFC r219845, r219930, r219949 and r219983. - Use software to compute EHCI data toggle instead of hardware. - Fix EHCI initialisation order with regard to debug prints. Approved by: thompsa (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-04-03T22:21:40.758105Z K 7 svn:log V 76 MFC r219848. - Update format of sysctl node. Approved by: thompsa (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-03T22:31:51.134536Z K 7 svn:log V 776 Add 2 new archsw interfaces: 1. arch_loadaddr - used by platform code to adjust the address at which the object gets loaded. Implement PC98 using this new interface instead of using conditional compilation. For ELF objects the ELF header is passed as the data pointer. For raw files it's the filename. Note that ELF objects are first considered as raw files. 2. arch_loadseg - used by platform code to keep track of actual segments, so that (instruction) caches can be flushed or translations can be created. Both the ELF header as well as the program header are passed to allow platform code to treat the kernel proper differently from any additional modules and to have all the relevant details of the loaded segment (e.g. protection). END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-04-03T22:36:40.471354Z K 7 svn:log V 87 - Include usbdump into default build. MFC after: 7 days Approved by: thompsa (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-03T23:49:20.752136Z K 7 svn:log V 743 Use the new arch_loadaddr I/F to align ELF objects to PBVM page boundaries. For good measure, align all other objects to cache lines boundaries. Use the new arch_loadseg I/F to keep track of kernel text and data so that we can wire as much of it as is possible. It is the responsibility of the kernel to link critical (read IVT related) code and data at the front of the respective segment so that it's covered by TRs before the kernel has a chance to add more translations. Use a better way of determining whether we're loading a legacy kernel or not. We can't check for the presence of the PBVM page table, because we may have unloaded that kernel and loaded an older (legacy) kernel after that. Simply use the latest load address for it. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-04-04T02:57:19.393338Z K 7 svn:log V 24 fix printing of tv_usec END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-04T03:41:18.970102Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@220314 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-04-04T03:43:13.561284Z K 7 svn:log V 72 Lower WARNS to unbreak the build, some archs may have alignment issues. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-04-04T07:45:08.930423Z K 7 svn:log V 520 When removing ifnets, we should first remove the reference to ifnet from the interface index, then decrease refcount, not vice versa. Otherwise there is a race (reproducible) when if_free_internal() contests on IFNET_WLOCK(), and we got a zero-refed ifnet in the index for a long time. It may be picked by some other thread, that runs ifnet_byindex_ref(), who takes the ifnet from index, and bumps refcount. When reader drops the lock, if_free_internal() proceeds with free. Then reader tries to free it a second time. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-04-04T08:04:32.161557Z K 7 svn:log V 30 MFC r220253: Fix mdoc errors. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-04-04T09:25:27.917661Z K 7 svn:log V 168 Do not increment num_args if strsep(3) returned an empty field. That fixes devstat_buildmatch(3) crashes with certain strings. Reported by: arundel MFC after: 2 weeks END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-04-04T09:36:29.128041Z K 7 svn:log V 41 MFC r220157: Use FD_CLOEXEC explicitly. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-04-04T09:38:05.011843Z K 7 svn:log V 41 MFC r220157: Use FD_CLOEXEC explicitly. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-04-04T09:56:10.110270Z K 7 svn:log V 203 MFC r219828: Reference ifaddr object before unlocking as it can be freed from another context at the moment of later access. PR: kern/155555 Submitted by: Andrew Boyer END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-04T11:01:53.270280Z K 7 svn:log V 104 At least set the coverage class value here; worry about populating the register values at a later date. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-04T14:52:31.643061Z K 7 svn:log V 552 Add a HAL capability bit for supporting self-linked RX descriptors and disable it for the 11n chipsets. From the ath9k source: == 11N: we can no longer afford to self link the last descriptor. MAC acknowledges BA status as long as it copies frames to host buffer (or rx fifo). This can incorrectly acknowledge packets to a sender if last desc is self-linked. == Since this is useful for pre-AR5416 chips that communicate PHY errors via error frames rather than by on-chip counters, leave the support in there, but disable it for AR5416 and later. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-04T14:53:36.670153Z K 7 svn:log V 121 Commit missing bits from the last commit: * add the hal capability flag * make sure its disabled for the ar9280/ar9285. END K 10 svn:author V 3 ume K 8 svn:date V 27 2011-04-04T14:54:52.493339Z K 7 svn:log V 41 MFC r220055: getlogin() may return NULL. END K 10 svn:author V 3 ume K 8 svn:date V 27 2011-04-04T14:57:28.893498Z K 7 svn:log V 41 MFC r220055: getlogin() may return NULL. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-04-04T16:23:01.337478Z K 7 svn:log V 105 Remove malloc type M_NETADDR unused since splitting into vfs_subr.c and vfs_export.c. MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-04-04T16:23:32.713805Z K 7 svn:log V 84 Vendor import NetBSD's libedit of "2010/08/04 20:29:18 UTC". Obtained from: NetBSD END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-04-04T16:24:05.684026Z K 7 svn:log V 44 "Tag" the "2010/08/04 20:29:18 UTC" import. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-04T16:47:42.769603Z K 7 svn:log V 71 Add inline to acpi_timer_read() to reduce unnecessary jumps and calls. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-04T16:59:46.441555Z K 7 svn:log V 303 Fix a long standing bug where file_load() passes down the global loadaddr to the l_load() method in the file_formats structure, while being passed an address as an argument (dest). With file_load() calling arch_loadaddr() now, this bug is a little bit more significant. Spotted by: nyan@ (nice catch!) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-04T17:00:50.178008Z K 7 svn:log V 307 Lower the bar for ACPI-fast on virtual machines. The current logic depends on the fact that real hardware has almost fixed cost to read the ACPI timer. It is virtually always false for hardware emulation and it makes no sense to read it multiple times, which is already quite expensive for full emulation. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-04T17:30:33.385796Z K 7 svn:log V 72 Fix bogus logic to calculate delta between two values from ACPI timers. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-04-04T17:39:30.389446Z K 7 svn:log V 100 errno.h: fix couple of whitespace nits Submitted by: bde (a half of the changes) MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-04T17:44:26.578349Z K 7 svn:log V 148 Always check the current minimum value to make the test more predictable. Use INT32_MAX instead of an arbitrary big number for the initial minimum. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2011-04-04T18:23:55.990298Z K 7 svn:log V 400 Build boot2 with -mregparm=3, ie. pass upto 3 arguments via registers. This modifies CFLAGS and tweaks sio.S to use the new calling convention. The sio_init() and sio_putc() prototypes are modified so that other users of this code know the correct calling convention. This makes the code smaller when compiled with clang. Reviewed by: jhb Tested by: me and Freddie Cash END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-04T18:39:04.071150Z K 7 svn:log V 69 Move a trivial acpi_TimerDelta() to acpivar.h to make it inlineable. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-04-04T18:47:17.746201Z K 7 svn:log V 168 MFC r220231, r220232 r220231: Allow multiple modules within sys/modules/cxgbe. The first one is if_cxgbe. r220232: Update header and related code for firmware 1.3.8 END K 10 svn:author V 2 np K 8 svn:date V 27 2011-04-04T20:01:09.613469Z K 7 svn:log V 219 MFC r219945, r219946, r220009 r219945: T3C initialization should setup the parity fence too. r219946: t3_free_sge_resources should be given the number of qsets it needs to free. r220009: Update T3 firmware to 7.11.0 END K 10 svn:author V 2 np K 8 svn:date V 27 2011-04-04T20:02:29.985417Z K 7 svn:log V 219 MFC r219945, r219946, r220009 r219945: T3C initialization should setup the parity fence too. r219946: t3_free_sge_resources should be given the number of qsets it needs to free. r220009: Update T3 firmware to 7.11.0 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-04-04T20:40:39.365150Z K 7 svn:log V 705 MFC r220103: Normally fxp(4) does not receive bad frames but promiscuous mode makes controller to receive bad frames and i82557 will also receive bad frames since fxp(4) have to receive VLAN oversized frames. If fxp(4) encounter DMA overrun error, the received frame size would be 0 so the actual frame size after checksum field extraction the length would be negative(-2). Due to signed/unsigned comparison used in driver, frame length check did not work for DMA overrun frames. Correct this by casting it to int. While I'm here explicitly check DMA overrun error and discard the frame regardless of result of received frame length check. Reported by: n_hibma Tested by: n_hibma END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-04-04T20:41:35.530831Z K 7 svn:log V 705 MFC r220103: Normally fxp(4) does not receive bad frames but promiscuous mode makes controller to receive bad frames and i82557 will also receive bad frames since fxp(4) have to receive VLAN oversized frames. If fxp(4) encounter DMA overrun error, the received frame size would be 0 so the actual frame size after checksum field extraction the length would be negative(-2). Due to signed/unsigned comparison used in driver, frame length check did not work for DMA overrun frames. Correct this by casting it to int. While I'm here explicitly check DMA overrun error and discard the frame regardless of result of received frame length check. Reported by: n_hibma Tested by: n_hibma END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-04-04T20:44:26.637621Z K 7 svn:log V 51 MFC r219938: Remove unused DMA map/tag in softc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-04-04T20:45:39.783887Z K 7 svn:log V 51 MFC r219938: Remove unused DMA map/tag in softc. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-04T22:30:12.628113Z K 7 svn:log V 40 Add a manpage for the nvram2env driver. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-04T22:56:33.296311Z K 7 svn:log V 343 Use cpu_ticks() for get_cyclecount(9) rather than checking existence of TSC at run-time on i386. cpu_ticks() is set to use RDTSC early enough on i386 where it is available. Otherwise, cpu_ticks() is driven by the current timecounter hardware as binuptime(9) does. This also avoids unnecessary namespace pollution from . END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-05T01:42:06.292878Z K 7 svn:log V 266 o Define a geoid structure to make it easier to extract the components. o Re-define some of the fwbus fields. They don't seem to be defined by the PROM. o Add structures for the KLCONFIG data, constructed by the firmware during hardware discovery. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-05T01:51:30.177942Z K 7 svn:log V 330 When enumerating the busses (in all domains) on the BSP, the firmware returns all of busses in the system, not just the busses local to the BSP. We use the base address of the bus to extract the NASID and use that to match busses against shubs. Consequently, the logical device hierarchy is the same as the physical interconnect. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-04-05T03:09:44.240435Z K 7 svn:log V 138 Improve logging by always sending stderr to the installation log file. Reduce warnings by making sure the temporary etc directory exists. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-04-05T03:11:21.880308Z K 7 svn:log V 142 Check correctly for whether there are any available wireless networks. This was tested on a train in the middle of an upstate New York swamp. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-04-05T04:18:42.446481Z K 7 svn:log V 89 MFC r220124: Do not build ip_fw_nat.c for ipfw.ko. It can be build as separate module. END K 10 svn:author V 6 murray K 8 svn:date V 27 2011-04-05T04:23:08.731169Z K 7 svn:log V 65 MFC r218877 from head: Document our complex(3) support in libm. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-05T05:15:48.906424Z K 7 svn:log V 194 Begin fleshing out a functioning debugging setup for if_arge. I'm seeing TX hangs when doing large amounts of TX traffic; an interface reset fixes it. This will hopefully help me identify why. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-05T05:29:10.872915Z K 7 svn:log V 50 Put the ARGE_DEBUG behind a kernel config option. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-05T06:33:35.754657Z K 7 svn:log V 117 * Add some more debugging to if_arge * Make doubly sure that IFF_DRV_OACTIVE is set if the hardware TX queue is full END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-05T06:46:07.969611Z K 7 svn:log V 714 if_arge has had a strange bug that only appears during high traffic levels. TX would hang, RX wouldn't. A bit of digging showed the interface send queue was full, but IFF_DRV_OACTIVE was clear and the hardware TX queue was empty. It turns out that there wasn't a check to drain the interface send queue once hardware TX had completed, so if the interface send queue had filled up in the meantime, subsequent packets would be dropped by the higher layers and if_start (and thus arge_start()) would never be called. The fix is simple - call arge_start_locked() in the software interrupt handler after the hardware TX queue has been handled or a TX underrun occured. This way the interface send queue gets drained. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-04-05T07:56:40.849798Z K 7 svn:log V 109 Document -w for swapuse. PR: docs/156089 Submitted by: Andrey Ignatov MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-04-05T08:49:47.997538Z K 7 svn:log V 533 Make clang default on x86 and powerpc, but not on other architectures. Make fdt default on arm and powerpc. This now includes cross compiled targets, where before we tried to make it host-based. Also, move the lists of default yes and no options to a variable. In general, only build tools should get this treatment in bsd.own.mk. Also, the use of TARGET* in the bsd.*mk files is discouraged, but necessary here due to the ordering of things in buildworld. We make the native case work by testing MACHINE_ARCH after TARGET_ARCH. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-05T13:14:17.921972Z K 7 svn:log V 110 The xpaBiasLvlFreq[] fields in the modal header also need swapping when the EEPROM contents are byte-swapped. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-04-05T13:48:53.020189Z K 7 svn:log V 57 MFi386: revision 220337 Build boot2 with -mregparm=3. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-04-05T14:15:58.260047Z K 7 svn:log V 541 Extend the DDB command "watchdog" with the ability to specify a timeout value. The timeout is expressed in the form T(N) = (2^N * nanoseconds) and can be easilly extracted from the watchdog interface as a WD_TO_* macro. That new functionality is supposed to fix re-entering the kernel from DDB re-enabling the watchdog again (previously disabled) and also offer the possibility to break for deadlocked DDB commands. Please note that retro-compatibility is retained. Sponsored by: Sandvine Incorporated Approved by: des MFC after: 10 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-05T14:19:05.021460Z K 7 svn:log V 340 Add the ability to manage the state of write caching when the battery back-up is missing or dead. The current state of this field is reported in 'mfiutil cache ' and can be adjusted via 'mfiutil cache bad-bbu-write-cache '. This setting should generally be disabled to avoid data loss. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-05T15:11:09.516816Z K 7 svn:log V 68 Flesh out a simple tool to print the ALQ dump generated by the HAL. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-05T15:33:12.250954Z K 7 svn:log V 608 Slightly tweak how we're running in PBVM. In particular: 1. The loader maps the beginning of text as well as the beginning of data. Put critical text and data (read: IVT related) at the beginning of the segments to make sure we don't get nested faults when we can't deal with them. 2. The loader uses more TRs, so use different ones for now. This should all be dynamic and handled by TR management code. This will do for now. This works for kernels and fixes the hard hangs when trying to run user space. The problem was that critical data was not mapped and we got nested TLB faults. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-05T16:12:38.457453Z K 7 svn:log V 90 * re-enable marker stuff, I accidentally disabled it during debugging * correct arg check END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-05T16:14:54.843893Z K 7 svn:log V 30 Make the alq log path tunable END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-04-05T17:41:54.399063Z K 7 svn:log V 1261 Add initial jumbo frame support for BCM5714/BCM5715 and BCM5780. Unlike other controllers which have more advanced jumbo support, these controllers have one send ring, one standard receive producer ring and one receive return ring. In order to receive jumbo frames on the controllers, driver now will increase Rx buffer size to 9k. Two Rx modes are supported on these controllers and I chose standard Rx BDs over extended Rx BDs. The extended Rx BD mode allows up to 4 segmentations for each Rx BDs such that kernel does not have to allocate large buffer of contiguous memory for receiving. The extended Rx BD mode is already used on controllers that have separate jumbo receive ring. However, using extended Rx BDs on BCM5714/BCM5715/BCM5780 reduces the number of Rx BDs to 256 entries which in turn may reduce the performance. Also UMA backed page allocator for jumbo frame returns contiguous memory so using extended Rx BD has no advantage on FreeBSD unless highly customized local allocator implemented in driver is used. To use jumbo buffers in standard receive ring, Rx buffer allocation handler was changed to allocate MJUM9BYTES sized mbuf. PR: kern/155192 Tested by: Vijay Singh gmail dot com> Submitted by: mjacob (initial version) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-05T18:40:19.546346Z K 7 svn:log V 334 Lower the bar for ACPI-fast on real machines slightly. Empirical evidences show that there are perfectly working PM timers with occasional "hiccups", probably because of an SMI. Now we ignore the maximum if it happens once in the test loop and the width is small enough. Also, relax normal width a bit to count in a boundary case. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-04-05T18:41:01.005815Z K 7 svn:log V 638 * Add the readline(3) API to libedit. The libedit versions of {readline,history}.h are in /usr/include/edit so as to not conflict with the GNU libreadline versions. To use the libedit readline(3) one should add "-I/usr/include/edit" to their Makefile (spelled "-I${DESTDIR}/${INCLUDEDIR}/edit" within the FreeBSD source tree). * Enable its use in the BSD licensed utilities that support readline(3). * To make it easier to sync libedit development with NetBSD, histedit.h is moved into libedit's directory as history shows shown we keep merging it into that location. Obtained from: NetBSD Sponsored by: Juniper Networks END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-04-05T19:41:18.118606Z K 7 svn:log V 36 Fix buildworld -DMODULES_WITH_WORLD END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-04-05T19:50:34.629979Z K 7 svn:log V 19 Add missing stubs. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-04-05T20:23:59.081157Z K 7 svn:log V 130 Add accounting for most of the memory-related resources. Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version) END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-04-05T21:26:05.338428Z K 7 svn:log V 321 Be far more persistent in reclaiming blocks and inodes before giving up and declaring a filesystem out of space. Especially necessary when running on a small filesystem. With this improvement, it should be possible to use soft updates on a small root filesystem. Kudos to: Peter Holm Testing by: Peter Holm MFC: 2 weeks END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-04-05T21:55:43.333633Z K 7 svn:log V 1199 Important update for the igb driver: - Add the change made in em to the actual unrefreshed number of descriptors is used as a basis in rxeof on the way out to determine if more refresh is needed. NOTE: there is a difference in the ring setup in igb, this is not accidental, it is necessitated by hardware behavior, when you reset the newer adapters it will not let you write RDH, it ALWAYS sets it to 0. Thus the way em does it is not possible. - Change the sysctl handling of flow control, it will now make the change dynamically when the variable setting changes rather than requiring a reset. - Change the eee sysctl naming, validation found the old unintuitive :) - Last but not least, some important performance tweaks in the TX path, I found that UDP behavior could be drastically hindered or improved with just small changes in the start loop. What I have here is what testing has shown to be the best overall. Its interesting to note that changing the clean threshold to start at a full half of the ring, made a BIG difference in performance. I hope that this will prove to be advantageous for most workloads. MFC in a week. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-04-05T21:56:05.417754Z K 7 svn:log V 428 Allow strerror(0) and strerror_r(0, ...). Of course, strerror_r() may still fail with ERANGE. Although the POSIX specification said this could fail with EINVAL and doing this likely indicates invalid use of errno, most other implementations permitted it, various POSIX testsuites require it to work (matching the older sys_errlist array) and apparently some applications depend on it. PR: standards/151316 MFC after: 1 week END K 10 svn:author V 7 davidch K 8 svn:date V 27 2011-04-05T22:13:33.520615Z K 7 svn:log V 210 - Removed multiple console error messages and replaced with statistic counters to reduce spew. - Fixed a TSO problem when an mbuf contains both header and payload in the same cluster. MFC after: One week. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-04-06T11:12:05.841937Z K 7 svn:log V 52 MFC r220158: Provide compat32 shims for kldstat(2). END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-04-06T11:12:51.785450Z K 7 svn:log V 6 Regen END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-04-06T11:13:55.673875Z K 7 svn:log V 49 MFC 219850: s/buffer/buf as is used in the code. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-04-06T11:14:42.504532Z K 7 svn:log V 49 MFC 219850: s/buffer/buf as is used in the code. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-04-06T11:20:54.765665Z K 7 svn:log V 310 Correct 'list scan' description in the examples. The previous description was incorrect - 'list scan' does not actually do a scan, but instead lists the results of the background 'scan' cache. Submitted by: Fabian Keil (freebsd-listen of fabiankeil de) (via email) Discussed with: bschmidt MFC after: 3 days END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-04-06T12:05:09.173007Z K 7 svn:log V 104 Add the scenarios used to show the premature "out of space" problem for Soft Updates, fixed in R220374. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-04-06T15:36:19.053570Z K 7 svn:log V 101 Add rc.d script for netdumpsrv with related changes to rc.conf defaults. Reviewed by: dougb, emaste END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2011-04-06T15:45:32.812554Z K 7 svn:log V 342 Implement mxge_init() This fixes a long standing bug in mxge(4) where "ifconfig mxge0 $IP" did not bring the interface into a RUNNING state, like it does on most (all?) other FreeBSD NIC drivers. Thanks to gnn for mentioning the bug, and yongari for pointing out that ether_ioctl() invokes ifp->if_init() in SIOCSIFADDR. MFC after: 7 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-04-06T16:24:24.605028Z K 7 svn:log V 88 Add RACCT_RSS. Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-04-06T16:27:04.357517Z K 7 svn:log V 60 In vm_daemon(), do not skip processes stopped with SIGSTOP. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-04-06T16:59:54.205412Z K 7 svn:log V 311 Add ucred pointer to the SysV-related memory structures. This is required for racct. Note that after this commit, ipcs(1) needs to be rebuilt. Otherwise, it will fail with "ipcs: sysctlbyname: kern.ipc.msqids: Cannot allocate memory". Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2011-04-06T17:29:40.797973Z K 7 svn:log V 87 Mark getc() as inline, this has no effect on gcc but helps clang. Approved by: jhb END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-06T17:47:22.352128Z K 7 svn:log V 94 Fix several places to ignore processes that are not yet fully constructed. MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-04-06T17:54:10.509689Z K 7 svn:log V 1097 MFhead r196527,204406,216296-216297: ------------------------------------------------------------------------ r196527 | charnier | 2009-08-25 08:09:09 +0400 (вт, 25 авг 2009) | 3 lines ANSIfy functions declarations, adjust prototypes. Rename local variable to not conflict with err(). ------------------------------------------------------------------------ r204406 | uqs | 2010-02-27 13:18:33 +0300 (сб, 27 фев 2010) | 12 lines route(8): make WARNS=3 clean - add static and const where appropriate - check pointers against NULL - minor styling nits - it is actually WARNS=6 clean for non-strict alignment platforms ------------------------------------------------------------------------ r216296 | glebius | 2010-12-08 18:10:27 +0300 (ср, 08 дек 2010) | 5 lines Add RTM_IEEE80211 to array of route message descriptions. ------------------------------------------------------------------------ r216297 | glebius | 2010-12-08 18:12:37 +0300 (ср, 08 дек 2010) | 7 lines - Fix array bounds checking. [1] - Add message length checking. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2011-04-06T17:54:12.496447Z K 7 svn:log V 115 Move getc() body before xgetc() so gcc does not emit a warning about function having no body. Approved by: jhb END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-04-06T17:56:18.989683Z K 7 svn:log V 196 MFhead 215790: Redo r166423. It is important not only skip freeing multicast entires when underlying interface is detached, but also purge pointers to them, to avoid double-free in future. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-04-06T17:57:08.980274Z K 7 svn:log V 402 MFhead 219827: Improve locking of creating and dropping links in the graph, acquiring the topology mutex in the following functions, that manipulate pointers to peer nodes: - ng_bypass() - ng_path2noderef() when switching to the next node in sequence. Rewrite the function a bit. - ng_address_hook() - ng_address_path() This patch improves stability of large mpd5 installations. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-04-06T17:58:59.863130Z K 7 svn:log V 73 MFhead 219858: Give better URL to the list of available CVSup mirrors. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-04-06T18:00:26.858675Z K 7 svn:log V 31 MFhead 219904: Fix SYNOPSIS. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-04-06T18:03:49.507036Z K 7 svn:log V 551 MFhead 220317: When removing ifnets, we should first remove the reference to ifnet from the interface index, then decrease refcount, not vice versa. Otherwise there is a race (reproducible) when if_free_internal() contests on IFNET_WLOCK(), and we got a zero-refed ifnet in the index for a long time. It may be picked by some other thread, that runs ifnet_byindex_ref(), who takes the ifnet from index, and bumps refcount. When reader drops the lock, if_free_internal() proceeds with free. Then reader tries to free it a second time. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-04-06T18:11:24.333488Z K 7 svn:log V 116 Add accounting for SysV-related resources. Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-04-06T19:08:50.884288Z K 7 svn:log V 31 Style fix. Submitted by: jhb@ END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-04-06T19:13:04.317758Z K 7 svn:log V 102 Add RACCT_NOFILE accounting. Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-04-06T20:08:23.735263Z K 7 svn:log V 245 Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and WITHOUT_CLANG. Don't build clang bootstrap/build-tools depending on this flag. We also keep gperf, devd and libstdc++ around to prevent foot-shooting and to make this a two-way street. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-04-06T20:19:07.115443Z K 7 svn:log V 239 Regenerate after r220401. It turns out makeman is clever about implied flags, so remove that part from WITHOUT_CXX again. This is only partially regenerated, as the entries for FDT and GPIO seem to have switched their default state, too. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-04-06T20:54:26.431741Z K 7 svn:log V 240 Update arcmsr(4) to vendor version 1.20.00.21. This release primarily improves command timeout handling. Many thanks to Areca for continuing to support FreeBSD. Submitted by: Ching-Lung Huang MFC after: 2 months END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-06T23:59:59.202622Z K 7 svn:log V 641 Implement atomic_load_acq_64(9) and atomic_store_rel_64(9) for i386. These functions are implemented with CMPXCHG8B instruction where it is available, i. e., all Pentium-class and later processors. Note this instruction is also used for atomic_store_rel_64() because a simple XCHG-like instruction for 64-bit memory access does not exist, unfortunately. If the processor lacks the instruction, i. e., 80486-class CPUs, two 32-bit load/store are performed with interrupt temporarily disabled, assuming it does not support SMP. Although this assumption may be little naive, it is true in reality. This implementation is inspired by Linux. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-07T00:30:32.782606Z K 7 svn:log V 212 micro-optimize check_for_updates() a little more by only checking the existence of the origin directory if necessary. In multiport() don't test for the existence of the origin directory if PM_INDEX_ONLY is set. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-04-07T03:19:10.705213Z K 7 svn:log V 281 - Don't invalidate jnewblks immediately upon discovering that the block will be removed. Permit the journal to proceed so that we don't leave a rollback in a cg for a very long time as this can cause terrible perf problems in low memory situations. Tested by: pho END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-04-07T05:58:21.268877Z K 7 svn:log V 80 MFC r220184: Remove unneeded checks, g_new_xxx functions can not return NULL. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-04-07T06:01:09.573400Z K 7 svn:log V 122 MFC r220203: Fix a memory leak. Memory that is allocated for schedulers hash table was not freed. PR: kern/156083 END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-04-07T06:02:21.589359Z K 7 svn:log V 33 MFC r220204: Fix malloc types. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-04-07T07:10:42.388656Z K 7 svn:log V 79 Modify read/write ioctls to work with 64 bit registers too. MFC after: 3 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-04-07T07:34:01.063117Z K 7 svn:log V 119 MFC of r220172 Add a menu entry for UTC in the main menu. PR: bin/156019 Submitted by: Daniel O'Conner END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-07T08:17:53.385163Z K 7 svn:log V 146 Make ada(4) driver to control device write cache, same as ata(4) does. Add kern.cam.ada.write_cache sysctl/tunable to control it alike hw.ata.wc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-07T08:28:53.324421Z K 7 svn:log V 117 Add one more ID for Marvell 88SE912x chip found on Asus U3S6 card. Submitted by: Jonas Jonsson END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-07T08:32:53.451532Z K 7 svn:log V 14 Fix spelling. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-04-07T11:13:50.659424Z K 7 svn:log V 95 MFC r220211: Fill up src_port and dst_port variables for SCTP over IPv4. PR: kern/153415 END K 10 svn:author V 3 zec K 8 svn:date V 27 2011-04-07T11:40:10.201563Z K 7 svn:log V 88 Properly unref ng_hub nodes on shutdown, so that we don't leak them. MFC after: 3 days END K 10 svn:author V 6 philip K 8 svn:date V 27 2011-04-07T11:41:00.776895Z K 7 svn:log V 63 Add a directory for the PCI ID Repository to the vendor space. END K 10 svn:author V 6 philip K 8 svn:date V 27 2011-04-07T11:45:15.547158Z K 7 svn:log V 50 Import today's snapshot of the PCI ID Repository. END K 10 svn:author V 6 philip K 8 svn:date V 27 2011-04-07T11:47:27.571083Z K 7 svn:log V 47 Tag today's snapshot of the PCI ID Repository. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-04-07T12:52:46.764821Z K 7 svn:log V 296 - Replace some strcpy()-family functions with memcpy() ones. It has been discussed earlier that the extra safeness is not required in these cases and we can avoid the overhead by using the more general memory copy functions. Approved by: delphij (mentor) Obtained from: The NetBSD Project END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-04-07T13:01:03.949751Z K 7 svn:log V 142 - Simplify the fixed string pattern preprocessing code - Improve readability Approved by: delphij (mentor) Obtained from: The NetBSD Project END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-04-07T13:03:35.036593Z K 7 svn:log V 234 - Adjust a comment to actual behaviour - Makefile nit - Add more CVS/SVN keywords to make it easier to track changes from NetBSD in case they add further improvements Approved by: delphij (mentor) Obtained from: The NetBSD Project END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-07T13:14:51.533408Z K 7 svn:log V 190 Add some more OS_MARK probes to the RX DMA setup/teardown code path. I'm trying to debug the RX DMA path and help the ath9k guys with "RX dma abort stuck" issue that both our drivers have. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2011-04-07T13:49:44.643575Z K 7 svn:log V 175 Fix a bug in mxge's LRO which can cause dup acks to get aggregated & hence prevent TCP from entering fast retransmit. Pointed out by: jeff Reviewed by: gnn MFC after: 7 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-04-07T14:17:55.059473Z K 7 svn:log V 148 MFC r198374: Rename default to default_function, for compatibility with GNU awk. (For cross-compiling out-of-tree kernel modules, for example.) END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-04-07T16:06:39.458342Z K 7 svn:log V 83 MFC r216224: Don't write the terminating NUL past end of buffer. PR: bin/152345 END K 10 svn:author V 7 davidch K 8 svn:date V 27 2011-04-07T20:15:36.706540Z K 7 svn:log V 235 - Fixed a problem when multiqueue mode was enabled which caused the CQ chain to be corrupted. - Removed many console print warnings and replaced with driver maintained counters. - Several style(9) fixes. MFC after: One week. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-04-07T21:20:26.101059Z K 7 svn:log V 124 Port of the LRO fix from mxge driver to the generic LRO code. Thanks to Andrew Gallatin for the change. MFC after: 7 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-07T21:29:34.321201Z K 7 svn:log V 76 Remove stale checks for RDTSC support. amd64 must have TSC support anyway. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-07T21:32:25.000435Z K 7 svn:log V 346 If a system call does not request a full interrupt return, use a fast path via the sysretq instruction to return from the system call. This was removed in 190620 and not quite fully restored in 195486. This resolves most of the performance regression in system call microbenchmarks between 7 and 8 on amd64. Reviewed by: kib MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-07T23:13:22.865944Z K 7 svn:log V 110 pcb_flags is an int, so use testl rather than testq. Pointy hat to: jhb Submitted by: jkim MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-04-07T23:14:33.154343Z K 7 svn:log V 167 u3g.4: - remove self-reference in SEE ALSO section (originally was to s/XR/Xr) cxgbe.4: - remove blank line - add closing .El Reported by: manlint MFC after: 3 days END