summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Note merge for sendmail 8.14.9.gshapiro2014-05-261-0/+3
|
* MFC: Minor changes to force commit these files so new freebsd*.cf files aregshapiro2014-05-262-2/+0
| | | | built to use the new sendmail-8.14.9/cf tree.
* MFC: Update for sendmail 8.14.9 importgshapiro2014-05-261-2/+2
|
* MFC: Merge sendmail 8.14.9 to HEADgshapiro2014-05-26547-584/+593
|
* Catch up supported hardware obmitted in r265269, now that this branch has ↵brueffer2014-05-261-1/+1
| | | | | | support for it.
* MFC r266445:ae2014-05-261-0/+2
| | | | Add a topology trace to the g_spoil_event.
* MFC r266399:ae2014-05-261-1/+1
| | | | | | | | Since ipfw nat configures all options in one step, we should set all bits in the mask when calling LibAliasSetMode() to properly clear unneeded options. PR: 189655
* MFC r265900:nwhitehorn2014-05-263-2/+23
| | | | | | | | | | | | | Repair some races in IPI handling: 1. Make sure IPI mask is set before sending the IPI 2. Operate atomically on PS3 PIC outstanding interrupt list 3. Make sure IPIs are EOI'ed before, not after, processing. Without this, a second IPI could be sent partway through processing the first one, get erroneously acknowledge by the EOI to the first, and be lost. In particular in the case of smp_rendezvous(), this can be fatal. In combination, this makes the PS3 boot SMP again. It probably also fixes some latent bugs elsewhere.
* MFC r266541:hselasky2014-05-251-11/+5
| | | | | | | | - Fix a bug where the TLBPC value was forced to being odd for IN direction isochronous transfers. - Remove setting of fields which does not belong to the respective TRBs. These fields are currently set as zero and this is more a cosmetic change.
* MFC r262329:markj2014-05-255-58/+34
| | | | | | | | | | Define the KM_NORMALPRI flag for kmem_alloc(), as it is used in some upstream DTrace code. MFC r262330: 1452 DTrace buffer autoscaling should be less violent illumos/illumos-gate@6fb4854bed54ce82bd8610896b64ddebcd4af706
* MFC r265798, r265815, r266091wblock2014-05-252-0/+231
| | | | Add a man page for the new vt.4 device.
* MFC r266553, r266554:gjb2014-05-252-2/+9
| | | | | | | | | | | | | | | | | | | r266553: Add forward-compatibility glue with pkg-1.3: - Use ASSUME_ALWAYS_YES=YES instead of ASSUME_ALWAYS_YES=1 since pkg-1.3 expects "yes" or "true" values. - Before exporting PKG_ABI, strip extra characters from what is parsed from 'pkg -vv'. This causes problems further down when creating the packages directory for inclusion on the dvd1.iso. Previously PKG_ABI would be 'freebsd:9:x86:64', but now is '"freebsd:9:x86:64";' in pkg-1.3. r266554: Disable the main FreeBSD pkg(7) repositories in the dvd repository configuration to avoid fetching from upstream in case there may be conflicts. Sponsored by: The FreeBSD Foundation
* MFC r266411:kib2014-05-251-3/+3
| | | | Fix LD_LIBMAP.
* MFH (r266291): look for root certs in /usr/local firstdes2014-05-241-2/+8
|
* MFC r265689:mav2014-05-244-30/+599
| | | | | | | | | | | | Import adapted OpenSolaris' thread pool API implementation. The thread pool is used by libzfs to implement parallel disk scanning. Without this change our dummy wrapper made `zpool import ZZZ` command to scan all disks sequentially from the single thread when searching for pools. This change makes it use two threads per CPU, same as in OpenSolaris. On system with 200 HDDs this change reduces ZFS pool import time from 35 to 22 seconds.
* MFC r265821:mav2014-05-243-0/+10
| | | | | | | | Comment out some pointless device open/close around reading device IDs. FreeBSD ZFS port unlike OpenSolaris does not use device IDs, and does not implement respective devid_*() fuctions. It is pointless to open devices just to close them back immediately.
* MFC r266320:mav2014-05-242-5/+26
| | | | Add -o option to gstat to display "other" operatins (e.g. BIO_FLUSH).
* MFC r266319:mav2014-05-241-2/+5
| | | | Make GEOM DISK to account also BIO_FLUSH operations.
* MFC r266491:kib2014-05-241-12/+10
| | | | Remove redundand loop.
* drm/radeon: Add 32bit ioctls supportdumbbell2014-05-233-260/+170
| | | | | | | This allows to run 32bit applications on a 64bit host. This was tested successfully with Wine (emulators/i386-wine-devel) and StarCraft II. Submitted by: Jan Kokemüller <jan.kokemueller@gmail.com>
* MFC 260802,260836,260863,261001,261074,261617:jhb2014-05-234-81/+232
| | | | | | | | | | | | | | | | | | | Various fixes for NMI and interrupt injection. - If a VM-exit happens during an NMI injection then clear the "NMI Blocking" bit in the Guest Interruptibility-state VMCS field. - If the guest exits due to a fault while it is executing IRET then restore the state of "Virtual NMI blocking" in the guest's interruptibility-state field before resuming the guest. - Inject a pending NMI only if NMI_BLOCKING, MOVSS_BLOCKING, STI_BLOCKING are all clear. If any of these bits are set then enable "NMI window exiting" and inject the NMI in the VM-exit handler. - Handle a VM-exit due to a NMI properly by vectoring to the host's NMI handler via a software interrupt. - Set "Interrupt Window Exiting" in the case where there is a vector to be injected into the vcpu but the VM-entry interruption information field already has the valid bit set. - For VM-exits due to an NMI, handle the NMI with interrupts disabled in addition to "blocking by NMI" already established by the VM-exit.
* MFC 260469:jhb2014-05-231-1/+1
| | | | | Fix issue with the virtio descriptor region being truncated if it was above 4GB.
* MFC r259107alc2014-05-233-10/+7
| | | | | | Eliminate a redundant parameter to vm_radix_replace(). Improve the wording of the comment describing vm_radix_replace().
* MFC r266208: Speed up pmcstat by improving string hashemaste2014-05-231-3/+3
| | | | | | | | | In one case generating callgraph output from a 24MB system-wide sampling data file took 17.4 seconds on average. Profiling showed pmcstat spending a lot of time in strcmp, due to hash collisions. Replacing the XOR-only hash with FNV-1a reduces the run time for my test by 40%.
* MFC r265886, r265948alc2014-05-231-7/+14
| | | | | | | | | | | | | | | | | | With the new-and-improved vm_fault_copy_entry() (r265843), we can always avoid soft page faults when adding write access to user wired entries in vm_map_protect(). Previously, we only avoided the soft page fault when the underlying pages were copy-on-write. In other words, we avoided the pages faults that might sleep on page allocation, but not the trivial page faults to update the physical map. On a fork allow read-only wired pages to be copy-on-write shared between the parent and child processes. Previously, we copied these pages even though they are read only. However, the reason for copying them is historical and no longer exists. In recent times, vm_map_protect() has developed the ability to copy pages when write access is added to wired copy-on-write pages. So, in this case, copy-on-write sharing of wired pages is not to be feared. It is not going to lead to copy-on-write faults on wired memory.
* MFC r266464:kib2014-05-233-1/+13
| | | | | In execve(2), postpone the free of old vmspace until the threads are resumed and exited.
* MFC r257543, r264912, r264972, r264982 and r266472:hselasky2014-05-239-153/+1270
| | | | | | | | | - Add preliminary support for the Realtek RTL8188EUS and RTL8188ETV chipsets. - Add device ID for 'Sanoxy 802.11N' USB - Initialize rssi variable. - Fix gcc build, initialize off variable. - The DELAY() should not be used in USB drivers. - The usb_pause_mtx() function takes ticks and not milliseconds as last argument.
* MFC r266466, r266471, r266484, r266505, r266535 and r266542:hselasky2014-05-232-141/+150
| | | | Fix multiple issues in the RSU driver.
* MFC r265359 and r265780:hselasky2014-05-231-1/+2
| | | | | Remove ISA load dependency for the kernel sound driver module for ARM and MIPS.
* MFC r265358, r265427, r265777, r265783,hselasky2014-05-238-738/+1320
| | | | | | | | | | r265806, r265872, r266012 and r266394: - Multiple DWC OTG host mode related fixes, improvements and optimisations. - Add full support for ISOCHRONOUS transfers to the DWC OTG driver. - Use the interrupt filter to handle basic USB FIFO interrupts. - Fixed unbalanced unlock in case of "dwc_otg_init_fifo()" failure. - Add common spinlock to the USB bus structure.
* MFC r266297: Update example portion of comment to coincide with r264840dteske2014-05-221-1/+2
|
* Merge r266261 from head:gavin2014-05-221-4/+4
| | | | | | | | USB endpoints are almost always single-digits, fix the path in the man page to be clearer. PR: docs/175560 Submitted by: Andreas Gustafsson <gson gson.org>
* Merge r266111 from head:gavin2014-05-221-1/+1
| | | | | | | | | | Fix typo. Note that although this file is under contrib, it has diverged sufficiently from upstream (including a full whitespace commit and large portions rewritten) that this change does not move us further from the upstream. PR: docs/186608 Submitted by: Jamie Landeg-Jones <jamie@dyslexicfish.net>
* MFC mpr(4) changes: r265484, r265485, r265709 and r265712ken2014-05-224-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r265484 | ken | 2014-05-06 23:11:16 -0600 (Tue, 06 May 2014) | 5 lines Remove some debugging code. Submitted by: Steve McConnell <stephen.mcconnell@avagotech.com> ------------------------------------------------------------------------ ------------------------------------------------------------------------ r265485 | ken | 2014-05-06 23:14:48 -0600 (Tue, 06 May 2014) | 9 lines Hold the SIM lock when calling xpt_create_path() and xpt_action() in mprsas_SSU_to_SATA_devices(). This fixes an assertion on shutdown with INVARIANTS enabled with SATA drives present on an IR firmware controller. Reviewed by: Steve McConnell <stephen.mcconnell@avagotech.com>. ------------------------------------------------------------------------ ------------------------------------------------------------------------ r265709 | ken | 2014-05-08 14:28:22 -0600 (Thu, 08 May 2014) | 15 lines Fix TLR (Transport Layer Retry) support in the mps(4) and mpr(4) drivers. TLR is necessary for reliable communication with SAS tape drives. This was broken by change 246713 in the mps(4) driver. It changed the cm_data field for SCSI I/O requests to point to the CCB instead of the data buffer. So, instead, look at the CCB's data pointer to determine whether or not we're talking to a tape drive. Also, take the residual into account to make sure that we don't go off the end of the request. Sponsored by: Spectra Logic Corporation ------------------------------------------------------------------------ ------------------------------------------------------------------------ r265712 | ken | 2014-05-08 14:46:46 -0600 (Thu, 08 May 2014) | 10 lines Add #ifdefs in the mpr(4) driver so that versions of stable/9 that have implemented the PIM_NOSCAN rescan functionality will have it enabled. This is a no-op for head. Reviewed by: slm Sponsored by: Spectra Logic Corporation ------------------------------------------------------------------------ Sponsored by: Spectra Logic, Avago
* MFC r266116,r266136jhibbits2014-05-222-2/+2
| | | | A page mask size is 12-bits, not 11.
* MFC r266426truckman2014-05-221-7/+4
| | | | | | | | Slightly restructure the final loop in rman_reserve_resource_bound(). Replace with the existing loop termination test with a similar condition from the nested "if" that may terminate the loop a bit sooner, but still not too early. This condition can then be removed from the nested "if". Relocate an operator to be style(9) compliant.
* Fix a typo.gjb2014-05-211-1/+1
| | | | | Submitted by: Hilko Meyer <hilko.meyer@gmx.de> Sponsored by: The FreeBSD Foundation
* MFC r265534:pho2014-05-212-6/+8
| | | | | | | | msync(2) must return ENOMEM and not EINVAL when the address is outside the allowed range or when one or more pages are not mapped. This according to The Open Group Base Specifications Issue 7. Sponsored by: EMC / Isilon storage division
* MFC rev. 265593:thomas2014-05-211-24/+43
| | | | | | | | | (dd_out): Fix handling of all-zeroes block at end of input with conv=sparse. PR: bin/189174 PR: bin/189284 Reviewed by: kib
* MFC r266006 and r266011:hselasky2014-05-212-2/+2
| | | | Fix unload of USB audio kernel module.
* Add FreeBSD version 11.0.pluknet2014-05-201-0/+1
| | | | This is a direct commit to stable/10.
* MFC 260237:jhb2014-05-201-67/+84
| | | | | | | | | | | | | Fix a bug in the HPET emulation where a timer interrupt could be lost when the guest disables the HPET. The HPET timer interrupt is triggered from the callout handler associated with the timer. It is possible for the callout handler to be delayed before it gets a chance to execute. If the guest disables the HPET during this window then the handler never gets a chance to execute and the timer interrupt is lost. This is now fixed by injecting a timer interrupt into the guest if the callout time is detected to be in the past when the HPET is disabled.
* Document r266279 and r266280, '-J' flag to ps(1), andgjb2014-05-201-0/+11
| | | | | | corresponding top(1) change. Sponsored by: The FreeBSD Foundation
* MFC r265465:delphij2014-05-201-2/+0
| | | | Don't reply monlist request when it's not enabled.
* MFC r266195:markj2014-05-192-4/+0
| | | | Remove some prototypes for undefined functions.
* MFC rev. 265926:thomas2014-05-191-2/+13
| | | | | | | | | | (NANO_CONFIG): New variable containing path of config file, so that the configuration can reference additional files relative to its own location. (NANO_MODULES): If set to "default", install all built modules. Reviewed by: imp
* MFC: r257808marius2014-05-191-0/+1
| | | | Add new AMT serial port PCI ID on Intel Lynx Point chipset
* Be even more paranoid about overflow.truckman2014-05-191-4/+4
| | | | Requested by: ache
* Nuke a couple of unnecessary assigments. Nothing uses the values of rstarttruckman2014-05-191-2/+0
| | | | and rend after this point.
* MFC r256790:ian2014-05-181-4/+4
| | | | | | Fix the VCVT instruction. It must round towards zero when converting from a floating-point to an integer value. This was not the case causing issues when printing certain values.
OpenPOWER on IntegriCloud