summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix spelling.grehan2013-09-061-1/+1
|
* Allow level-triggered interrupt sources. While this isn'tgrehan2013-09-061-2/+2
| | | | | precisely emulated, it is good enough for the single consumer i.e. irq4, the serial port on Linux.
* Fix build.glebius2013-09-061-0/+1
|
* On those machines, where sf_bufs do not represent any real object, makeglebius2013-09-066-51/+39
| | | | | | | | | sf_buf_alloc()/sf_buf_free() inlines, to save two calls to an absolutely empty functions. Reviewed by: alc, kib, scottl Sponsored by: Nginx, Inc. Sponsored by: Netflix
* Emulate reading of the IA32_MISC_ENABLE MSR, by returninggrehan2013-09-061-1/+16
| | | | | | the host MSR and masking off features that aren't supported. Linux reads this MSR to detect if NX has been disabled via BIOS.
* Allow CPUID leaf 0xD to be read as zeroes.grehan2013-09-062-0/+2
| | | | | | | | Linux reads this even though extended features aren't exposed. Support for 0xD will be expanded once AVX[2] is exposed to the guest in upcoming work.
* During universe/tinderbox export MAKE_JOB_ERROR_TOKEN=nosjg2013-09-061-0/+8
| | | | | | This avoids aborting everything when one kernel fails. Reviewed by: obrien
* If MAKE_JOB_ERROR_TOKEN is set to false, do not put an error token ("E")sjg2013-09-061-1/+18
| | | | | | | | into the job queue. This avoids closing down an entire build on failure of one branch. Probably has no use outside the context of universe/tinderbox. Reviewed by: obrien
* It was reported via email that the cu_sent field used by thermacklem2013-09-061-0/+2
| | | | | | | | | | | | | | | krpc client side UDP was observed as way out of range and caused the rpc.lockd daemon to hang trying to do an RPC. Inspection of the code found two places where the RPC request is re-queued, but the value of cu_sent was not incremented. Since cu_sent is always decremented when the RPC request is dequeued, I think this could have caused cu_sent to go out of range. This patch adds lines to increment cu_sent for these two cases. Reported by: dwhite@ixsystems.com Discussed with: dwhite@ixsystems.com MFC after: 2 weeks
* Also align the 32-bit PowerPC stacks.nwhitehorn2013-09-051-0/+1
|
* Remove contractions.carl2013-09-052-7/+7
| | | | | Approved by: jimharris Sponsored by: Intel
* Only tear down interface and transport if they've been successfully setup.carl2013-09-051-6/+11
| | | | | Approved by: jimharris Sponsored by: Intel
* Workaround an issue with hardware by accessing remote device through memcarl2013-09-052-60/+104
| | | | | | | window. Approved by: jimharris Sponsored by: Intel
* Simplify register access macros by removing one level of indirection.carl2013-09-051-66/+58
| | | | | Approved by: jimharris Sponsored by: Intel
* Cleaning up spacing and making hex value case consistent.carl2013-09-051-11/+11
| | | | | Approved by: jimharris Sponsored by: Intel
* Implement workaround for IvyTown 4K BAR size issue.carl2013-09-052-0/+37
| | | | | Approved by: jimharris Sponsored by: Intel
* Simplifying bus alloc resource call since we only need the default values.carl2013-09-051-5/+4
| | | | | Approved by: jimharris Sponsored by: Intel
* Add support for per device features and workarounds.carl2013-09-051-7/+19
| | | | | Approved by: jimharris Sponsored by: Intel
* Align stacks of kernel threads correctly at 16-byte boundaries rather thannwhitehorn2013-09-052-0/+2
| | | | | | | | | | 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). This commit from FreeBSD/powerpc64 with a clang-built kernel. MFC after: 2 weeks
* Restructure the PCI bar initialization code in anticipation of upcomingcarl2013-09-051-53/+93
| | | | | | | bug fixes. Approved by: jimharris Sponsored by: Intel
* Fix name change from ntb_transport to if_ntb. A few places werecarl2013-09-051-4/+4
| | | | | | | overlooked. Approved by: jimharris Sponsored by: Intel
* Fix a typo.carl2013-09-051-1/+1
| | | | | Approved by: jimharris Sponsored by: Intel
* Throw a bit to enable the link to come up on Xeon.carl2013-09-051-0/+4
| | | | | Approved by: jimharris Sponsored by: Intel
* Add some logging to ntb link up.carl2013-09-053-1/+21
| | | | | Approved by: jimharris Sponsored by: Intel
* Style clean-ups.hrs2013-09-051-54/+48
| | | | Reviewed by: md5
* Enable "late" option when a file= option is specified in /etc/fstab.hrs2013-09-051-4/+11
| | | | | | The file= option requires rw mount where the backing store exists but it does not work because rc.d/swap runs before rc.d/fsck. Reported by: wblock
* watch: Do not mess up the tty modes on early error.jilles2013-09-051-1/+2
| | | | | | | | | | Record the initial state earlier, so it is always safe to restore it. One way this happens is if watch(8) is started by a user that does not have access to /dev/snp. The result is "staircase effect" during later commands. PR: bin/153052 MFC after: 1 week
* Fixing a small typo.hiren2013-09-051-1/+1
| | | | | Reviewed by: gjb Approved by: sbruno (mentor)
* Minor printf nit to keep out cleansbruno2013-09-051-1/+1
|
* Merge bmake-20130904sjg2013-09-0522-50/+189
|\
| * Tag bmake-20130904sjg2013-09-05186-0/+65926
| |
| * Import bmake-20130904sjg2013-09-0520-48/+196
| |
| * Tag bmake-20130730sjg2013-08-02185-0/+65778
| |
| * Import bmake-20130730 - allows folk to supress job tokens.sjg2013-08-0223-165/+365
| |
| * Tag bmake-20130604sjg2013-06-05185-0/+65578
| |
| * Import bmake-20130604sjg2013-06-055-22/+42
| |
* | Use LIST_FOREACH_SAFE() instead of doing it by hand.jhb2013-09-051-7/+5
| |
* | Use an unsigned long when indexing into mfchashtbl[] and mf6ctable[]. Thisjhb2013-09-052-6/+6
| | | | | | | | | | | | | | | | | | matches the types used when computing hash indices and the type of the maximum size of mfchashtbl[]. PR: kern/181821 Submitted by: Sven-Thorsten Dietrich <sven@vyatta.com> (IPv4) MFC after: 1 week
* | Fix build.glebius2013-09-051-0/+1
| |
* | Fix build.glebius2013-09-051-0/+1
| | | | | | | | counter.h requires systm.h
* | The vm_pageout_flush() functions sbusies pages in the passed pageskib2013-09-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | run. After that, the pager put method is called, usually translated to VOP_WRITE(). For the filesystems which use buffer cache, bufwrite() sbusies the buffer pages again, waiting for the xbusy state to drain. The later is done in vfs_drain_busy_pages(), which is called with the buffer pages already sbusied (by vm_pageout_flush()). Since vfs_drain_busy_pages() can only wait for one page at the time, and during the wait, the object lock is dropped, previous pages in the buffer must be protected from other threads busying them. Up to the moment, it was done by xbusying the pages, that is incompatible with the sbusy state in the new implementation of busy. Switch to sbusy. Reported and tested by: pho Sponsored by: The FreeBSD Foundation
* | The vm_page_trysbusy() should not fail when shared busy counter orkib2013-09-051-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VPB_BIT_WAITERS flag were changed between reading of busy_lock and the cas. The vm_page_sbusy(), which is the only user of vm_page_trysbusy() in the tree, panics on the failure, which in these cases is transient and do not mean that the current page state prevents sbusying. Retry the operation inside vm_page_trysbusy() if cas failed, only return a failure when VPB_BIT_SHARED is cleared. Reported and tested by: pho Reviewed by: attilio Sponsored by: The FreeBSD Foundation
* | authpf needs /var/authpf to exist and be writable by group authpf.des2013-09-051-0/+2
| |
* | Correct two comments.hselasky2013-09-051-2/+2
| |
* | The fget() function now takes pointer to cap_rights_t, so change 0 to NULL.pjd2013-09-051-1/+1
| |
* | Handle cases where capability rights are not provided.pjd2013-09-056-22/+42
| | | | | | | | Reported by: kib
* | Fix !CAPABILITIES build.glebius2013-09-051-0/+2
| |
* | Add support for DLINK DWA-127 Wireless Adapterbr2013-09-052-0/+2
| | | | | | | | Approved by: cognet (mentor)
* | Remove stub implementation.ae2013-09-051-11/+0
| | | | | | | | MFC after: 1 week
* | Correct the logic broken in my last commit.pjd2013-09-051-1/+1
| | | | | | | | Reported by: tijl
OpenPOWER on IntegriCloud