‚æV255858 142 548 207 477 138 788 106 106 182 448 250 373 232 385 388 165 300 515 154 576 793 283 210 415 203 463 188 271 142 177 250 291 142 230 209 186 262 322 339 231 363 219 154 143 267 334 219 548 265 265 114 190 291 526 222 160 399 168 386 136 126 120 644 272 260 941 177 220 184 238 559 220 436 687 368 908 182 181 205 270 183 185 357 431 536 384 348 530 395 963 150 203 128 479 127 479 141 198 290 325 274 165 228 1334 120 106 208 241 338 338 271 254 324 363 253 306 378 289 130 192 206 701 273 452 192 467 365 138 200 1182 161 217 284 390 472 134 474 170 126 189 117 117 845 K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-24T18:46:18.293543Z K 7 svn:log V 454 Use 'vm_fault_quick_hold_pages()' to hold pages belonging to the guest address space before accessing them in the host. We used to use 'vm_fault_hold()' prior to this change. This worked correctly but had the drawback that it would 'pmap_enter()' the gpa->hpa mapping unconditionally in the nested pmap. This in turn would cause unnecessary superpage demotions and promotions if the 'gpa' happened to be a superpage mapping. Discussed with: alc@, kib@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-09-24T19:09:21.399423Z K 7 svn:log V 114 Don't parse NO_ROOT metadata for extra kernels if NO_ROOT isn't defined. Approved by: re (gjb) MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-24T20:05:16.431027Z K 7 svn:log V 384 Introduce a kern.geom.notaste sysctl that can be used to temporarily disable GEOM tasting to avoid the "bouncing GEOM" problem where, when you shut down the consumer of a provider which can be viewed in multiple ways (typically a mirror whose members are labeled partitions), GEOM will immediately taste that provider's alter ego and reattach the consumer. Approved by: re (glebius) END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-09-24T20:14:59.433489Z K 7 svn:log V 45 Minor mdoc fixes. Approved by: re (blanket) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-09-24T20:38:55.240484Z K 7 svn:log V 695 MFC 240424,244582: Improve check coverage about idle threads. Idle threads are not allowed to acquire any lock but spinlocks. Deny any attempt to do so by panicing at the locking operation when INVARIANTS is on. Then, remove the check on blocking on a turnstile. The check in sleepqueues is left because they are not allowed to use tsleep() either which could happen still. On entering KDB backends, the hijacked thread to run interrupt context can still be idlethread. At that point, without the panic condition, it can still happen that idlethread then will try to acquire some locks to carry on some operations. Skip the idlethread check on block/sleep lock operations when KDB is active. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-24T21:06:50.883684Z K 7 svn:log V 13 IFC @r255858 END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-09-24T21:44:23.061581Z K 7 svn:log V 13 IFC @r255849 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-25T01:48:45.402100Z K 7 svn:log V 90 Revert r255853 pending fixes to build errors in usr.bin/kdump Approved by: re (implicit) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-09-25T02:48:12.114867Z K 7 svn:log V 355 fix a bug where we access a bread buffer after we have brelse'd it... The kernel normally didn't unmap/context switch away before we accessed the buffer most of the time, but under heavy I/O pressure and lots of mount/unmounting this would cause a fault on nofault panic... Reviewed by: dteske Approved by: re (kib) Sponsored by: Vicor MFC after: 3 days END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-09-25T02:49:18.611326Z K 7 svn:log V 157 NULL stale pointers (should be a no-op as they should no longer be used)... Reviewed by: dteske Approved by: re (kib) Sponsored by: Vicor MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-09-25T13:37:52.892904Z K 7 svn:log V 276 Avoid memory accesses reordering which can result in fget_unlocked() seeing a stale fd_ofiles table once fd_nfiles is already updated, resulting in OOB accesses. Approved by: re (kib) Sponsored by: EMC / Isilon storage division Reported and tested by: pho Reviewed by: benno END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2013-09-25T15:48:32.764876Z K 7 svn:log V 134 Add PCI device ID for MegaRAID Invader cards. This was the only change needed to make it work on my card. Approved by: re (glebius) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-09-25T15:55:56.820850Z K 7 svn:log V 289 Re-do r255853. Along with adding back the API/ABI changes from the original, this hides the contents of cam_compat.h from ktrace/kdump/truss, avoiding problems there. There are no user-servicable parts in there, so no need for those tools to be groping around in there. Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-09-25T17:16:21.708615Z K 7 svn:log V 292 Re-do r255853. Along with adding back the API/ABI changes from the original, this hides the contents of cam_compat.h from ktrace/kdump/truss, avoiding problems there. There are no user-servicable parts in there, so no need for those tools to be groping around in there. Approved by: re END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-25T20:06:01.781196Z K 7 svn:log V 73 Additional BIND files. Submitted by: bdrewery Approved by: re (blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-09-25T20:37:16.161451Z K 7 svn:log V 203 Correct a NULL pointer deference in nslookup and nsupdate that would cause the utility to crash in interactive mode when the user gives an EOF on standard input. MFC after: 3 days Approved by: re (gjb) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-09-26T07:53:18.882455Z K 7 svn:log V 419 Add an elf note on ARM to store the MACHINE_ARCH an executable was built for. This is useful for software needing to know which architecture a binary is built for as arm and armv6 have slight differences meaning only some binaries build for one will work as expected on the other. It is expected pkgng will be able to make use of this to simplify the logic to determine which package ABI to use. Approved by: re (kib) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2013-09-26T08:28:31.447494Z K 7 svn:log V 62 Update the git exporter rules with new file matches to ignore END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-09-26T09:16:57.035217Z K 7 svn:log V 480 MFC: r254005 - Fix a bug in the MSI allocation logic so an MSI is also employed if a controller supports only a single message. I haven't seen such an adapter out in the wild, though, so this change likely is a NOP. While at it, further simplify the MSI allocation logic; there's no need to check the number of available messages on our own as pci_alloc_msi(9) will just fail if it can't provide us with the single message we want. - Nuke the unused softc of aacch(4). END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-09-26T10:06:50.676574Z K 7 svn:log V 697 Make the callout arithmetic more robust adding checks for overflow. Without these, if the timeout value passed is "large enough", the value of the sum of it and other factors (e.g. current time as returned by sbinuptime() or 'precision' argument) might result in a negative number. This negative number is then passed to eventtimers(4), which causes et_start() routine to load et_min_period into eventtimer, making the CPU where the thread is stuck forever in timer interrupt handler routine. This is now avoided rounding to INT64_MAX the timeout period in case of overflow. Reported by: kib, pho Discussed with: kib, mav Tested by: pho (stress2 suite, kevent7.sh scenario) Approved by: re (kib) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-09-26T10:33:15.654948Z K 7 svn:log V 185 Now that the portsnap buildbox is generating the raw bits for INDEX-10, add it to the set of INDEX files built by portsnap. Approved by: re (marius), portmgr (erwin) MFC after: 3 days END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-09-26T13:13:12.214372Z K 7 svn:log V 117 Added test scenario that exposed a callout arithmetic overflow problem. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-26T13:14:51.533704Z K 7 svn:log V 322 Acquire a hold reference on the vnode when a knote is instantiated. Otherwise, knote keeps a pointer to a vnode which could become invalid any time. Reported by: many Tested by: Patrick Lamaiziere Discussed with: jmg Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (marius) END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-09-26T13:15:33.482957Z K 7 svn:log V 110 Rename Makefile.gnu to GNUmakefile. Submitted by: Garrett Cooper Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-26T13:17:31.318450Z K 7 svn:log V 370 Do not allow negative timeouts for kqueue timers, check for the negative timeout both before and after the conversion to sbintime_t. For periodic kqueue timer, convert zero timeout into 1ms, to avoid interrupt storm on fast event timers. Reported and tested by: pho Discussed with: mav Reviewed by: davide Sponsored by: The FreeBSD Foundation Approved by: re (marius) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-26T14:30:02.228042Z K 7 svn:log V 96 - Bump Copyright year - Trim old entries from the releng/9.1 branch Approved by: re (implicit) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-26T14:39:13.126148Z K 7 svn:log V 178 - Bump Copyright year - Trim old entries from releng/9.1 - Update URLs for 9.2 where needed - Note CVS/cvsup are not supported methods to update src/ Approved by: re (implicit) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-26T14:41:53.365760Z K 7 svn:log V 50 - Bump Copyright year Approved by: re (implicit) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-26T15:17:49.967640Z K 7 svn:log V 85 - Bump Copyright year - Trim old entries from releng/9.1 Approved by: re (implicit) END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-09-26T15:36:20.189244Z K 7 svn:log V 157 Eliminate the declaration for a method that is no longer used. (This change should have been a part of r255724.) Reminded by: nathan Approved by: re (gjb) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-26T15:46:32.599466Z K 7 svn:log V 198 Trim the release notes article to the basics, purely for inclusion in the release build. The release notes will be updated on the website as normal. Discussed with: hrs Approved by: re (implicit) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-26T16:07:30.573700Z K 7 svn:log V 50 Bump entity versions. Approved by: re (implicit) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-26T16:25:06.763439Z K 7 svn:log V 134 Fix incorrect assertion on the minimum side. ZFS would trigger this. Reported by: Chris Torek, Allan Jude Approved by: re@ (blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-09-26T17:54:58.714676Z K 7 svn:log V 112 Import NetBSD readline.c,v 1.104: do not crash with add_history(NULL). MFC after: 3 days Approved by: re (gjb) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-09-26T17:55:04.863431Z K 7 svn:log V 94 it must be the last member, not might... Reviewed by: attilio Approved by: re (delphij, gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-09-26T17:55:36.589634Z K 7 svn:log V 165 Temporarily disable iconv for non-shared library builds. The dynamic loading of conversation table is not yet compatible with static builds. Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-09-26T18:00:45.096074Z K 7 svn:log V 225 Improve bsdpatch usability: - Ask only once for "Apply anyway". [1] - Tell user what file have failed patch rather than just how many hunks failed. Reported by: jmg via pfg [1] Tested by: pfg [1] Approved by: re (gjb) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-26T18:01:32.430872Z K 7 svn:log V 238 Fix bug where UART unit number was not set properly, which prevented operation on systems with multiple serial ports. Also turn on interrupts for the UART device, which were disabled due to a now-fixed bug in QEMU. Approved by: re (gjb) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-26T18:10:19.929066Z K 7 svn:log V 138 Update releng/9.2 to -RELEASE status as part of the 9.2-RELEASE process. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-26T18:18:51.733769Z K 7 svn:log V 262 MFC r255273,255282: Align stacks of kernel threads correctly at 16-byte boundaries rather than making sure they are all misaligned at +8 bytes. This fixes clang builds of powerpc64 kernels (aside from a required increase in KSTACK_PAGES which will come later). END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-26T18:28:11.428508Z K 7 svn:log V 126 Copy releng/9.2 to release/9.2.0 as part of the 9.2-RELEASE. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-26T18:30:57.870866Z K 7 svn:log V 62 release/9.2.0 has been created; call stable/9 'STABLE' again. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-26T18:32:51.217937Z K 7 svn:log V 51 Update for when we hope to have 9.2-RELEASE ready. END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-09-26T19:42:58.404698Z K 7 svn:log V 174 MFC 249028: The CTL block backend is broken without this. Fix sending virtual scatter/gather lists from the CTL CAM frontend peripheral. Sponsored by: Spectra Logic END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-09-26T21:04:42.339279Z K 7 svn:log V 239 Update to tzdata2013f: Jordan goes to winter time on the last Friday in October. Tocantins in Brazil will not go into summer time in October. Indonesian time zones renames. Lots of cleanups in with regarding to links and historical data. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-26T21:18:46.883649Z K 7 svn:log V 118 As idling the CPU no longer causes hangs on QEMU, reenable the pSeries cpu_idle() routine. Approved by: re (delphij) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-26T22:47:02.651647Z K 7 svn:log V 447 Allow Open Firmware syscons to attach to devices without an "address" property such as those found on some real and emulated IBM systems. The approach, which is taken from Linux, is to scan through the PCI bars until we find one large enough to contain the linear framebuffer and which is ideally prefetchable if no "address" property can be found. This makes the graphical console work with the pSeries target in QEMU. Approved by: re (delphij) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-27T06:56:58.559920Z K 7 svn:log V 172 MFC r255844: Ensure that the ERESTART return from the syscall reloads the registers, to make the restarted syscall instruction pass the correct arguments. PR: kern/182161 END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-27T07:02:48.528936Z K 7 svn:log V 172 MFC r255844: Ensure that the ERESTART return from the syscall reloads the registers, to make the restarted syscall instruction pass the correct arguments. PR: kern/182161 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-09-27T09:55:06.506975Z K 7 svn:log V 20 Tag of tzdata2013f. END K 10 svn:author V 3 brd K 8 svn:date V 27 2013-09-27T11:25:37.091476Z K 7 svn:log V 98 - Remove the is (Iceland) mirror per mail from the admins. Approved by: re With hat: clusteradm@ END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-27T13:11:20.597651Z K 7 svn:log V 190 Make sure that ref and changed bits propagate back to the VM layer whenever pages are unmapped. The old code had several races that could allow these to become stale. Approved by: re (kib) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-27T13:12:47.424978Z K 7 svn:log V 425 Rework handling of ofw_quiesce(), making it the responsibility of the platform modules. Whether to call this function or not is highly machine dependent: on some systems, it is required, while on others it breaks everything. Platform modules are in a better position to figure this out. This is required for POWER hypervisor SCSI to work correctly. There are no functional changes on Powermac systems. Approved by: re (kib) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-09-27T14:55:59.343477Z K 7 svn:log V 126 Return 0 for a rdmsr of MSR_IA32_PLATFORM_ID. This is enough to get Ubuntu 12.0.4/13.0.4 to boot. Approved by: re@ (blanket) END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-09-27T15:10:36.611293Z K 7 svn:log V 63 Fix a bug in copy/paste of the requirements check for pmufreq. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-09-27T15:17:28.371090Z K 7 svn:log V 304 sys/x86/xen/hvm.c: Set cpu_ops correctly for Xen hypervisors lacking the vector callback feature. Set preliminary Xen cpu_ops settings during early HVM initialization. The old location raced with the startup of APs. Submitted by: Roger Pau MonnĂ© Reviewed by: gibbs Approved by: re (blanket Xen) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-27T15:22:08.257149Z K 7 svn:log V 76 Remove duplicate entry for the host(1) man page. Approved by: re (blanket) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-27T16:02:40.583721Z K 7 svn:log V 285 Make sure the CCB xflags field is initialized to zero so that CAM_EXTLUN_VALID is not erroneously set. Also add an XPORT_SRP identifier to the known SCSI transports for the SCSI RDMA protocol, as used, for example with Infiniband storage. Reviewed by: scottl Approved by: re (marius) END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-09-27T17:42:23.381132Z K 7 svn:log V 44 Fix Fx syntax. PR: 182269 Approved by: re@ END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-09-27T18:41:31.677942Z K 7 svn:log V 31 Update dialog to 1.2-20130923. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-09-27T18:45:23.688334Z K 7 svn:log V 25 Tag dialog 1.2-20130923. END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-09-28T00:26:03.730905Z K 7 svn:log V 548 MFC @r255918 sans r254466 r254466 bumps up User and Kernel VA considerably, which upsets our current dmap shim with 4K pages. We differ this until a proper implmentation is done for xen. These changes are with a view to sync-ing the branch with head and thus breaks functionality considerably. The console for example is now visible only via the hypervisor debug console, because the interrupt bootstrap has been affected by the underlying churn in the HVM port. This and other breakage will presently be addressed. Approved by: gibbs(implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-09-28T00:44:59.745939Z K 7 svn:log V 176 Add pmap_advise() and pmap_protect() implementations for xen. These are now mandatory with the sync to r255918 to boot up to single user mode. Approved by: gibbs ( implicit ) END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-09-28T02:13:59.714039Z K 7 svn:log V 162 Fix powerpc/161045. ams_poll() needs to return that any data is available, not just a new packet. PR: powerpc/161045 Approved by: re(marius) MFC after: 1 week END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-09-28T05:56:37.820173Z K 7 svn:log V 848 MFC 244015: ------------------------------------------------------------------------ r244015 | ken | 2012-12-07 21:16:07 -0700 (Fri, 07 Dec 2012) | 17 lines Fix the CTL OOA queue dumping code so that it does not hold a mutex while doing a copyout. That can cause a panic, because copyout can trigger VM faults, and we can't handle VM faults while holding a mutex. The solution here is to malloc a separate buffer to hold the OOA queue entries, so that we don't risk a VM fault while filling up the buffer and we don't have to drop the lock. The other solution would be to wire the user's memory while filling their buffer with copyout, but that would have been a little more complex. Also fix a debugging parenthesis issue in ctl_abort_task() pointed out by Chuck Tuffli. Sponsored by: Spectra Logic Corporation END K 10 svn:author V 3 uqs K 8 svn:date V 27 2013-09-28T07:04:03.020577Z K 7 svn:log V 85 Fix make depend, apply a bit of style. Approved by: re (marius) Reviewed by: grehan END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-28T07:43:36.567458Z K 7 svn:log V 127 MFC r255566: If the last page of the file is partially full and whole valid portion is invalidated, invalidate the whole page. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2013-09-28T13:58:21.150506Z K 7 svn:log V 90 Remove ftp5.se.f.o, as per request to -hubs@ Approved by: re (glebius) MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-09-28T14:14:23.845592Z K 7 svn:log V 141 Fix a fallout from r241610. One enc interface must be created on startup. Pointy hat to: glebius Reported by: gavin Approved by: re (gjb) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-28T15:46:03.956118Z K 7 svn:log V 458 Add driver for the PAPR VSCSI virtual SCSI controller. This lets FreeBSD install directly into standard POWER LPARs, as found for example in QEMU. The core of this device is the SCSI RDMA protocol as also found in Infiniband. The SRP portions of the driver will be factored out and placed /sys/cam in the future to allow them to be used for IB storage. Thanks to Scott Long for a great deal of implementation help. Reviewed by: scottl Approved by: re (kib) END K 10 svn:author V 6 philip K 8 svn:date V 27 2013-09-28T15:49:36.162033Z K 7 svn:log V 124 Use the correct EtherType for logging IPv6 packets. Reviewed by: melifaro Approved by: re (kib, glebius) MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-28T16:25:20.767584Z K 7 svn:log V 335 Prevent the set -e from mk-osreldate.sh from propagating into newvers.sh. This would cause detection of old versions of SVN to cause fatal errors instead of being caught and handled, which would make the build fail if the tree had been checked out with an older version of SVN (e.g. 1.6). Discussed with: gjb Approved by: re (marius) END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-09-28T16:39:46.452104Z K 7 svn:log V 594 Allow the path to the system source directory to be passed in to newvers.sh. Pass it in from include/Makefile. If it isn't passed in, fall back to the old logic of using dirname $0. Using dirname $0 does not yield the path to the script if it was sourced in from another script in another directory; you end up with the parent script's path. That was causing newvers.sh to look one level below the FreeBSD src/ directory when building osreldate.h and it may find something like a git or svn repo there that has nothing to do with FreeBSD. PR: 174422 Approved by: re () MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-09-28T23:03:40.879312Z K 7 svn:log V 275 Fix a bug in ld, where indirect symbols are not handled properly during linking of a shared library, leading to corrupt indexes in the dynamic symbol table. This should fix the multimedia/ffmpegthumbnailer port. Approved by: re (kib) Reported by: swills MFC after: 2 weeks END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-09-29T00:35:03.463708Z K 7 svn:log V 812 Update OFED to Linux 3.7 and update Mellanox drivers. Update the OFED Infiniband core to the version supplied in Linux version 3.7. The update to OFED is nearly all additional defines and functions with the exception of the addition of additional parameters to ib_register_device() and the reg_user_mr callback. In addition the ibcore (Infiniband core) and ipoib (IP over Infiniband) have both been made into completely loadable modules to facilitate testing of the OFED stack in FreeBSD. Finally the Mellanox Infiniband drivers are now updated to the latest version shipping with Linux 3.7. Submitted by: Mellanox FreeBSD driver team: Oded Shanoon (odeds mellanox.com), Meny Yossefi (menyy mellanox.com), Orit Moskovich (oritm mellanox.com) Approved by: re END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-09-29T01:05:00.303900Z K 7 svn:log V 90 Update head/ to -ALPHA4. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-09-29T07:42:25.190574Z K 7 svn:log V 85 MFC r255891: Import NetBSD readline.c,v 1.104: do not crash with add_history(NULL). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-09-29T10:14:16.289344Z K 7 svn:log V 109 Add pagemask debugging output in "show tlb" in the debugger. Approved by: re (marius) Obtained from: bsdimp END K 10 svn:author V 6 philip K 8 svn:date V 27 2013-09-29T13:05:22.791217Z K 7 svn:log V 174 DEBUG_FLAGS -g is default for GENERIC and its presence interferes with disabling the sfxge.ko.symbols build for embedded systems. Approved by: re (marius) MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-09-29T13:09:25.419144Z K 7 svn:log V 88 Implement GET_STACK_USAGE. Discussed with: mav Approved by: re (kib) MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-29T14:06:19.926928Z K 7 svn:log V 93 Yet more BIND files that weren't listed in OptionalObsoleteFiles. Approved by: re (blanket) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-09-29T15:19:34.759545Z K 7 svn:log V 261 Fix ixp425 boot2 with ARM EABI: - libkern is missing __aeabi_llsl, implement this by calling __ashldi3. - Because of how the asm entry macros are defined the boot2 code requires the unwind symbols to exist, include them in boot2. Approved by: re (marius) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-29T18:02:23.997660Z K 7 svn:log V 338 Add LK_TRYUPGRADE operation for lockmgr(9), which attempts to atomically upgrade shared lock to exclusive. On failure, error is returned and lock is not dropped in the process. Tested by: pho (previous version) No objections from: attilio Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (glebius) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-29T18:04:57.539157Z K 7 svn:log V 443 Reimplement r255797 using LK_TRYUPGRADE. The r255797 was: Increase the chance of the buffer write from the bufdaemon helper context to succeed. If the locked vnode which owns the buffer to be written is shared locked, try the non-blocking upgrade of the lock to exclusive. PR: kern/178997 Reported and tested by: Klaus Weber Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (glebius) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-29T18:07:14.398245Z K 7 svn:log V 291 For vunref(), try to upgrade the vnode lock if the function was called with the vnode shared-locked. If upgrade succeeded, the inactivation can be done immediately, instead of being postponed. Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (glebius) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-09-29T20:10:22.670398Z K 7 svn:log V 247 Changes to CAM or busdma have caused SIMs to be sent 0-length CCBs on occasion. This resulted in zero mapped segments, triggering an assert in the PS3 CDROM driver. Allow no DMA for 0-length transfers. Approved by: re (glebius) MFC after: 1 week END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-09-29T20:20:17.428485Z K 7 svn:log V 432 Use MK_SSP=no after including bsd.own.mk to disable SSP instead of user-knob WITH[OUT]_SSP to avoid hitting an error if user has WITH_SSP in their make.conf. Ports now use this knob. make[7]: "/usr/src/share/mk/bsd.own.mk" line 466: WITH_SSP and WITHOUT_SSP can't both be set. This is similar to previous cleanup done in r188895 Approved by: bapt Reviewed by: jlh (earlier version) Approved by: re (marius) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-09-29T20:21:34.181063Z K 7 svn:log V 302 Make the mac_policy_rm lock recursable, which allows reentrance into the mac framework. It is needed when priv_check_cred(9) is called from the mac callback, e.g. in the mac_portacl(4). Reported by: az Reviewed by: rwatson Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (gjb) END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-09-29T20:35:38.824310Z K 7 svn:log V 870 MFC r255804: Pull in r191165 from upstream llvm trunk: ISelDAG: spot chain cycles involving MachineNodes Previously, the DAGISel function WalkChainUsers was spotting that it had entered already-selected territory by whether a node was a MachineNode (amongst other things). Since it's fairly common practice to insert MachineNodes during ISelLowering, this was not the correct check. Looking around, it seems that other nodes get their NodeId set to -1 upon selection, so this makes sure the same thing happens to all MachineNodes and uses that characteristic to determine whether we should stop looking for a loop during selection. This should fix PR15840. Specifically, this fixes the long-standing assertion failure when compiling the multimedia/gstreamer port on i386. Thanks to Tijl Coosemans for his help in getting upstream to fix it. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-09-29T23:38:53.658352Z K 7 svn:log V 55 Add the newest NetBSD releases. Approved by: re (gjb) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2013-09-30T09:21:17.413011Z K 7 svn:log V 106 Update ddb(9) to show how to print 64-bit values with "examine". MFC after: 3 days Approved by: re (gjb) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-30T17:23:45.260402Z K 7 svn:log V 36 Remove BIND. Approved by: re (gjb) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-09-30T17:35:48.171029Z K 7 svn:log V 386 MFC: r255866, r255867 fix a bug where we access a bread buffer after we have brelse'd it... The kernel normally didn't unmap/context switch away before we accessed the buffer most of the time, but under heavy I/O pressure and lots of mount/unmounting this would cause a fault on nofault panic... NULL stale pointers (should be a no-op as they should no longer be used)... END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-30T17:40:39.703738Z K 7 svn:log V 35 Regenerate. Approved by: re (gjb) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-09-30T17:57:22.701733Z K 7 svn:log V 386 MFC: r255866, r255867 fix a bug where we access a bread buffer after we have brelse'd it... The kernel normally didn't unmap/context switch away before we accessed the buffer most of the time, but under heavy I/O pressure and lots of mount/unmounting this would cause a fault on nofault panic... NULL stale pointers (should be a no-op as they should no longer be used)... END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-30T18:00:54.958589Z K 7 svn:log V 49 Remove /usr/include/lwres Approved by: re (gjb) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-09-30T18:06:43.814763Z K 7 svn:log V 105 Note the removal of BIND, where to find it, and how to use local_unbound instead. Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-09-30T20:33:56.325163Z K 7 svn:log V 193 Reverse directories order when doing 'make delete-old-dir'. This ensures subdirectories gets removed before their parents when doing make delete-old. Approved by: re (gjb) MFC after: 2 weeks END K 10 svn:author V 4 rene K 8 svn:date V 27 2013-09-30T20:49:10.443793Z K 7 svn:log V 231 Update the Dutch calendar entries: - prince Johan Friso passed away in 2013 - correct status of queen Maxima and crown princess Catharina-Amalia - language fixes Approved by: remko (mentor) Approved by: re (gjb) MFC after: 3 days END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-09-30T21:01:04.022083Z K 7 svn:log V 181 Set proper permissions on the generated osreldate.h file; a file readable only by root can cause install problems, especially over nfs. Submitted by: jilles@ Approved by: re (gjb) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-09-30T21:26:03.795824Z K 7 svn:log V 70 Add missing mergeinfo associated with r255852. Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-01T00:49:57.794803Z K 7 svn:log V 131 MFC r255648: Fix a typo when accounting for tx_broadcast statistics. Submitted by: Paul A. Patience END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-01T02:33:30.560210Z K 7 svn:log V 1239 Implement the accessed/dirty bit emulation differently so that the code to deal with regular and emulated pmaps is almost identical. The idea is entirely from Alan Cox (alc@). EPT mappings that require emulation of A/D bits will map the PG_V and PG_RW bits to bits 52 and 53 in the PTE. These bits are entirely used by software and ignored by the hardware. The accessed bit (PG_A) is mapped to the EPT_PG_READ bit and the modified bit (PG_M) is mapped to the EPT_PG_WRITE bit. Thus the pmap code creates valid mappings by setting the PG_V and/or the PG_RW bits in the PTE and the emulation handler actually makes these mappings visible to the hardware by setting the EPT_PG_READ and/or the EPT_PG_WRITE bits. The pmap code that clears the referenced bit needs special attention because if PG_A is being emulated it ends up clearing EPT_PG_READ. The EPT requires that if the EPT_PG_READ bit is clear then the EPT_PG_WRITE bit must also be cleared. These restrictions are expressed in 'safe_to_clear_referenced()'. The accessed/dirty bit handler now needs to deal with read faults as well as write faults. The accessed bit emulation is done for 4K and 2M pages whereas the dirty bit emulation is done for 4K pages. Suggested by: alc@ END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-10-01T03:49:38.429047Z K 7 svn:log V 26 Merge from head @ r255960 END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-01T05:27:48.696901Z K 7 svn:log V 13 IFC @r255960 END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-01T07:19:23.259281Z K 7 svn:log V 115 Odds and ends left over from BIND and unnoticed because they didn't affect 'make universe'. Approved by: re (gjb) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-01T07:22:04.852258Z K 7 svn:log V 148 Have makeman always use the mk files from the source tree it's operating on rather than those from the installed system. Approved by: re (delphij) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-10-01T08:38:47.232755Z K 7 svn:log V 240 MFC r255768: Stability fixes for Intel LynxPoint XHCI controllers. Disable XHCI port routing if we get certain errors. Poll for command completion upon command timeouts. The XHCI error events might not generate interrupts. PR: usb/181159 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-10-01T08:41:28.787865Z K 7 svn:log V 240 MFC r255768: Stability fixes for Intel LynxPoint XHCI controllers. Disable XHCI port routing if we get certain errors. Poll for command completion upon command timeouts. The XHCI error events might not generate interrupts. PR: usb/181159 END K 10 svn:author V 2 br K 8 svn:date V 27 2013-10-01T12:01:20.813765Z K 7 svn:log V 179 - Enable unmapped buffers on Exynos5 again, because board now able to see all the 2GB ram it has - Also unbreak gcc build Approved by: cognet (mentor) Approved by: re (marius) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-10-01T15:33:00.573784Z K 7 svn:log V 158 Fix mis-merge of upstream fix. We would accidentally make the string one byte too short. Submitted by: Orit Moskovich (oritm mellanox.com) Approved by: re END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-10-01T15:36:51.495960Z K 7 svn:log V 228 Fixed kernel crash when removing IPOIB_CM option from configuration file Changed module init from module_init() to module_init_order() with SI_ORDER_MIDDLE flag Submitted by: Orit Moskovich (oritm mellanox.com) Approved by: re END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-10-01T15:38:29.216122Z K 7 svn:log V 267 Fixed 'Couldn't Create QP' issue when running rc_pingpong, uc_pingpong, srq_pingpong IBverbs Removed refrences using 'ifdef __linux__' to qpg functions and related fields in struct ib_qp_init_attr. Submitted by: Orit Moskovich (oritm mellanox.com) Approved by: re END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-10-01T15:40:27.813581Z K 7 svn:log V 158 Fix some typos that were causing probe argument types to show up as unknown. Reviewed by: rwatson (mac provider) Approved by: re (glebius) MFC after: 1 week END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-10-01T15:42:38.978335Z K 7 svn:log V 210 Enable ib_dev.mmap function Removed the ifdef linux from this function. Added stub function for contiguous pages to avoid compilation errors. Submitted by: Orit Moskovich (oritm mellanox.com) Approved by: re END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-10-01T15:43:23.692033Z K 7 svn:log V 282 Fixed kernel crash when running devinfo When calling to ib_uverbs_cleanup_ucontext, there is a call to mutex_lock of xrcd_table_mutex, which was not initialized. Added missing initialization for xrcd_table_mutex. Submitted by: Orit Moskovich (oritm mellanox.com) Approved by: re END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-10-01T17:40:56.617811Z K 7 svn:log V 193 Remove long-unused GNU ar and ranlib The libarchive-based replacements have been used since 2009; the GNU ones were kept to support source upgrades from FreeBSD 6. Approved by: re@ (delphij) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-10-01T17:46:04.209253Z K 7 svn:log V 35 Regen. Approved by: re (implicit) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-10-01T17:51:04.131794Z K 7 svn:log V 97 Also remove GNU ar and ranlib man pages This was missed in r255974. Approved by: re (implicit) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-10-01T18:41:53.828268Z K 7 svn:log V 109 Sweep man pages replacing ad -> ada. Approved by: re (blackend) MFC after: 1 week X-MFC note: stable/9 only END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-01T19:14:24.789442Z K 7 svn:log V 608 Pull in r191711 from upstream llvm trunk: The X86FixupLEAs pass for Intel Atom must not call convertToThreeAddress on ADD16rr opcodes, if src1 != src, since that would cause convertToThreeAddress to try to create a virtual register. This is not permitted after register allocation, which is when the X86FixupLEAs pass runs. This patch fixes PR16785. Pull in r191715 from upstream llvm trunk: Forgot to add a break statement. This should enable building the x11-toolskits/libXaw port with CPUTYPE=atom. Approved by: re (gjb) Reported by: Kenta Suzumoto MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-01T20:18:33.381091Z K 7 svn:log V 180 When printing the vnode information from ddb, print the lengths of the dirty and clean buffer queues. Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (gjb) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-10-01T21:17:18.036166Z K 7 svn:log V 356 accept(2): Update portability note for accept4(). The accept(2) man page warns that O_NONBLOCK and other properties on the new socket may vary across implementations. However, this issue only applies to accept() and not to accept4(). On the other hand, accept4() is not commonly available yet. Reported by: pluknet Reviewed by: bjk Approved by: re (kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-01T22:53:27.877428Z K 7 svn:log V 96 Revert-and-redo r255955: the sort -r should be added to delete-old-dirs. Approved by: re (gjb) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-10-02T00:50:27.036994Z K 7 svn:log V 371 Use correct size for MIPS .rld_map section On MIPS .dynamic is read-only and so a special section .rld_map is used to store the pointer to the rtld information for debuggers. This section had a hard coded size of 4 bytes which is not correct for mips64. (Note that FreeBSD's rtld does not yet populate .rld_map.) Sponsored by: DARPA, AFRL Approved by: re (delphij) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-10-02T02:32:58.915557Z K 7 svn:log V 269 Populate .rld_map on MIPS for debuggers On MIPS the .dynamic section is read-only, so the pointer to rtld information for debuggers cannot be stored there (in DT_DEBUG). Instead, a special section .rld_map is used. Sponsored by: DARPA, AFRL Approved by: re (delphij) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-10-02T04:18:00.126386Z K 7 svn:log V 46 MFC r255712: Remove extra 'MAKE_FLAGS' line. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-10-02T04:40:46.558033Z K 7 svn:log V 107 Add FreeBSD 9.2-RELEASE to the BSD Family Tree Approved by: re (hrs) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-02T06:00:34.942166Z K 7 svn:log V 1088 When helping the bufdaemon from the buffer allocation context, there is no sense to walk the whole dirty buffer queue. We are only interested in, and can operate on, the buffers owned by the current vnode [1]. Instead of calling generic queue flush routine, do VOP_FSYNC() if possible. Holding the dirty buffer queue lock in the bufdaemon, without dropping it, can cause starvation of buffer writes from other threads. This is esp. easy to reproduce on the big memory machines, where large files are written, causing almost all dirty buffers accumulating in several big files, which vnodes are locked by writers. Bufdaemon cannot flush any buffer, but is iterating over the whole dirty queue continuously. Since dirty queue mutex is not dropped, bufdone() in g_up thread is starved, usually deadlocking the machine [2]. Mitigate this by dropping the queue lock after the vnode is locked, allowing other queue lock contenders to make a progress. Discussed with: Jeff [1] Reported by: pho [2] Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Approved by: re (hrs) END K 10 svn:author V 6 philip K 8 svn:date V 27 2013-10-02T12:35:03.346248Z K 7 svn:log V 66 MFC r255928: Use the correct EtherType for logging IPv6 packets. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-02T13:33:10.381138Z K 7 svn:log V 116 Only build the POWER hypervisor UART driver if device uart is included in the kernel config. Approved by: re (gjb) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-10-02T14:43:17.159676Z K 7 svn:log V 188 set ROOTDEVNAME to ada0 with no paritions. This makes it much more functional with makefs and other tools for testing and ports building Approved by: re (gjb) MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-02T15:00:04.300050Z K 7 svn:log V 289 MFC r255614,255639: Fix bug in busdma: if segs is a preexisting buffer, we memcpy it into the DMA map. The length of the buffer had not yet been initialized, however, so this would copy gibberish unless it happened to be right by chance. This bug mostly only affected systems with IOMMUs. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-10-02T16:32:07.949320Z K 7 svn:log V 376 MFC revisions 255908, 255925, and 255925: SVN r255908: Fix a bug in HTTP checking/fetching. Add Main Site to HTTP menu. Add new example script browse_packages_http.sh and move existing example script browse_packages.sh -> browse_packages_ftp.sh SVN r255925: Remove the is (Iceland) mirror per mail from the admins. SVN r255925: Remove ftp5.se.f.o, as per request to -hubs@ END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-02T16:56:11.316405Z K 7 svn:log V 41 Delete stray tabs. Pointed out by: kib@ END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-10-02T17:14:12.399733Z K 7 svn:log V 379 Add a separate translator for headers passed to the TCP probes in the input path. These probes get some of the fields in host order, whereas the output probes get them in network order, so a single translator isn't enough. This workaround ensures that the problem is essentially invisble to users: none of the probe arguments or their fields have changed. Approved by: re (hrs) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-02T17:21:28.755225Z K 7 svn:log V 77 Add tabs after the #define to make it style compliant. Pointed out by: kib@ END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-02T17:22:27.938022Z K 7 svn:log V 34 Remove support for cvs and cvsup. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-02T17:36:13.693629Z K 7 svn:log V 96 Make continuation lines style compliant by indenting them using 4 spaces. Pointed out by: kib@ END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-02T18:07:43.564964Z K 7 svn:log V 23 MFC - tracking update. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-02T18:12:18.629163Z K 7 svn:log V 23 MFC - tracking update. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-02T18:22:42.735824Z K 7 svn:log V 752 Improve the logic used to determine the default value of the HOSTNAME configuration variable. Introduce an NCPU configuration variable and implement similar logic as for the HOSTNAME configuration variable. Change the configuration variable substitution syntax from %%FOO%% to ${FOO}. The old syntax is still supported for backward compatibility, but is not used internally and is deemphasized in the documentation. Introduce support for using environment variables in configuration files. This requires a fair amount of validation and untainting. Clean up the man page, especially the list of configuration variables, and provide more detailed explanations of some of the darker corners of the code as well as advice about tuning JOBS and NCPU. END