ƒ²w246000 181 297 1089 295 140 140 353 345 368 368 235 235 198 198 329 758 758 518 283 495 495 179 168 180 180 201 184 209 167 787 122 158 328 183 182 180 351 278 254 267 169 155 133 161 259 142 509 133 127 136 741 166 239 230 121 342 169 550 198 178 155 172 328 224 362 339 166 312 321 221 369 420 131 95 110 334 101 528 517 95 497 497 195 195 325 160 289 145 122 299 155 103 383 184 291 116 236 251 218 185 1087 155 320 230 147 283 181 262 193 277 466 156 282 197 173 125 138 957 426 476 405 325 957 922 236 187 207 219 358 232 314 146 277 97 198 502 196 474 164 205 228 151 656 180 571 189 302 193 268 1241 144 141 240 852 164 169 852 242 242 264 95 278 278 141 852 237 237 498 159 521 160 521 164 144 417 417 397 397 156 296 296 375 K 10 svn:author V 3 ian K 8 svn:date V 27 2013-01-27T20:16:50.628618Z K 7 svn:log V 204 Restore the irq number to the display string; I fumbled this in the previous commit while trying to make the code internally self-consistant. Approved by: cognet (mentor) Obtained from: Christoph Mallon END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-01-27T20:28:14.909663Z K 7 svn:log V 996 Fix off-by-one errors in low-level arm9 and arm10 cache maintenance routines. In all the routines that loop through a range of virtual addresses, the loop is controlled by subtracting the cache line size from the total length of the request. After the subtract, a 'bpl' instruction was used, which branches if the result of the subtraction is zero or greater, but we need to exit the loop when the count hits zero. Thus, all the bpl instructions in those loops have been changed to 'bhi' (branch if greater than zero). In addition, the two routines that walk through the cache using set-and-index were correct, but confusing. The loop control for those has been simplified, just so that it's easier to see by examination that the code is correct. Routines for other arm architectures and generations still have the bpl instruction, but compensate for the off-by-one situation by decrementing the count register by one before entering the loop. PR: arm/174461 Approved by: cognet (mentor) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-01-27T21:55:01.920090Z K 7 svn:log V 201 Increase the "memorylocked" limit for the "daemon" class. amd(8) requires more than the 64MB that is currently available to it so bump it up to 128MB. Reviewed by: kib Discussed with: avg, kib, zont END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-27T22:50:36.940104Z K 7 svn:log V 45 MFC: r244987 Fix !INVARIANTS && !SMP build. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-27T22:50:39.620852Z K 7 svn:log V 45 MFC: r244987 Fix !INVARIANTS && !SMP build. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-27T22:59:59.086864Z K 7 svn:log V 257 MFC: r244990 - Fix !SMP build. - Replace incorrect function names in printf(9) strings with __func__. - Make xctrl_shutdown_reasons table const. - Use nitems() rather than rolling an own version. - Use DEVMETHOD_END. - Use NULL rather than 0 for pointers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-27T23:00:01.387135Z K 7 svn:log V 249 MFC: r244990 (partial) - Replace incorrect function names in printf(9) strings with __func__. - Make xctrl_shutdown_reasons table const. - Use nitems() rather than rolling an own version. - Use DEVMETHOD_END. - Use NULL rather than 0 for pointers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-27T23:02:33.628751Z K 7 svn:log V 272 MFC: r244991 - Replace partially incorrect function names in panic(9) strings with __func__ and add some missing ones. - Remove a stale comment. - Remove unused NUM_ELEMENTS macro. - Remove extra empty lines. - Use DEVMETHOD_END. - Use NULL rather than 0 for pointers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-27T23:02:35.894545Z K 7 svn:log V 272 MFC: r244991 - Replace partially incorrect function names in panic(9) strings with __func__ and add some missing ones. - Remove a stale comment. - Remove unused NUM_ELEMENTS macro. - Remove extra empty lines. - Use DEVMETHOD_END. - Use NULL rather than 0 for pointers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-27T23:05:21.687223Z K 7 svn:log V 139 MFC: r244993 Remove files not connected to the build. It's confusing enough that we still have two not quite the same evtchn.c left over. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-27T23:05:27.660331Z K 7 svn:log V 139 MFC: r244993 Remove files not connected to the build. It's confusing enough that we still have two not quite the same evtchn.c left over. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-27T23:08:51.748062Z K 7 svn:log V 102 MFC: r245017 Revert bogus part of r241740 (MFC'ed to stable/9 in r241878). Reported by: Michael Moll END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-27T23:08:55.871359Z K 7 svn:log V 102 MFC: r245017 Revert bogus part of r241740 (MFC'ed to stable/8 in r241879). Reported by: Michael Moll END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-01-27T23:12:37.389098Z K 7 svn:log V 228 If no resolv.conf has been made for the new system already and the install media has one already, copy it in lieu of leaving things blank. This reduces the foot-shooting potential for PXE installs that immediately add packages. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-27T23:21:47.161386Z K 7 svn:log V 662 MFC: r245850 Revert the part of r239864 (MFC'ed to stable/9 in r241681) which removed obtaining the SMP mutex around reading registers from other CPUs. As it turns out, the hardware doesn't really like concurrent IPI'ing causing adverse effects. Also the thought deadlock when using this spin lock here and the targeted CPU(s) are also holding or in case of nested locks can't actually happen. This is due to the fact that on sparc64, spinlock_enter() only raises the PIL but doesn't disable interrupts completely. Thus direct cross calls as used for the register reading (and all other MD IPI needs) still will be executed by the targeted CPU(s) in that case. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-27T23:21:51.591444Z K 7 svn:log V 662 MFC: r245850 Revert the part of r239864 (MFC'ed to stable/8 in r241690) which removed obtaining the SMP mutex around reading registers from other CPUs. As it turns out, the hardware doesn't really like concurrent IPI'ing causing adverse effects. Also the thought deadlock when using this spin lock here and the targeted CPU(s) are also holding or in case of nested locks can't actually happen. This is due to the fact that on sparc64, spinlock_enter() only raises the PIL but doesn't disable interrupts completely. Thus direct cross calls as used for the register reading (and all other MD IPI needs) still will be executed by the targeted CPU(s) in that case. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-01-27T23:33:42.626148Z K 7 svn:log V 420 Add a loader tunable "hw.broken_txfifo" which enables a workaround for a bug in old versions of QEMU (and Xen, and other places using QEMU code). On those buggy emulated UARTs, the "TX idle" interrupt gets lost; with this workaround, we spinwait for the TX to happen and then send ourselves the interrupt. It's ugly but it works, while minimizing the impact on the code for the !broken_txfifo case. MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-28T00:15:44.699652Z K 7 svn:log V 187 o Call BUSDMA_IOMMU_UNMAP for each segment, just like BUSDMA_IOMMU_MAP. o Implememt BUSDMA_UOMMU_UNMAP in sgisn_pcib. o Keep a bitmap of IOMMU entry (ATEs) for allocation purposes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-28T00:31:32.482042Z K 7 svn:log V 399 MFC: r245923 - Check the return value of taskqueue_start_threads(). - At least the Saturn chips of 501-6738 cards need a delay after freezing the external GMII pins before the internal PHY is accessible again. So wait a bit after (un)freezing these. Also don't touch the other bits of that configuration register. [1] - Take advantage of nitems(). Reported and tested by: Paul Keusemann [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-28T00:31:55.483502Z K 7 svn:log V 399 MFC: r245923 - Check the return value of taskqueue_start_threads(). - At least the Saturn chips of 501-6738 cards need a delay after freezing the external GMII pins before the internal PHY is accessible again. So wait a bit after (un)freezing these. Also don't touch the other bits of that configuration register. [1] - Take advantage of nitems(). Reported and tested by: Paul Keusemann [1] END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-01-28T07:04:52.222089Z K 7 svn:log V 83 Technical corrections and improvements for the previous change. Submitted by: bde END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-28T07:22:44.422919Z K 7 svn:log V 71 Add new USB ID. Submitted by: Ramil PR: usb/175639 MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-28T07:26:45.929546Z K 7 svn:log V 83 MFC r245725: Add new quirk and correct old one. PR: usb/175454 MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-28T07:28:52.664997Z K 7 svn:log V 83 MFC r245725: Add new quirk and correct old one. PR: usb/175454 MFC after: 1 week END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2013-01-28T09:11:04.577520Z K 7 svn:log V 104 Filled in missing pads for AM335x / Beaglebone. Submitted by: Emmanuel Vadot END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2013-01-28T09:23:38.674889Z K 7 svn:log V 88 Fix case for some signal names. Submitted by: Emmanuel Vadot END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2013-01-28T09:47:00.262576Z K 7 svn:log V 112 Configure all GPIO pins as described in Beaglebone SRM. Submitted by: Emmanuel Vadot END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-28T10:52:24.291272Z K 7 svn:log V 70 Remove some extra and not needed space characters. MFC after: 1 week END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-01-28T11:12:49.993509Z K 7 svn:log V 689 Fix some symbol version mismatches between libstdc++ and libsupc++/libcxxrt that were causing the runtime and STL libraries to see different versions of various classes and functions when libstdc++ is used as a filter. Note: This changes the ABI for libcxxrt, but libcxxrt is currently only in -STABLE for testing and is not used by anything unless explicitly enabled by the end user. No default compiler configurations use it. libc++ will need to be recompiled after this change. make buildworld will do this automatically, but make in lib/libc++ will not necessarily work unless the new libcxxrt is installed first. PR: kern/171610, stand/175453 Reviewed by: kib MFC after: 1 week END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-28T12:08:29.323474Z K 7 svn:log V 29 - Style. MFC after: 2 weeks END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-28T12:20:20.590424Z K 7 svn:log V 65 - Add sysctls to show number of stats scans. MFC after: 2 weeks END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-28T12:50:16.596562Z K 7 svn:log V 232 Construct URL such that there is no // at the beginning of the request but still respect the contents of libstand::rootpath[] Update PXE_IP_WWW if we are using libstand code for bootp (at least that's what I think its doing here). END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-28T12:54:53.382689Z K 7 svn:log V 90 - Add system wide page faults requiring I/O counter. Reviewed by: alc MFC after: 2 weeks END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-28T12:57:42.994052Z K 7 svn:log V 89 - Show page faults requiring I/O on vmstat display. Reviewed by: alc MFC after: 2 weeks END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-28T12:58:37.575347Z K 7 svn:log V 87 - Show page faults requiring I/O when -s invoked. Reviewed by: alc MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-01-28T15:48:31.458823Z K 7 svn:log V 258 - Compute the correct size to reallocate when doubling the size of the array of loaded objects to avoid a buffer overrun. - Use reallocf() to avoid leaking memory if the realloc() fails. PR: kern/175648 Submitted by: yuri@rawbw.com (1) MFC after: 1 week END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-01-28T17:25:53.996716Z K 7 svn:log V 182 Exception handling stack bugs: i) Stop overwriting the previous stackframe ii) Restore stack frame *after* restoring registers after alignment check Approved by: gibbs (implicit) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-01-28T19:38:13.254418Z K 7 svn:log V 161 Mark 'ticks', 'time_second', and 'time_uptime' as volatile to prevent the compiler from caching their values in tight loops. Reviewed by: bde MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-01-28T20:25:27.128344Z K 7 svn:log V 173 Partially revert a vendor commit. The following broke our acpi(4) in a very subtle way: https://github.com/otcshare/acpica/commit/b8cf8cd2232f4e08ef9f8df4a103a29bd8699194 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-01-28T20:33:31.865494Z K 7 svn:log V 76 Fix a long standing bug. NextObject is the first field for very long time. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-01-28T20:37:32.268326Z K 7 svn:log V 62 Merge two bug fixes from the vendor branch. Reported by: pjd END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-01-28T21:06:20.396274Z K 7 svn:log V 40 Fix white spaces for style consistency. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-01-28T21:10:35.265125Z K 7 svn:log V 68 Fix two misusages of return_*() macros for ACPICA. Noticed by: avg END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-01-28T22:50:54.895371Z K 7 svn:log V 166 Add notes for breakage points for traditional building of the kernel as a guide to others. buildkernel, etc was not broken at these points, so document that as well. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-01-28T22:53:08.770580Z K 7 svn:log V 50 Add pointer from recent breakage to old breakage. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-01-28T23:16:47.363125Z K 7 svn:log V 416 MFC: r245314 and r245315: r245315 | imp | 2013-01-11 14:42:23 -0700 (Fri, 11 Jan 2013) | 4 lines Pass the device_t into atkbd_{probe,attach}_unit and get the controller unit and keyboard unit from there. It will be needed for other things in the future as well... r245314 | imp | 2013-01-11 14:19:45 -0700 (Fri, 11 Jan 2013) | 2 lines style(9) changes before I do more real changes. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-01-29T00:07:54.697353Z K 7 svn:log V 41 Handle staging SYMKINKS and LINKS better END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-01-29T00:10:05.472164Z K 7 svn:log V 35 Handle chmod of staged files/links END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-01-29T00:11:21.640151Z K 7 svn:log V 44 Use STAGE_OBJTOP for STAGE_SYMLINKS_DIR etc END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-01-29T01:44:13.497896Z K 7 svn:log V 648 MFC r245820, r245844, r245950: ext2fs: make some inode fields match the ext2 spec. Ext2fs uses unsigned fields in its dinode struct. FreeBSD can have negative values in some of those fields and the inode is meant to interact with the system so we have never respected the unsigned nature of most of those fields. Block numbers and the generation number do not need to be signed so redefine them as unsigned to better match the on-disk information. Include some fixes proposed by bde@. While here add a lot of svn mergeinfo that was missing in /sys: r239963,240060,240880,241007,241141,241143,241181,243641, 243652,244475,245121,245612,245817 END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-29T03:22:50.089582Z K 7 svn:log V 70 Apparently this was a test script at one time. I have never used it. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-29T03:27:24.170775Z K 7 svn:log V 142 Move scripts that need to be only owned by administrator to admin/scripts. These must not be writeable by portbuild due to security concerns. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-29T03:38:25.665153Z K 7 svn:log V 133 Try to teach these to delay startup until after login. They have always been reluctant to start automatically; perhaps this is why. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-29T03:39:45.481723Z K 7 svn:log V 26 Add a newline here at EOF END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-29T03:40:14.103112Z K 7 svn:log V 245 Refactor from portbuild crontab. This holds the things that only scrbuild is allowed to touch, including svn updates. The zfs scripts will have to be split up further because portbuild owns some subdirs and srcbuild now owns the others. WIP. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-29T03:41:10.577330Z K 7 svn:log V 73 Split vcs operations out into the srcbuild crontab for security reasons. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-29T04:03:15.335329Z K 7 svn:log V 453 Rework this to have two users instead of one: portbuild and additionally srcbuild. srcbuild will have the tasks of base installation, vcs updates, and setup for apache, crontabs, and etc/rc.d scripts. This is a new requirement for security reasons, so that the portbuild user cannot either own or affect any of these functions. srcbuild trusts root and portbuild trusts srcbuild but srcbuild must not trust portbuild. The separation is still a WIP. END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2013-01-29T07:21:50.043468Z K 7 svn:log V 101 Add simple clock driver and ehci glue code for a10 Update dts and kernel config Approved by: gonzo@ END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-29T07:30:50.861044Z K 7 svn:log V 83 vtnet: Move an mbuf ASSERT to the calling function Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-29T07:32:00.673849Z K 7 svn:log V 60 vtnet: Tweak ASSERT message Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-29T07:33:40.737178Z K 7 svn:log V 77 virtio: Cleanup feature description printing Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-29T07:35:25.127418Z K 7 svn:log V 232 virtio_blk: Do not always read entire config Only the capacity is guaranteed to be available. The other fields in the device config should only be read if their corresponding feature was negotiated. Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-29T07:36:32.124231Z K 7 svn:log V 128 virtio_blk: Use topology to set the stripe size/offset Also do some minor header file cleanup. Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-29T07:40:54.770668Z K 7 svn:log V 266 virtio_blk: Add support for write cache enable feature Later revisions of the VirtIO spec renamed the block flush feature to writecache-enable, and allowed the guest to set the caching mode to writeback or writethrough at init time. Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-29T07:43:26.307281Z K 7 svn:log V 243 virtio_pci: Rewrite allocation of interrupts The commit simplifies the interrupt allocation code that had become a bit jumbled from having to support per-vq MSIX, shared MSIX, MSI, and legacy style interrupts. Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-29T07:44:35.876763Z K 7 svn:log V 71 virtio_pci: Remove spaces before a tab Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-29T07:46:22.364666Z K 7 svn:log V 216 virtio_pci: Dynamically allocate the virtqueue array For network multiqueue, we may need to support many queues so it is impractical to have a static array in the VirtIO PCI's softc. Approved by: grehan (implicit) END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-29T10:46:47.460617Z K 7 svn:log V 229 Rename in6_getlinkzone into in6_getscopezone. Now it returns zone id for the scpecified interface and scope. For loopback address return link-local scope, this is also required by RFC 6724. Change sa6_checkzone to reflect this. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-29T10:54:50.109483Z K 7 svn:log V 129 Add in6_srcaddrscope function. It returns scope of specified address and will be used in the source address selection algorithm. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-01-29T13:49:08.281423Z K 7 svn:log V 276 Clean some 'svn:executable' properties in the tree. Submitted by: Christoph Mallon While here, merge some other mergeinfo properties that were left behind from my commits /head/include:r241008,241141,241181 /head/contrib/gcc:r244776,244792 /head/cddl:r238457,238509,238558 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-01-29T13:49:58.467972Z K 7 svn:log V 323 Don't hardcode slab size in UMA_SMALLEST_UNIT and UMA_MAX_WASTE. Instead calculate these values based on keg->uk_slabsize, where it is possible. This means, that on zones with a smaller slab size, like pcpu zones we can go for items smaller than 16 bytes. This allows us to reduce UMA waste for uint64_t pcpu zone by 100%. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-01-29T14:49:45.264191Z K 7 svn:log V 36 Merge head r236314 through r246070. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-29T15:27:52.926363Z K 7 svn:log V 4 MFH END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-29T16:00:43.191440Z K 7 svn:log V 18 Copy missed files END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-01-29T17:03:18.889854Z K 7 svn:log V 239 - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) from DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch as gnupatch. Submitted by: pfg Obtained from: The DragonflyBSD Project END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-01-29T17:05:21.813541Z K 7 svn:log V 8 - Regen END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-29T17:20:49.962488Z K 7 svn:log V 435 MFC r245443: Alike to r242314 for GRAID make GMIRROR more aggressive in marking volumes as clean on shutdown and move that action from shutdown_pre_sync stage to shutdown_post_sync to avoid extra flapping. ZFS tends to not close devices on shutdown, that doesn't allow GEOM MIRROR to shutdown gracefully. To handle that, mark volume as clean just when shutdown time comes and there are no active writes. PR: kern/113957 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-29T17:22:53.993056Z K 7 svn:log V 424 MFC r245443: Alike to r242314 for GRAID make GMIRROR more aggressive in marking volumes as clean on shutdown and move that action from shutdown_pre_sync stage to shutdown_post_sync to avoid extra flapping. ZFS tends to not close devices on shutdown, that doesn't allow GEOM MIRROR to shutdown gracefully. To handle that, mark volume as clean just when shutdown time comes and there are no active writes. PR: kern/113957 END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-29T17:38:58.162475Z K 7 svn:log V 4 MFH END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-29T17:45:05.723135Z K 7 svn:log V 404 MFC r245444: Alike to r242314 for GRAID make GRAID3 more aggressive in marking volumes as clean on shutdown and move that action from shutdown_pre_sync stage to shutdown_post_sync to avoid extra flapping. ZFS tends to not close devices on shutdown, that doesn't allow GEOM RAID3 to shutdown gracefully. To handle that, mark volume as clean just when shutdown time comes and there are no active writes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-29T17:47:07.469207Z K 7 svn:log V 404 MFC r245444: Alike to r242314 for GRAID make GRAID3 more aggressive in marking volumes as clean on shutdown and move that action from shutdown_pre_sync stage to shutdown_post_sync to avoid extra flapping. ZFS tends to not close devices on shutdown, that doesn't allow GEOM RAID3 to shutdown gracefully. To handle that, mark volume as clean just when shutdown time comes and there are no active writes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-29T17:51:12.323114Z K 7 svn:log V 102 MFC r245456: Allow to insert new component to geom_raid3 without specifying number. PR: kern/160562 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-29T17:54:26.695357Z K 7 svn:log V 102 MFC r245456: Allow to insert new component to geom_raid3 without specifying number. PR: kern/160562 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-29T18:19:40.362461Z K 7 svn:log V 229 Add -l option to cat(1). This option causes cat(1) to use fcntl(2) to set an exclusive advisory lock on stdout. This will be used to guarantee orderly writing to METALOG. Sponsored by: DARPA, AFRL Obtained from: NetBSD (mason) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-29T18:22:38.234279Z K 7 svn:log V 65 Bump __FreeBSD_version for cat -l (soon to be a bootstrap tool). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-01-29T18:41:30.066146Z K 7 svn:log V 196 Reduce duplication between i386/linux/linux.h and amd64/linux32/linux.h by moving bits that are MI out into headers in compat/linux. Reviewed by: Chagin Dmitry dmitry | gmail MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-29T19:02:43.898077Z K 7 svn:log V 49 Conclude this branch as bsdpatch is in HEAD now. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-01-29T19:06:16.182340Z K 7 svn:log V 26 Fix typo in debug printf. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-29T19:55:53.417009Z K 7 svn:log V 207 The in6ifa_ifwithaddr function now takes as arguments to lookup a pointer to the struct in6_addr and zone id. This allows use it without need of fill sockaddr_in6 structure, when we operate with a in6_addr. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-29T19:59:56.555553Z K 7 svn:log V 64 Change the first part of in6_selectsrc to not use in6_setscope. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-01-29T20:01:47.403653Z K 7 svn:log V 10 Fix date. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-29T20:05:16.169585Z K 7 svn:log V 286 - Refresh code with latest OpenBSD revisions. - Remove $DragonFly$ tags as they are using git nowadays and VCS tags will not help merging. - Other changes to Copyright headers to make them consistent with other source code, we intend to fork from this point. Reviewed by: pfg END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-29T20:28:11.625490Z K 7 svn:log V 89 Fix installworld when the host does not need to bootstrap nmtree. Reported by: lev, jmg END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-29T20:59:22.330950Z K 7 svn:log V 199 Provide a statistic to track the number of drops in each of the port's txq's buf_ring. The aggregate for all the queues of a port is already provided in ifnet->if_snd.ifq_drops. MFC after: 3 days. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-01-29T21:37:56.147436Z K 7 svn:log V 20 Remove unused file. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-01-29T21:44:22.399593Z K 7 svn:log V 139 route_output() always supplies info with RTAX_GATEWAY member that points to a sockaddr of AF_LINK family. Assert this instead of checking. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-29T21:48:10.216020Z K 7 svn:log V 155 Fix installworld when nmtree is not on the host by only adding it to ITOOLS when we will be using the host copy. Fix installkernel when -DNO_ROOT is set. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-29T22:17:58.156612Z K 7 svn:log V 122 Log the addition of login.conf.db, passwd, pwd.db, and spwd.db via cat -l. Make cat a bootstrap tool to facilitate this. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-29T23:26:35.114360Z K 7 svn:log V 91 Project branch for improvements to our UEFI support. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-29T23:57:51.999144Z K 7 svn:log V 991 Implement HT40 spectral frame format support. HT40 spectral / radar frames report both the lower and upper 20MHz worth of samples (128 in total.) The two 20MHz halves have different RSSI values, so use the primary / extension values to calculate two sets of channel power, rather than doing it over the full 128 samples. The two 20MHz halves have different noise floor and RSSI values, so the right NF/RSSI values need to be lined up with the right half of the 40MHz channel. For HT40D (ie, extension channel below primary channel), swap the RSSI/NF values when calculating the power level. So: * remove the pri/ext FFT results - they're kind of pointless now; * calculate channel power separately for each 20MHz half; * Figure out which RSSI/NF to use based on the current channel flags; * Use chain 0 ctl/ext RSSI and NF (when the per-chain and per-half NF cal data is eventually used) in the signal level calculations. Tested: * AR9280, HT20 and HT40 spectral scan report modes END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-30T00:12:51.256578Z K 7 svn:log V 61 Add a statement of intent. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-30T00:16:59.562408Z K 7 svn:log V 225 Remove the Makefile glue that forces libstand to build for i386 on amd64. Note that we still get a 32-bit version built by the lib32 pass so we can use that for generating 32-bit boot code. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-30T00:40:28.572270Z K 7 svn:log V 135 Rewire non-EFI boot code to use the 32-bit libstand out of /usr/lib32. This hasn't been tested yet. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-30T00:58:10.910675Z K 7 svn:log V 53 More things to do. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-30T01:05:24.811689Z K 7 svn:log V 188 Make the EFI loader build as 64-bit on amd64. This may cause further problems with the 32-bit boot code which hasn't been tested with these changes yet. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-30T01:30:06.317330Z K 7 svn:log V 87 Move the original start.S to i386/start.S correctly. Sponsored by: FreeBSD Foundation END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-30T01:36:04.796719Z K 7 svn:log V 166 Remove extra %s from debug statement that ends up crashing tftpd if debug is set very high (like -d15 in my case). Obtained from: Yahoo! Inc MFC after: 2 weeks END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-30T01:43:00.680104Z K 7 svn:log V 99 Purely cosmetic change: order DT_REL* and DT_RELA* consistently. Sponsored by: FreeBSD Foundation END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-01-30T04:09:09.463843Z K 7 svn:log V 183 Add emulation support for instruction "88/r: mov r/m8, r8". This instruction moves a byte from a register to a memory location. Tested by: tycho nightingale at pluribusnetworks com END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-01-30T04:30:36.474817Z K 7 svn:log V 372 Add support for MSI-X interrupts in the virtio network device and make that the default. The current behavior of advertising a single MSI vector can be requested by setting the environment variable "BHYVE_USE_MSI" to "true". The use of MSI is not compliant with the virtio specification and will be eventually phased out. Submitted by: Gopakumar T Obtained from: NetApp END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-30T06:33:39.355306Z K 7 svn:log V 62 Remove an extraneous space. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-30T06:35:35.838373Z K 7 svn:log V 187 Make sure the loader has all the relocations it needs. amd64 uses RELA relocations instead of REL, thus the ldscript needs .relaset instead of .relset. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-30T06:37:18.306399Z K 7 svn:log V 102 The linker set containing loader commands needs to be in the image. Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-30T07:48:43.717274Z K 7 svn:log V 76 Add missing NULL pointer check. Reported by: Lars Engels MFC after: 1 week END K 10 svn:author V 5 gabor K 8 svn:date V 27 2013-01-30T10:23:38.792280Z K 7 svn:log V 31 - Fix typo Submitted by: jkim END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-30T10:59:42.892821Z K 7 svn:log V 41 Add missing header file inclusion guard. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-30T12:43:10.262644Z K 7 svn:log V 864 Reduce default shift used to calculate the max frequency for the TSC timecounter to 1, and correspondingly increase the precision of the gettimeofday(2) and related functions in the default configuration. The motivation for the TSC-low timecounter, as described in the r222866, seems to provide a workaround for the non-serializing behaviour of the RDTSC on some Intel hardware. Tests demonstrate that even with the pre-shift of 8, the cross-core non-monotonicity of the RDTSC is still observed reliably, e.g. on the Nehalems. The r238755 and r238973 implemented the proper fix for the issue. The pre-shift of 1 is applied to keep TSC not overflowing for the frequency of hardclock down to 2 sec/intr. The pre-shift is made a tunable to allow the easy debugging of the issues users could see with the shift being too low. Reviewed by: bde MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-30T12:48:16.594453Z K 7 svn:log V 333 Rework the __vdso_* symbols attributes to only make the symbols weak, but use normal references instead of weak. This makes the statically linked binaries to use fast gettimeofday(2) by forcing the linker to resolve references and providing the neccessary functions. Reported by: bde Tested by: marius (sparc64) MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-30T13:14:15.775071Z K 7 svn:log V 383 The case of pid == WAIT_MYPGRP for the kern_wait() is already handled in kern_wait6(), which is called by kern_wait(). Remove the redundand check, introduced in r243136, and add a comment noting this, to make the code less confusing. The blank lines are added to properly delineate the scope of the preceeding comments. Noted by: "Jukka A. Ukkonen" MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-30T13:14:34.972710Z K 7 svn:log V 312 Rework the handling of the children for the pthread_vfork_test. The trivial handler for SIGCHLD is installed, and SIGCHLD is blocked, to not abandon our zombies to init(8). This way, the zombies are around slightly longer, allowing to actually exercise the logic for p_pwait use by the test. MFC after: 1 week END K 10 svn:author V 4 gahr K 8 svn:date V 27 2013-01-30T14:59:26.328482Z K 7 svn:log V 231 Add fmemopen(3), an interface to get a FILE * from a buffer in memory, along with the respective regression test. See http://pubs.opengroup.org/onlinepubs/9699919799/functions/fmemopen.html Reviewed by: cognet Approved by: cognet END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-01-30T15:21:18.116406Z K 7 svn:log V 864 Fix a descriptor leak in devd. Clients reading /var/run/devd.pipe can close their socket connection any time, and devd only notices that when it gets an error trying to write an event to the client. On a system with no device change activity, clients could connect and disappear repeatedly without devd noticing, leading to an ever-growing list of open socket descriptors in devd. Now devd uses poll(2) looking for POLLHUP on all existing clients every time a new client connection is established, and also periodically (once a minute) to proactively find zombie clients and reap the socket descriptors. It also now has a connection limit, configurable with a new -l command line arg. When the maximum number of connections is reached it stops accepting new connections until some current clients drop off. Reviewed by: imp Approved by: cognet (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-30T15:26:04.985494Z K 7 svn:log V 824 Modify the FreeBSD USB kernel code so that it can be compiled directly into the FreeBSD boot loader, typically for non-USB aware BIOSes, EFI systems or embedded platforms. This is also useful for out of the system compilation of the FreeBSD USB stack for various purposes. The USB kernel files can now optionally include a global header file which should include all needed definitions required to compile the FreeBSD USB stack. When the global USB header file is included, no other USB header files will be included by default. Add new file containing the USB stack configuration for the FreeBSD loader build. Replace some __FBSDID()'s by /* $FreeBSD$ */ comments. Now all USB files follow the same style. Use cases: - console in loader via USB - loading kernel via USB Discussed with: Hiroki Sato, hrs @ EuroBSDCon END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-30T15:46:26.763173Z K 7 svn:log V 138 Provide one global language string descriptor for american english instead of giving each module its own. Submitted by: Christoph Mallon END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-30T15:49:37.983815Z K 7 svn:log V 90 Use an anonymous struct for generated string descriptors. Submitted by: Christoph Mallon END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-30T16:05:54.895655Z K 7 svn:log V 109 Use string literals in string descriptors for marginally better readability. Submitted by: Christoph Mallon END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-30T16:08:05.989541Z K 7 svn:log V 121 Do not unnecessarily split a string literal, because splitting it makes it hard to grep. Submitted by: Christoph Mallon END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-30T17:39:43.578786Z K 7 svn:log V 262 When adding the directory ownership to the METALOG do it by name rather than number as is done in install so as to differ binding of names to ids. Remove the -W flag from the mtree command so that the correct user and group is recorded rather than the default. END K 10 svn:author V 3 sbz K 8 svn:date V 27 2013-01-30T18:01:20.176628Z K 7 svn:log V 139 Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays Reviewed by: cognet Approved by: cognet END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-01-30T18:24:29.283052Z K 7 svn:log V 221 Allow the address and ports to be separated by a colon or period rather than a space to permit directly pasting the output of commands such as netstat and sockstat on the command line. Reviewed by: net MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-01-30T18:40:19.067090Z K 7 svn:log V 50 Utilize m_get2() to get mbuf of appropriate size. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-01-30T19:51:16.019016Z K 7 svn:log V 184 Fix a problem introduced in r231057: in bsd.own.mk, move the test for whether clang is enabled to just after the last place where it could have been forced to "no". MFC after: 3 days END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-30T22:40:43.542517Z K 7 svn:log V 4 IFC END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-01-30T23:20:28.635842Z K 7 svn:log V 103 Unsurprisingly, amd64 can't simply re-use the i386 bindings for EFI. Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-01-30T23:37:35.862568Z K 7 svn:log V 409 Improve devd startup time, by tweaking some string handling routines that are heavily used when parsing config files. Mostly these changes avoid making temporary copies of the strings, and avoid doing byte at a time append operations, on the most-used code path. On a 1.2 GHz ARM processor this reduces the time to parse the config files from 13 to 6 seconds. Reviewed by: imp Approved by: cognet (mentor) END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-01-30T23:49:36.393101Z K 7 svn:log V 103 Do metadata relocation fixup on all loaded modules, not just the kernel. Approved by: cognet (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-30T23:57:19.222097Z K 7 svn:log V 378 Fixes! * the RSSI from the hardware is in units of dB*2, so we need to divide it by 2 to get an actual dB value; * Do the frame length check at the beginning of the loop, in case we get frames that are 0 bytes in length. * Don't print out the full spectral data here. This doesn't fix the MAC/BB issues surrounding corrupted HT20/HT40 frame lengths; that'll come later. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-30T23:59:04.497185Z K 7 svn:log V 69 Display separate lines delineating the centre frequency of channels. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-30T23:59:27.399964Z K 7 svn:log V 109 Update the FFT code to support the HT40 operating mode and the slight change in FFT format from libradarpkt. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-01-31T00:02:36.197563Z K 7 svn:log V 132 Mark tftp_log() as __printflike() (which would have caught the bug fixed in r246106) and deal with the fallout. MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-31T00:02:49.317103Z K 7 svn:log V 56 stop hard-coding the operating mode and interface type. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-31T00:14:25.265434Z K 7 svn:log V 560 Work around some rather unfortunate race conditions inside net80211. Right now, ic_curchan seems to be updated rather quickly (ie, during the ioctl) and before the driver gets notified of what's going on. So what I was seeing was: * NIC was in channel X; * It generates PHY errors for channel X; * an ioctl comes along from userland and changes things to channel Y; * .. this updates ic_curchan, but hasn't yet reset the hardware; * in parallel, RX is occuring and it looks at ic_curchan; * .. which is channel Y, so events get stamped with that now. Sigh. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2013-01-31T01:15:12.118007Z K 7 svn:log V 88 MFC r245956: truss: if file requested with -o flag could not be opened print the reason END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-01-31T08:55:21.240112Z K 7 svn:log V 474 Retire struct sockaddr_inarp. Since ARP and routing are separated, "proxy only" entries don't have any meaning, thus we don't need additional field in sockaddr to pass SIN_PROXY flag. New kernel is binary compatible with old tools, since sizes of sockaddr_inarp and sockaddr_in match, and sa_family are filled with same value. The structure declaration is left for compatibility with third party software, but in tree code no longer use it. Reviewed by: ru, andre, net@ END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-01-31T10:29:22.004868Z K 7 svn:log V 93 - Move AUTHORS and ACKNOWLEDGEMENTS to the end of the page. - Add myself to list of authors. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-31T11:00:57.371219Z K 7 svn:log V 204 Initial version of libusbboot, a fully stand-alone, single threaded and functional compilation of the FreeBSD USB stack for use with boot loaders and such. Discussed with: Hiroki Sato, hrs @ EuroBSDCon END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-01-31T14:07:24.751547Z K 7 svn:log V 100 Format CDB output as 2 digit hex correcting the length Approved by: pjd (mentor) MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-31T16:04:40.289666Z K 7 svn:log V 172 When in -U mode do avoid setting SUID bits, but do not modify the mode variable so the intended mode can be logged correctly if -M is specified. Sponsored by: DARPA, AFRL END K 10 svn:author V 4 gahr K 8 svn:date V 27 2013-01-31T16:39:50.182269Z K 7 svn:log V 1146 - Remove underscores from the internal structure name, as it doesn't collide with the user's namespace. - Correct size and position variables type from long to size_t. - Do not set errno to ENOMEM on malloc failure, as malloc already does so. - Implement the concept of "buffer data length", which mandates what SEEK_END refers to and the allowed extent for a read. - Use NULL as read-callback if the buffer is opened in write-only mode. Conversely, use NULL as write-callback when opened in read-only mode. - Implement the handling of the ``b'' character in the mode argument. A binary buffer differs from a text buffer (default mode if ``b'' is omitted) in that NULL bytes are never appended to writes and that the "buffer data length" equals to the size of the buffer. - Remove shall from the man page. Use indicative instead. Also, specify that the ``b'' flag does not conform with POSIX but is supported by glibc. - Update the regression test so that the ``b'' functionality and the "buffer data length" concepts are tested. - Minor style(9) corrections. Suggested by: jilles Reviewed by: cognet Approved by: cognet END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-01-31T16:44:23.943086Z K 7 svn:log V 52 Import bmake-20130123 Approved by: marcel (mentor) END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-01-31T16:47:34.796734Z K 7 svn:log V 49 Tag bmake-20130123 Approved by: marcel (mentor) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-31T18:56:58.037150Z K 7 svn:log V 144 branch head @177038 because attempting to merge my old user branch causes 30MB of data to hit the repo in a single commit. BTW, that's stupid. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-31T19:24:33.650338Z K 7 svn:log V 756 MFC r245459 Satisfy the intent of kern/151564: [ciss] ciss(4) should increase CISS_MAX_LOGICAL to 107 Submitter wanted to increase the number of logical disks supported by ciss(4) by simply raising the CISS_MAX_LOGICAL value even higher. Instead, consult the documentation for the raid controller (OPENCISS) and poke the controller bits to ask it for how many logical/physical disks it can handle. Revert svn R242089 that raised CISS_MAX_LOGICAL to 64 for all controllers. For older controllers that don't support this mechanism, fallback to the old value of 16 logical disks. Tested on P420, P410, P400 and 6i model ciss(4) controllers. This should will be MFC'd back to stable/9 stable/8 and stable/7 after the MFC period. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-01-31T20:15:43.304686Z K 7 svn:log V 72 Update svn port directory in release(7). Submitted by: Nikolai Lifanov END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-01-31T20:17:02.719615Z K 7 svn:log V 77 Force commit to mark MFC for r246153. MFC after: 2 days X-MFC-With: r246153 END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-31T20:32:11.186334Z K 7 svn:log V 756 MFC r245459 Satisfy the intent of kern/151564: [ciss] ciss(4) should increase CISS_MAX_LOGICAL to 107 Submitter wanted to increase the number of logical disks supported by ciss(4) by simply raising the CISS_MAX_LOGICAL value even higher. Instead, consult the documentation for the raid controller (OPENCISS) and poke the controller bits to ask it for how many logical/physical disks it can handle. Revert svn R242089 that raised CISS_MAX_LOGICAL to 64 for all controllers. For older controllers that don't support this mechanism, fallback to the old value of 16 logical disks. Tested on P420, P410, P400 and 6i model ciss(4) controllers. This should will be MFC'd back to stable/9 stable/8 and stable/7 after the MFC period. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T20:47:35.131726Z K 7 svn:log V 149 MFC r245875: Disable MSI interrupts for SB600 chipset. According to the report they are not functional. PR: kern/174880, kern/174985, kern/175002 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T20:48:56.380321Z K 7 svn:log V 149 MFC r245875: Disable MSI interrupts for SB600 chipset. According to the report they are not functional. PR: kern/174880, kern/174985, kern/175002 END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-31T20:53:31.270195Z K 7 svn:log V 171 Use pmap_kextract() instead of inlining the page table walk. Remove the comment referencing non-existing code. Reviewed by: cognet, ian (previous version) Tested by: ian END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-31T21:01:42.537180Z K 7 svn:log V 4 MFH END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T21:24:38.274228Z K 7 svn:log V 185 MFC r245519: Recalculate volume size only for real CONCATs. For SINGLE trust volume size given by metadata, as it should be correct and in some cases can be smaller then subdisk size. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T21:26:02.481788Z K 7 svn:log V 185 MFC r245519: Recalculate volume size only for real CONCATs. For SINGLE trust volume size given by metadata, as it should be correct and in some cases can be smaller then subdisk size. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-01-31T21:50:44.336902Z K 7 svn:log V 46 sh: Show negated commands (!) in jobs output. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-31T21:53:55.074008Z K 7 svn:log V 756 MFC r245459 Satisfy the intent of kern/151564: [ciss] ciss(4) should increase CISS_MAX_LOGICAL to 107 Submitter wanted to increase the number of logical disks supported by ciss(4) by simply raising the CISS_MAX_LOGICAL value even higher. Instead, consult the documentation for the raid controller (OPENCISS) and poke the controller bits to ask it for how many logical/physical disks it can handle. Revert svn R242089 that raised CISS_MAX_LOGICAL to 64 for all controllers. For older controllers that don't support this mechanism, fallback to the old value of 16 logical disks. Tested on P420, P410, P400 and 6i model ciss(4) controllers. This should will be MFC'd back to stable/9 stable/8 and stable/7 after the MFC period. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:05:18.279957Z K 7 svn:log V 144 MFC r245522, r245533: For Promise/AMD metadata add support for disks with capacity above 2TiB and for volumes with sector size above 512 bytes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:07:31.759101Z K 7 svn:log V 144 MFC r245522, r245533: For Promise/AMD metadata add support for disks with capacity above 2TiB and for volumes with sector size above 512 bytes. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-31T22:09:53.065818Z K 7 svn:log V 402 Update hwpmc to support the Xeon class of Ivybridge processors. case 0x3E: /* Per Intel document 325462-045US 01/2013. */ Add manpage to document all the goodness that is available in this processor model. No support for uncore events at this time. Submitted by: hiren panchasara Reviewed by: davide, jimharris, sbruno Obtained from: Yahoo! Inc. MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-01-31T22:10:57.793416Z K 7 svn:log V 64 sh: Prefer our character classification functions to . END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:12:25.216350Z K 7 svn:log V 428 MFC r245326: Add basic support for Intel Rapid Recover Technology (Intel RRT). It is alike to RAID1, but with dedicating master and recovery disks and providing manual control over synchronization. It allows to use recovery disk as snapshot of the master disk from the time of the last sync. This implementation is not functionaly complete comparing to Windows, but it is better then silent conversion to RAID1 on first boot. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-01-31T22:12:48.406765Z K 7 svn:log V 68 Simplify code a bit. This is leftover after Giant removal from VFS. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:13:36.366300Z K 7 svn:log V 428 MFC r245326: Add basic support for Intel Rapid Recover Technology (Intel RRT). It is alike to RAID1, but with dedicating master and recovery disks and providing manual control over synchronization. It allows to use recovery disk as snapshot of the master disk from the time of the last sync. This implementation is not functionaly complete comparing to Windows, but it is better then silent conversion to RAID1 on first boot. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-01-31T22:14:16.737611Z K 7 svn:log V 72 Remove label that was accidentally moved during Giant removal from VFS. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-01-31T22:15:41.816123Z K 7 svn:log V 52 Remove leftover label after Giant removal from VFS. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:15:47.636671Z K 7 svn:log V 324 MFC r245338: Implement migration from single disk to RAID1/IRRT for Intel metadata. Windows driver uses such migration when it creates new arrays. While GEOM RAID has no mechanism to implement migration in general case, this specifc case still can be handled easily via degraded RAID1 creation followed by regular rebuild. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:16:52.237936Z K 7 svn:log V 324 MFC r245338: Implement migration from single disk to RAID1/IRRT for Intel metadata. Windows driver uses such migration when it creates new arrays. While GEOM RAID has no mechanism to implement migration in general case, this specifc case still can be handled easily via degraded RAID1 creation followed by regular rebuild. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:18:40.971899Z K 7 svn:log V 304 MFC r245341: Windows handles INIT and VERIFY as array-wide and it doesn't specify which disks should be rebuilt. Our rebuild code is same time disk-centric. To handle this situation properly check all disks for RBLD flags, and if no disk specified try rebuild/resync all of them except newly inserted. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:19:39.985750Z K 7 svn:log V 304 MFC r245341: Windows handles INIT and VERIFY as array-wide and it doesn't specify which disks should be rebuilt. Our rebuild code is same time disk-centric. To handle this situation properly check all disks for RBLD flags, and if no disk specified try rebuild/resync all of them except newly inserted. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-01-31T22:20:05.098371Z K 7 svn:log V 64 Now that MPSAFE flag is gone, we can arrange code a bit better. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:21:39.161065Z K 7 svn:log V 203 MFC r245363: Improve support for disabled disks. If disabled disk disconnected and then reconnected back, leave it as disabled. If new disk inserted instead of disabled, rebuild it and leave as enabled. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:22:22.516597Z K 7 svn:log V 203 MFC r245363: Improve support for disabled disks. If disabled disk disconnected and then reconnected back, leave it as disabled. If new disk inserted instead of disabled, rebuild it and leave as enabled. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-31T22:24:05.799921Z K 7 svn:log V 282 MFC r245398: - Add checks for Intel metadata version and attributes. Ignore disks with unsupported metadata types like Intel Smart Response to not corrupt them. - Improve setting of these things during metadata writing to protect from incapable BIOS'es and other implementations. END