ƒ²f245204 189 325 107 384 171 227 481 107 165 159 201 549 208 295 162 162 411 249 155 192 172 99 249 1947 108 1491 134 371 189 155 136 148 225 148 314 606 150 170 307 375 613 543 521 181 133 322 172 219 236 517 347 151 313 217 203 312 746 137 142 381 352 681 367 532 489 259 154 400 277 782 400 591 122 306 151 151 129 277 144 365 292 144 171 209 133 132 175 191 200 138 145 120 123 213 284 156 115 144 148 474 146 444 283 435 144 206 204 316 214 345 157 140 260 230 158 245 110 145 145 141 116 168 139 508 174 255 349 473 802 543 191 361 738 271 403 404 218 241 384 727 492 194 223 153 122 166 157 155 260 306 200 178 116 304 335 335 487 487 204 294 287 260 235 247 227 250 226 235 323 271 499 179 355 329 251 311 284 267 311 150 247 778 199 215 214 152 400 193 368 275 K 10 svn:author V 4 neel K 8 svn:date V 27 2013-01-09T02:11:16.582321Z K 7 svn:log V 231 Add a "pause" to busy wait loops in the cpu reset path. This should not matter much when running on bare metal but it makes the guest more friendly when running inside a virtual machine. Discussed with: jhb Obtained from: NetApp END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-01-09T02:26:50.371086Z K 7 svn:log V 14 IFC @ r245178 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-09T02:50:50.377247Z K 7 svn:log V 288 Revert r245198 and switch to emulating ln -f in link mode. This means checking for the existance of the target via lseek() and unconditionally attempting to unlink or rmdir it as appropriate. Update the return value of some err() statements that came from NetBSD to better match style. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-09T02:55:05.135988Z K 7 svn:log V 76 Allow mtree to be overridden via MTREE_CMD to better support bootstrapping. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-09T02:56:30.111742Z K 7 svn:log V 131 Use install -l [sh] to create symbolic and hard links. This will allow metadata to be emitted when performing a non-root install. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-09T03:04:15.575581Z K 7 svn:log V 385 Allow installworld to succeed when performed by a nonroot user and optionally log the permissions to METALOG. In principle it should now be possible to do an installworld as non root and then use makefs to build a filesystem with correct perissions. Further polishing is likely required and future commits are likely change this to conform more closely to the NetBSD implementation. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-01-09T03:32:23.685184Z K 7 svn:log V 14 IFC @ r245205 END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-01-09T03:52:03.389834Z K 7 svn:log V 72 Get rid of gratuitous diff with respect to HEAD. Obtained from: NetApp END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-01-09T04:02:23.708624Z K 7 svn:log V 66 Sort the 'bhyvectl' subdir alphabetically. Obtained from: NetApp END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-01-09T04:04:30.854957Z K 7 svn:log V 107 Get rid of 'sample.sh' from here - it belongs in the /usr/share/examples directory. Obtained from: NetApp END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-09T05:02:55.413560Z K 7 svn:log V 453 Add the BUSDMA_ALLOC_CONSISTENT flag. Pass it along in the mtag and save it in the memory descriptor. The flag tells the backend that the allocation needs a coherent and unbuffered (synchronous) DMA mapping because it's used for a CPU and device handshake protocol, such as mailboxes and/or buffer rings. On the SGI Altix, this means that we cannot use a direct-mapped 32-bit DMA address, nor a 64-bit DAC address when the PCI bus is not in PCI-X mode. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-09T05:04:13.587840Z K 7 svn:log V 112 Allocate the request/response queue with BUSDMA_ALLOC_CONSISTENT. It's required on the SGI Altix for coherency. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2013-01-09T05:16:03.325324Z K 7 svn:log V 201 - Call bus_dma_memory memdesc instead to make it more generic. Place it in its own header for now. - Move subr_busdma.c to subr_bus_dma.c for marcel. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-09T05:44:55.478275Z K 7 svn:log V 67 Add definitions for the Address Translation Entry (ATE) registers. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-09T05:49:52.682189Z K 7 svn:log V 70 MFC r245104: Protect the p->p_pgrp dereference with the process lock. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-09T08:07:09.676804Z K 7 svn:log V 314 Start the deorbit burn of sudo_cmd. In theory this is no longer necessary. While here, add a backstop to copy client.conf and common.conf to the slaves from the conf/ directory if they do not exist in builddir. The latter was the way it was set up on pointyhat-west but it seems fragile to rely on it being so. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-09T08:09:08.689515Z K 7 svn:log V 152 Restore the definition of buildsdir. Removing this broke all the symlinks under errorlogs/ . While here, remove the things that really are cruft now. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-09T08:52:44.872688Z K 7 svn:log V 59 Fix the shift statements for the new number of parameters. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-09T09:09:09.464492Z K 7 svn:log V 95 Fix compile warning when using GCC: Comparison between signed and unsigned. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-09T09:29:22.328616Z K 7 svn:log V 75 Change function argument type instead of casting. Suggested by: glebius @ END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-01-09T11:58:47.090992Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 ume K 8 svn:date V 27 2013-01-09T15:22:37.370987Z K 7 svn:log V 156 Disable destination address selection support of getipnodebyname(1). RFC 2553 mentions IPv6 addresses are returned 1st. Spotted by: uqs MFC after: 1 week END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-01-09T16:48:38.052905Z K 7 svn:log V 1853 Fix a bug in the device pager code that can trigger an assertion in devfs if a particular race condition is hit in the device pager code. This was a side effect of change 227530 which changed the device pager interface to call a new destructor routine for the cdev. That destructor routine, old_dev_pager_dtor(), takes a VM object handle. The object handle is cast to a struct cdev *, and passed into dev_rel(). That works in most cases, except the case in cdev_pager_allocate() where there is a race condition between two threads allocating an object backed by the same device. The loser of the race deallocates its object at the end of the function. The problem is that before inserting the object into the dev_pager_object_list, the object's handle is changed from the struct cdev pointer to the object's own address. This is to avoid conflicts with the winner of the race, which already inserted an object in the list with a handle that is a pointer to the same cdev structure. The object is then passed to vm_object_deallocate(), and eventually makes its way down to old_dev_pager_dtor(). That function passes the handle pointer (which is actually a VM object, not a struct cdev as usual) into dev_rel(). dev_rel() decrements the reference count in the assumed struct cdev (which happens to be 0), and that triggers the assertion in dev_rel() that the reference count is greater than or equal to 0. The fix is to add a cdev pointer to the VM object, and use that pointer when calling the cdev_pg_dtor() routine. vm_object.h: Add a struct cdev pointer to the VM object structure. device_pager.c: In cdev_pager_allocate(), populate the new cdev pointer. In dev_pager_dealloc(), use the new cdev pointer when calling the object's cdev_pg_dtor() routine. Reviewed by: kib Sponsored by: Spectra Logic Corporation MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-09T16:51:47.599101Z K 7 svn:log V 13 IFH @r245225 END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-01-09T17:02:08.200713Z K 7 svn:log V 1397 Make CTL work a little better with loading and unloading drivers. Previously CTL would leave individual LUNs enabled in the target driver, whether or not the port as a whole was enabled. It would also leave the wildcard LUN enabled indefinitely. This change means that CTL will enable and disable any active LUNs, as well as the wildcard LUN, when enabling and disabling a port. Also, fix a bug that could crop up due to an uninitialized CCB type. ctl.c: Before calling ctl_frontend_online(), run through the LUN list and enable all active LUNs. After calling ctl_frontend_offline(), run through the LUN list and disble all active LUNs. scsi_ctl.c: Before bringing a port online, allocate the wildcard peripheral for that bus. And after taking a port offline, invalidate the wildcard peripheral for that bus. Make sure that we hold the SIM lock around all calls to xpt_action() and other transport layer interfaces that require it. Use CAM_SIM_{LOCK|UNLOCK} consistently to acquire and release the SIM lock. Update a number of outdated comments. Some of these should have been fixed long ago. Actually do LUN disbables now. The newer drivers in the tree work correctly for this as far as I know. Initialize the CCB type to CTLFE_CCB_DEFAULT to avoid a panic due to uninitialized memory. Submitted by: Chuck Tuffli (partially) MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-09T17:09:06.616880Z K 7 svn:log V 39 Add SRI copyright for my contibutions. END K 10 svn:author V 3 ume K 8 svn:date V 27 2013-01-09T18:18:08.141918Z K 7 svn:log V 278 Add no_prefer_iface option. It stops treating the address on the interface as special by source address selection rule even when the interface is outgoing interface. This is desired in some situation. Requested by: hrs Reviewed by: IHANet folks including hrs MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-09T18:50:06.128839Z K 7 svn:log V 94 Add the "enable at reset" functionality to trigger spectral scan upon a channel change/reset. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2013-01-09T18:54:41.780773Z K 7 svn:log V 62 - Correct a compile error. memdesc should not be a pointer. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-09T18:54:58.603546Z K 7 svn:log V 45 Remove unneeded variable. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-09T19:49:35.556686Z K 7 svn:log V 57 Fix the bindto parameter declaration. Submitted by: sem END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-09T20:01:08.748463Z K 7 svn:log V 129 Break out the display specific code into a separate file and begin the process of turning it into a (kind of) stand-alone class. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-01-09T20:10:45.850269Z K 7 svn:log V 56 Update where porters handbook lives. MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-09T20:13:47.633910Z K 7 svn:log V 218 * break out the width/height/scaling to fft_display.h * modify acceleration max to 40, rather than 20, so I can quickly scroll around the 5ghz range * change the scroll to be left/right, rather than pageup/pagedown. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-01-09T20:27:06.098247Z K 7 svn:log V 513 Don't drop options from the third retransmitted SYN by default. If the SYNs (or SYN/ACK replies) are dropped due to network congestion, then the remote end of the connection may act as if options such as window scaling are enabled but the local end will think they are not. This can result in very slow data transfers in the case of window scaling disagreements. The old behavior can be obtained by setting the net.inet.tcp.rexmit_drop_options sysctl to a non-zero value. Reviewed by: net@ MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-09T20:27:38.123703Z K 7 svn:log V 55 Break out the global app variables into an app struct. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-09T20:39:29.757919Z K 7 svn:log V 75 Migrate the fft histogram code to work as an object, rather than a global. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-09T21:07:08.510950Z K 7 svn:log V 211 Always install our mtree as /usr/sbin/fmtree and link it as /usr/sbin/mtree by default. Add a src.conf option WITH_NMTREE that causes NetBSD's mtree to be linked as /usr/sbin/mtree as well as /usr/sbin/nmtree. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-09T21:19:00.803972Z K 7 svn:log V 279 Break out the rendering into a timer-based event, rather than as part of the main loop. The rendering is still done in the main loop, but it's done as a response to a posted timer event. This removes the whole "just keep running and chewing CPU" hack that was going on before. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-09T21:27:14.467920Z K 7 svn:log V 521 cxgbe(4): updates to the configuration file that controls how hardware resources are partitioned. - Reduce the number of virtual interfaces reserved for PF4. This leaves spare room in the source MAC table and allows the driver to setup filters that rewrite the source MAC address. - Reduce the number of filters and use the freed up space for the CLIP (Compressed Local IPv6 addresses) table. This is a prerequisite for IPv6 TOE support which will follow separately in a series of commits. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-10T00:10:24.732819Z K 7 svn:log V 451 Simplify in6_setscope() function to get better performance. Currently we use interface indeces as zone IDs for link-local and interface-local scopes, and since we don't have any tool to configure zone IDs, there is no need to acquire the afdata lock several times per packet only to read if_index value. So, now in6_setscope reads zone IDs for interface-local, link-local and global scopes without a lock. Sponsored by: Yandex LLC MFC after: 2 weeks END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-10T04:41:04.505645Z K 7 svn:log V 423 Correct an install error caused by BINDIR not being set when processing the diffuse_collector and diffuse_exporter subdirs. By creating a Makefile.inc in the sbin/ipfw directory which pulls in sbin/Makefile.inc, bsd.prog.mk in the diffuse subdir Makefiles will pull it in (via bsd.init.mk), thus ensuring BINDIR (set in sbin/Makefile.inc) is set correctly. Reported by: Vitaliy (artemrts at ukr.net) Suggested by: andrew@ END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-10T04:51:07.213601Z K 7 svn:log V 84 Fix a few bugs discovered by clang related to string handling of action parameters. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-01-10T05:36:42.580997Z K 7 svn:log V 36 Merge revs 244763:245246 from head. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-10T07:45:46.551926Z K 7 svn:log V 224 Fix detection of Razer Copperhead as a USB mouse. Factor out USB mouse and keyboard detection logic. Reject USB keyboards which have mouse alike HID items in their HID descriptors. Submitted by: Matthew W MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-01-10T08:06:12.067492Z K 7 svn:log V 75 Bugfix: Fix sizeof() argument. Found by: Haakon Loevdal MFC after: 1 week END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-01-10T11:08:22.453823Z K 7 svn:log V 126 Allow perl scripts to be used in rc.d scripts PR: conf/117027 Reviewed by: pjd (mentor) Approved by: hrs MFC after: 2 weeks END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-01-10T11:28:12.356164Z K 7 svn:log V 143 Removes essentially unused variables from scsi_da probe setups PR: kern/169835 Reviewed by: pjd (mentor) Approved by: mav MFC after: 2 weeks END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-01-10T11:57:46.966623Z K 7 svn:log V 424 Updates delete_method sysctl changes to always maintain disk d_flags DISKFLAG_CANDELETE. While this change makes this layer consistent other layers such as UFS and ZFS BIO_DELETE support may not notice any change made manually via these device sysctls until the device is reopened via a mount. Also corrected var order in dadeletemethodsysctl PR: kern/169801 Reviewed by: pjd (mentor) Approved by: mav MFC after: 2 weeks END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-01-10T12:25:00.457048Z K 7 svn:log V 254 Changed scsi_da device requests to use the sysctl tunable value for retry_count and da_default_timeout where their current hardcoded values matched the current default value for said tunables. PR: kern/169976 Reviewed by: pjd (mentor) Approved by: mav END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-01-10T12:30:58.644680Z K 7 svn:log V 55 Remove vm_radix_lookupn() and its usage in the kernel. END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-10T12:43:58.432974Z K 7 svn:log V 219 - Reduce kernel size by removing unnecessary pointer indirections. GENERIC kernel size reduced in 16 bytes and RACCT kernel in 336 bytes. Suggested by: alc Reviewed by: alc Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2013-01-10T14:08:19.433083Z K 7 svn:log V 124 Re-enable ip6addrctl support but only for IPv6 address. Requested by: Ben Morrow MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-10T16:50:27.684739Z K 7 svn:log V 107 Spell PHONY correctly.[0] Add builddir to CLEANDIRS to it's cleaned up properly. Submitted by: jilles [0] END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-01-10T17:06:24.826435Z K 7 svn:log V 220 MFC r244750: Add net.link.stf.permit_rfc1918 sysctl variable. It can be used to allow the use of private IPv4 addresses with stf(4). MFC r244752: Add an ability to set net.link.stf.permit_rfc1918 from the loader. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-01-10T17:58:05.994275Z K 7 svn:log V 650 Project branch for utrace2(2) work. The original utrace(2) call from FreeBSD 2.2 did not offer a standardized way to specify the type of data being traced. Examples, a utrace(2) record of 3 words is assumed to be a malloc(3) utrace point, while RTLD uses a string at the start of the utrace record. Instead of risking breaking 10+ years of existing code, utrace2 is introduced which will include "type,version" tuple in the utrace data to allow utilities such as ktrace to parse them safely. Additionally a namespace is provided for both the base system and for developers wishing to make use of the utrace2(2) system so there are no collisions. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-01-10T18:01:46.733093Z K 7 svn:log V 42 utrace2(2) system call and kdump support. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-01-10T18:04:42.375354Z K 7 svn:log V 47 Document the new syscall and conventions used. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-10T18:24:48.104045Z K 7 svn:log V 288 When nullfs mount is forcibly unmounted and nullfs vnode is reclaimed, get back the leased write reference from the lower vnode. There is no other path which can correct v_writecount on the lowervp. Reported by: flo Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-01-10T18:51:35.203224Z K 7 svn:log V 259 Clang complains about the comparision of fak < 0 always being false. It is right. Delete it because on the next line we catch all 'negative' cases with the test > 2, since 'negative' numbers are just really big unsigned numbers and we do an identical action. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-10T19:26:56.420883Z K 7 svn:log V 584 The current ZFS code expects ddt_zap_count to always succeed by asserting the underlying zap_count() to return no errors. However, it is possible that the pool reaches to such a state where zap_count would return error, leading to panics when a pool is imported. This commit changes the ddt_zap_count to return error returned from zap_count and handle the error appropriately. With this change, it's now possible to let zpool rollback damaged transaction groups and import the pool. Obtained from: ZFS on Linux github (e8fd45a0f975c6b8ae8cd644714fc21f14fac2bf) MFC after: 1 month END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-10T19:46:08.476138Z K 7 svn:log V 271 Rather than using zic to both compile and install zoneinfo files, generate the files during the build and install them with install(1). This was the one place in installworld where files (vs links) were installed by a tool other than install. Reviewed by: edwin, jilles END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-10T21:38:31.303589Z K 7 svn:log V 439 Remove not very useful printf, that can be too chatty. ASUS P8Z77-V board reports _AC2, _AC3 and _AC4 setpoints as 0C. With active cooling already automatically set to _AC2, that still caused driver to print two useless lines about temperature above _AC3 and _AC4 every ten seconds. Three setponts of 0C is probably a board bug, but the same spam could happen also in correct case if system is runnign not with the lowest cooling level. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-10T22:15:13.015161Z K 7 svn:log V 393 MFC r241731: Replace our version of the pwcache(3) API with NetBSD's implementation. This adds two features: * uid_from_user() and gid_from_group() as the reverse of user_from_uid() and groups_from_gid(). * pwcache_userdb() and pwcache_groupdb() which allow alternative lookup functions to be used. For example lookups from passwd and group databases in a non-standard location. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-01-10T22:36:30.671106Z K 7 svn:log V 162 The Giant lock is no longer used in the vm_map(9) part of the VM. While here, document that the process lock is acquired in vm_map_stack, too. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2013-01-10T22:44:19.238577Z K 7 svn:log V 62 Remove all support for legacy NOFOO and NO_FOO build options. END K 10 svn:author V 6 wblock K 8 svn:date V 27 2013-01-10T23:06:32.051835Z K 7 svn:log V 304 MFC r245012: Document the output of the show command. Modified version of patch provided by Bas Smeelen . Use of 'gpart list' suggested by by Andrey V. Elsukov . PR: docs/174270 Submitted by: Ronald F.Guilmette Reviewed by: ae (block sizes) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-10T23:29:36.379148Z K 7 svn:log V 181 Add xargs to the set of install tools when zoneinfo is not disabled. This fixes installworld which I had broken in r245265. Reported by: Nikolai Lifanov END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-01-10T23:36:02.662277Z K 7 svn:log V 689 Add an ugly hack to libgcc's unwind code, to make it behave properly at runtime on amd64, when it is compiled by clang. Some versions of clang don't save and restore all callee registers, if a __builtin_eh_return() intrinsic is used in a function. This is particularly bad on amd64. Until the problem gets fixed by upstream, use an asm statement to force clang to assume the registers in question are clobbered, when invoking __builtin_eh_return(), so it will emit code to save and restore them. This should fix the crashes reported on -current with some C++ programs, particularly those that throw exceptions over multiple function boundaries. Reported by: stefanf MFC after: 3 days END K 10 svn:author V 6 wblock K 8 svn:date V 27 2013-01-10T23:39:28.601015Z K 7 svn:log V 304 MFC r245012: Document the output of the show command. Modified version of patch provided by Bas Smeelen . Use of 'gpart list' suggested by by Andrey V. Elsukov . PR: docs/174270 Submitted by: Ronald F.Guilmette Reviewed by: ae (block sizes) END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-10T23:56:50.338274Z K 7 svn:log V 499 cxgbe(4): Add functions to help synchronize "slow" operations (those not on the fast data path) and use them instead of frobbing the adapter lock and busy flag directly. Other changes made while reworking all slow operations: - Wait for the reply to a filter request (add/delete). This guarantees that the operation is complete by the time the ioctl returns. - Tidy up the tid_info structure. - Do not allow the tx queue size to be set to something that's not a power of 2. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-01-11T00:03:19.030796Z K 7 svn:log V 30 Use better arm memory barrier END K 10 svn:author V 2 np K 8 svn:date V 27 2013-01-11T00:07:01.427843Z K 7 svn:log V 214 Overhaul the stid allocator so that it can be used for IPv6 servers too. The entry for an IPv6 server in the TCAM takes up the equivalent of two ordinary stids and must be properly aligned too. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-11T00:40:03.590775Z K 7 svn:log V 55 MFC 244756 + 244757: Add Simplified Chinese catalogs. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-11T00:41:16.233723Z K 7 svn:log V 55 MFC 244756 + 244757: Add Simplified Chinese catalogs. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-11T00:43:20.967919Z K 7 svn:log V 33 MFC r244781: Use DEVMETHOD_END. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-11T00:46:40.872393Z K 7 svn:log V 180 MFC r244787, 244796: Add DEVICE_IDENTIFY method for wbwd(4), required on most of recent Supermicro motherboards. Tested on X8STi and X8DTH boards. Sponsored by: iXsystems, Inc. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-01-11T02:25:39.620409Z K 7 svn:log V 49 Place-holders for enable/active parameter flags. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-11T05:35:04.403888Z K 7 svn:log V 272 MFC r244795: Make it possible to atomically resume writes on the mount and account the write start, by adding a variation of the vfs_write_resume(9) which accepts flags. Use the new function to prevent a deadlock between parallel suspension and snapshotting a UFS mount. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-11T05:39:17.653368Z K 7 svn:log V 199 MFC r244925: Add yet another flag for the vfs_write_resume_flags() to avoid calling suspension cleanup handler after the suspend is lifted, and use it in the ffs_snapshot() call to vfs_write_resume. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-11T05:51:55.849351Z K 7 svn:log V 48 Restore the PATH line that somehow got dropped. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-11T06:04:46.156732Z K 7 svn:log V 75 Remove the things that have already been proven to work as user portbuild. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-11T06:08:32.504084Z K 7 svn:log V 116 Add flags argument to vfs_write_resume() and remove vfs_write_resume_flags(). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-11T06:31:04.610067Z K 7 svn:log V 37 Start parameterizing zfs expiration. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-11T07:39:11.701644Z K 7 svn:log V 36 Smash hard-coding once and for all. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-11T07:43:32.985403Z K 7 svn:log V 79 Smash the remnants of the hardcoding and enable the new code as a replacement. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-11T07:47:41.693964Z K 7 svn:log V 95 Start bringing over the rest of the things from root crontab. zexpire has now been converted. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2013-01-11T07:48:29.950075Z K 7 svn:log V 103 Deorbit burn. From now on all cron jobs belong to portbuild. (Still some work to do to finish this.) END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-01-11T09:20:33.486062Z K 7 svn:log V 46 Added a "umount -f" test scenario for nullfs. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-01-11T09:22:53.467025Z K 7 svn:log V 53 Added a test of nullfs mount options cache / nocache END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-01-11T09:25:50.003892Z K 7 svn:log V 28 Unmapped I/O test scenario. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-01-11T09:27:24.826093Z K 7 svn:log V 31 nullfs + tmpfs regression test END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-01-11T09:58:35.496571Z K 7 svn:log V 119 - Improve readability of sys_obreak(). Suggested by: alc Reviewed by: alc Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-11T10:22:09.445421Z K 7 svn:log V 187 Add ID for Nuvoton WPCM450RA0BX found on Supermicro X9SCA-F motherboards. While I'm there, also make this driver to attach to devices that have an unknown device ID. MFC after: 1 month END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-01-11T12:37:01.445295Z K 7 svn:log V 64 Regression test: exec returning EIO problem scenario for tmpfs. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-01-11T12:39:34.307166Z K 7 svn:log V 23 Regression test added. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-01-11T13:58:53.036181Z K 7 svn:log V 52 Parallel mount and unmount of the same mount point. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-01-11T14:01:07.355773Z K 7 svn:log V 56 Change mount point from rw to ro with a file mapped rw. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-01-11T15:00:43.028994Z K 7 svn:log V 376 Import b9db3a010143160624f123763025ab544b69bd9a of libcxxrt. This brings in three fixes: - Don't treat pointers to members as pointers in catch blocks (they're usually fat pointers). - Correctly catch foreign exceptions in catchalls. - Ensure that a happens-before relationship is established when setting terminate handlers in one thread and calling them in another. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-01-11T15:01:43.169307Z K 7 svn:log V 49 Branch last import of libcxxrt in vendor branch. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-01-11T15:05:55.606840Z K 7 svn:log V 346 Merge new version of libcxxrt. This brings in three fixes: - Don't treat pointers to members as pointers in catch blocks (they're usually fat pointers). - Correctly catch foreign exceptions in catchalls. - Ensure that a happens-before relationship is established when setting terminate handlers in one thread and calling them in another. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-11T15:50:01.453205Z K 7 svn:log V 187 In r244401 I accidently moved strunvis and strunvisx from version 1.0 to 1.3 breaking the libc ABI. Revert that change (breaking the ABI again for users who updated after December 18th). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-11T16:10:11.566158Z K 7 svn:log V 342 Do not schedule periph for payload/TUR requests if reprobe is in progress to avoid sending extra READ CAPACITY requests by dastart(). Schedule periph again on reprobe completion, or otherwise it may stuck indefinitely long. This should fix USB explore thread hanging on device unplug, waiting for periph destruction. Reported by: hselasky END K 10 svn:author V 6 obrien K 8 svn:date V 27 2013-01-11T17:34:30.415636Z K 7 svn:log V 49 Add support for Lua 5.2. Submitted by: skreuzer END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-11T17:51:03.586877Z K 7 svn:log V 110 Add contrib/libc-vis to the include path so we reliably pick up the right version of vis.h. Reported by: dim END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-11T18:37:51.572336Z K 7 svn:log V 108 Use find -exec to install zoneinfo instead of requiring xargs to be an install tool. Suggested by: delphij END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-11T19:11:56.388999Z K 7 svn:log V 223 - Add missig xpt_schedule() call for cases when requested immediate CCB priority is lower then payload/TUR one. - Reduce TUR priority and avoid sending them if there are any other outstanding commands, alike to DA driver. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-11T20:51:02.493206Z K 7 svn:log V 118 Add pwcache(3) and vis(3) to libegacy as install(1) is about to grow a dependency on them. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-11T20:53:28.017842Z K 7 svn:log V 249 Implement the -N option which allows an alternate passwd and group file to be used. This is useful for installing on systems where a user or group does not currently exist. Sponsored by: DARPA, AFRL Obtained from: NetBSD MFC after: 5 days END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-11T21:11:01.284608Z K 7 svn:log V 62 Bump __FreeBSD_version for install -N and (belatedly) nmtree. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-01-11T21:19:45.737595Z K 7 svn:log V 48 style(9) changes before I do more real changes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-01-11T21:42:23.917016Z K 7 svn:log V 167 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... END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-11T23:08:19.015364Z K 7 svn:log V 134 Use the -N option to install and nmtree to eliminate the need for the checks for missing users and groups. Sponsored by: DARPA, AFRL END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-01-11T23:42:24.108123Z K 7 svn:log V 66 MFi386: Make similar changes that were made to atkbdc in r245315. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-01-11T23:44:35.075989Z K 7 svn:log V 149 Revert r245316. Systems with non-standard uids/gids are more prevalent that I'd feared. Discussion is ongoing about the scope of a safer solution. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-01-12T00:31:09.629542Z K 7 svn:log V 15 MFC to r245318 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-01-12T00:59:15.892746Z K 7 svn:log V 53 MFC r245236: - Update where porters handbook lives. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-01-12T00:59:41.194381Z K 7 svn:log V 53 MFC r245236: - Update where porters handbook lives. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-12T04:36:40.063103Z K 7 svn:log V 46 Put x in parenthesis fo safe macro expansion. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-01-12T08:44:54.452502Z K 7 svn:log V 23 Remove EOL whitespace. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-01-12T09:07:19.149255Z K 7 svn:log V 75 editrc only read from $HOME. Submitted by: LEVAI Daniel (via jmc@OpenBSD) END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-01-12T09:08:37.647195Z K 7 svn:log V 46 Add FILES section. Submitted by: jmc@OpenBSD END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-12T09:35:44.956420Z K 7 svn:log V 415 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 8 theraven K 8 svn:date V 27 2013-01-12T10:06:59.239046Z K 7 svn:log V 77 Fix libcxxrt / libc++ build with the clang in head. Pointy hat to: theraven END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-12T11:36:23.402550Z K 7 svn:log V 162 Freeze device queue before returning errors to CAM. This is required for proper error recovery, including keeping original request order. Reviewed by: hselasky END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-12T12:34:59.593803Z K 7 svn:log V 252 Merge Perforce change @219935 to head: Initialise Openfirmware/FDT code earlier in the FreeBSD/beri boot, so that the results will be available for configuring the console UART (eventually). Suggested by: thompsa Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-12T13:20:21.997946Z K 7 svn:log V 376 Merge Perforce change @219948 to head: Add code so that the BERI boot process can ask the kernel linker for DTB blobs that may have been left for it by the boot loader, as done on PowerPC and ARM. This will require both a more mature boot loader, and more mature boot loader argument passing mechanism, than currently supported on BERI. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-12T15:53:45.100859Z K 7 svn:log V 705 Merge Perforce chance 219924 to head: In a sign of weakness, replicate the MIPS bus_space_generic.c to produce a new FDT version, which will perform necessary address space translation for bus_space -- the solution used in NLM's MIPS FDT support, but possibly not quite the right thing. This is inconsistent with regular I/O via the nexus and the generic bus_space, which instead perform translation via pmap_mapdev() when a resource is activated. However, it will work while I attempt to identify what the right way to reconcile possible approaches. (Another approach might be to make simplebus use Nexus's activate routine instead of a generic one?) Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-12T15:58:20.334511Z K 7 svn:log V 446 Merge Perforce changeset 219925 to head: Provided a bus_space implementation for FDT, modelled on bus_space_generic, but with a local version of the map address routine that does a P->V translation, as is the case with NLM's similar routine for XLP. It's not clear to me that this is the right solution -- possibly this belongs in simplebus -- however, it is sufficient to get the DE4 LED driver working. Sponsored by: DARPA, AFRL END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-01-12T16:01:58.255266Z K 7 svn:log V 91 Note that cpufreq(4) is not available on all hardware. PR: bin/175139 MFC after: 2 weeks END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-01-12T16:05:55.477632Z K 7 svn:log V 268 Fixed mbuf free when receive structures fail to allocate. This prevents quad igb card on high core machines, without any nmbcluster or igb queue tuning wedging the boot process if all nics are configured. Reviewed by: jfv Approved by: pjd (mentor) MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-12T16:09:33.658260Z K 7 svn:log V 641 Merge Perforce changeset 219933 and portions of 219962 (omits changes to unmerged BERI DTS files) to head: Use the OFW compatible string "mips,mips4k" rather than "mips4k,cp0" for interrupt control using MIPS4k CP0. Suggested by: thompsa Implement a MIPS FDT PIC decode routine to use when no PIC has been configured, which assumes a cascade back to the nexus bus (e.g., the on-board CP0 interrupt management parts on the MIPS). If the soc bus in a MIPS DTS file is declared as "mips4k,cp0"-compatible, then this will be enabled. This is sufficient to allow IRQs to be configured on BERI. Sponsored by: DARPA, AFRL END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-01-12T16:23:16.306387Z K 7 svn:log V 170 The new sade(8) is installed and works on all architectures, courtesy of gpart having better portability than libdisk. Don't mark sade(8) as obsolete on non-x86 systems. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-01-12T18:06:21.385670Z K 7 svn:log V 310 Define VM_KMEM_SIZE_MAX as a fraction of the kernel address space size rather than a constant so that VM_KMEM_SIZE_MAX will scale automatically with the kernel address space size. This is particularly important for MIPS because the same definition is used by both 32- and 64-bit kernels. Tested by: jchandra END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-12T18:25:48.035021Z K 7 svn:log V 311 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 6 sbruno K 8 svn:date V 27 2013-01-12T18:30:52.142016Z K 7 svn:log V 122 Quiesce a couple of clang warnings Submitted by: hiren panchasara Obtained from: Yahoo! Inc END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-01-12T19:05:49.107947Z K 7 svn:log V 145 Nuke this copy of pxe_http, which came from the 2007 SOC tar ball on google code in preparation to import from the p4 repo that has newer things END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-12T21:51:49.733826Z K 7 svn:log V 291 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 6 marcel K 8 svn:date V 27 2013-01-12T21:52:04.874022Z K 7 svn:log V 631 Make DMA work reliably for isp(4). As it turns out, consistent DMA only work for 64-bit direct-mapped addresses when the PCI bus is in PCI-X mode. As it turns out, we're not on my machine. With both 32-bit and 64-bit direct-mapped addresses out of the picture WRT to consistent DMA, we're left with programming the I/O MMU (aka ATEs). Hack it enough for use by isp(4) to see what's needed. With this commit, we can install FreeBSD on an Altix 350 (single node). with SMP of course. Next steps: 1. make the I/O MMU code generic. 2. port bge(4) so that we have networking. 3. make it all work with 2 nodes (mostly VM coherency) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-12T22:00:35.530277Z K 7 svn:log V 396 Slightly optimize the request and response queue synchronization. We have a single map that's used for both and we only need to synchronize 1 request and 1 rsponse. Avoid using busdma_sync with post R/W that may force a platform to synchronize 80KB worth of cache and instead use busdma_sync_range twice: once for the request with post write (64B) and once for the response with post read (64B). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-12T22:17:43.365567Z K 7 svn:log V 99 Replace dcons with ttys0. We have more use for the SGI L1 console than any firewire based console. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2013-01-12T22:20:37.089872Z K 7 svn:log V 130 procstat: only one mode flag can be specified, but required check for 'i' and 'j' modes was missing. Fix that. MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-01-12T22:41:29.505288Z K 7 svn:log V 61 Set WITHOUT_SVN=yes for textproc/docproj. Submitted by: gjb END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-12T23:44:13.549414Z K 7 svn:log V 27 Add now missing color.4th. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-12T23:46:12.722960Z K 7 svn:log V 71 Adapt the vic(4) man page from OpenBSD Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-12T23:47:40.111929Z K 7 svn:log V 62 Add vic to files.{i386,amd64} Approved by: grehan (implicit) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-12T23:49:11.281334Z K 7 svn:log V 60 Add vic to i386/amd64 NOTES Approved by: grehan (implicit) END K 10 svn:author V 3 mjg K 8 svn:date V 27 2013-01-13T00:32:07.408440Z K 7 svn:log V 167 MFC r245113: lockmgr: unlock interlock (if requested) when dealing with upgrade/downgrade requests for LK_NOSHARE locks, just like for shared locks. PR: kern/174969 END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-13T00:46:39.041789Z K 7 svn:log V 213 MFC r245262: When nullfs mount is forcibly unmounted and nullfs vnode is reclaimed, get back the leased write reference from the lower vnode. There is no other path which can correct v_writecount on the lowervp. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-13T00:55:30.954845Z K 7 svn:log V 107 MFC r245004: Add the "nocache" nullfs mount option. MFC r245033: Fix reversed condition in the assertion. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-01-13T00:58:02.706178Z K 7 svn:log V 86 MFC r245005: Allow to specify "cache" and "nocache" as an option for mount_nullfs(8). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-13T01:22:40.894407Z K 7 svn:log V 21 Merge ^/head@245354. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-01-13T01:26:50.984813Z K 7 svn:log V 211 ext2fs: cleanup the dinode structure. It was plagued with style errors and the offsets had been lost. While here took the time to update the fields according to the latest ext4 documentation. Reviewed by: bde END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-01-13T04:13:14.483791Z K 7 svn:log V 240 MFC r244719: Add the NO_SYNC_CACHE quirk for all Apple USB MSC devices, as they typically do not handle the SYNCHRONIZE_CACHE command - they either return an error or the firmware enters a reset loop. Approved by: rstone (co-mentor) END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-01-13T04:13:45.766994Z K 7 svn:log V 240 MFC r244719: Add the NO_SYNC_CACHE quirk for all Apple USB MSC devices, as they typically do not handle the SYNCHRONIZE_CACHE command - they either return an error or the firmware enters a reset loop. Approved by: rstone (co-mentor) END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-01-13T04:14:30.772488Z K 7 svn:log V 392 MFC r244995 r244996 r244997. MFC r244995: Fix a typo in an error message. MFC r244996: Have -n imply -r, since dry-run mode obviously doesn't require root privileges. MFC r244997: Make sure to update the mtime of a logfile after archiving it. This ensures that the next rotation happens at the correct time when using interval-based rotations. Approved by: rstone (co-mentor) END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-01-13T04:14:46.020362Z K 7 svn:log V 392 MFC r244995 r244996 r244997. MFC r244995: Fix a typo in an error message. MFC r244996: Have -n imply -r, since dry-run mode obviously doesn't require root privileges. MFC r244997: Make sure to update the mtime of a logfile after archiving it. This ensures that the next rotation happens at the correct time when using interval-based rotations. Approved by: rstone (co-mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-01-13T04:28:44.549466Z K 7 svn:log V 107 Use the right format string for line buffer. PR: bin/174910 Submitted by: Fabian Keil END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-01-13T07:14:16.779742Z K 7 svn:log V 198 Add VirtIO to the i386 and amd64 GENERIC kernels This also removes the kludge from r239009 that covered only the network driver. Reviewed by: grehan Approved by: grehan (mentor) MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-01-13T14:30:37.249017Z K 7 svn:log V 194 Improve support for disabled disks. If disabled disk disconnected and then reconnected back, leave it as disconnected. If new disk inserted instead of disabled, rebuild it and leave as enabled. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T14:38:09.413896Z K 7 svn:log V 163 Merge Perforce changeset 219917 to head: Copy Altera JTAG UART nexus bus attachment as a starting point for an FDT bus attachment. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T15:08:17.428713Z K 7 svn:log V 138 Merge Perforce changeset 219918 to head: Naive first cut at an FDT bus attachment for the Altera JTAG UART. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T15:10:27.033199Z K 7 svn:log V 150 Merge Perforce changeset 219921 to head: Copy DE4 LED nexus bus attachment as a starting point for an FDT attachment. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T15:12:35.104819Z K 7 svn:log V 130 Merge Perforce changeset 219922 to head: Update nexus parts in copied DE4LED attachment to use FDT. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T15:13:25.637645Z K 7 svn:log V 153 Merge Perforce changeset 219926 to head: Copy Altera SDCard nexus attachment as a starting point for the FDT attachment. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T15:15:24.723126Z K 7 svn:log V 129 Merge Perforce changeset 219927 to head: Implement an FDT attachment for the Altera SD Card driver Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T15:16:18.113249Z K 7 svn:log V 138 Merge Perforce changeset 219929 to head: Replicate nexus attachment for isf(4) to become an FDT attachment. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T16:20:40.037719Z K 7 svn:log V 226 Partially merge Perforce changeset 219930 to head: Add an Intel StrataFlash (isf) driver FDT attachment. Portions of the original changeset hooking up FDT use for BERI will be merged separately. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T16:21:51.423002Z K 7 svn:log V 174 Merge Perforce changeset 219937 to head: Copy Terasic MTL nexus bus attachment as a starting point for an FDT attachment for the same driver. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T16:27:56.977829Z K 7 svn:log V 402 Partially merge Perforce changeset 219938 to head: Write FDT attachment for the Terasic MTL (multitouch LCD) driver. Exploit the fact that FDT allows multiple memory ranges to be assigned to a device, giving us a cleaner description than device.hints does. Portions of this changeset that remove mtl from BERI device.hints and add to DTS will be merged separately. Sponsored by: DARPA, AFRL END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-01-13T16:33:28.091028Z K 7 svn:log V 87 Fill bits required to run Xorg on i.MX based boards. Sponsored by: FreeBSD Foundation END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T16:41:25.469057Z K 7 svn:log V 258 Merge Perforce changeset 219939 to head: Start restructuring of altera_avgen(4) so that it can have an FDT attachment -- this requires first properly breaking out the current nexus attachment from the driver implementation. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T16:43:59.688098Z K 7 svn:log V 232 Merge Perforce changeset 219940 to head: Rework altera_avgen(4) to cleanly(ish) separate nexus bus attachment from the driver itself. This should allow us to plug in an fdt attachment more easily. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T16:44:45.910566Z K 7 svn:log V 154 Merge Perforce changeset 219941 to head: Copy altera_avgen(4) nexus attachment as a starting point for an FDT attachment. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T16:51:57.804954Z K 7 svn:log V 214 Partially merge Perforce changeset 219942 to head: Implement an FDT attachment for altera_avgen(4). Portions of the changeset updating DTS and device.hints will be merged separately. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T16:53:31.625722Z K 7 svn:log V 187 Partially merge Perforce changeset 219944 to head: Consistently use the vendor name "sri-cambridge" for device compatibility strings on the BERI platform. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-01-13T16:57:11.267381Z K 7 svn:log V 170 Merge Perforce changeset 219952 to head: Make different bus attachments for Altera and Terasice device drivers share the same devclass_t. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-01-13T19:19:40.619400Z K 7 svn:log V 215 sh: Don't lose $? when backquoted command ends with semicolon or newline. An empty simple command was added and overwrote the exit status with 0. This affects `...` but not $(...). Example: v=`false;`; echo $? END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-01-13T19:26:33.060886Z K 7 svn:log V 55 sh: Fix crash when parsing '{ } &'. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-01-13T19:39:13.309494Z K 7 svn:log V 151 sh: Add some testcases related to subshells. These failed in earlier attempts to execute more subshells without forking. The patches are uncommitted. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-01-13T20:35:08.301342Z K 7 svn:log V 685 MFC r245272: Add an ugly hack to libgcc's unwind code, to make it behave properly at runtime on amd64, when it is compiled by clang. Some versions of clang don't save and restore all callee registers, if a __builtin_eh_return() intrinsic is used in a function. This is particularly bad on amd64. Until the problem gets fixed by upstream, use an asm statement to force clang to assume the registers in question are clobbered, when invoking __builtin_eh_return(), so it will emit code to save and restore them. This should fix the crashes reported on -current with some C++ programs, particularly those that throw exceptions over multiple function boundaries. Reported by: stefanf END K 10 svn:author V 3 mjg K 8 svn:date V 27 2013-01-13T21:25:43.482813Z K 7 svn:log V 106 libutil: eliminate 'found' variable in gr_equal Submitted by: Christoph Mallon END K 10 svn:author V 3 mjg K 8 svn:date V 27 2013-01-13T21:26:57.765007Z K 7 svn:log V 122 libutil: move group_line_format into the scop of its only user. Submitted by: Christoph Mallon END K 10 svn:author V 3 mjg K 8 svn:date V 27 2013-01-13T21:28:47.074326Z K 7 svn:log V 121 libutil: utilize strsep instead of strcat in a loop in gr_make Submitted by: Christoph Mallon END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-01-13T21:32:40.630971Z K 7 svn:log V 58 Remove accidentally copypasted comment Spotted by: gavin END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-01-13T22:05:46.113541Z K 7 svn:log V 307 Enable syscons framebuffer support for bcm2835. It makes possible to run Xorg on Raspberry Pi. o convert mmap address to physical. o add FBIOGTYPE ioctl handler - allow to get screen resolution by new xf86-video-scfb driver. Originally designed for "Efika MX" project. Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 mjg K 8 svn:date V 27 2013-01-13T22:08:18.167862Z K 7 svn:log V 100 libutil: fix typo in comment for gr_fini. Submitted by: Christoph Mallon END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-01-13T22:18:41.952981Z K 7 svn:log V 272 busdma/mi has the lower 16 bits reserved for platform-specific flags. No driver should use these right now, which means that if they're set then we have a driver that still uses the old busdma flags. Print a useful message and mask these out. This helps with conversions. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-01-13T22:35:51.533157Z K 7 svn:log V 179 sh: Add testcase that $? is preserved into a simple command substitution. The test builtins/trap6.0 already uses this but having it separate eases diagnosis if this would break. END