summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* For BERI on NetFPGA assume HZ=100 by default.bz2014-03-222-1/+13
| | | | | | | | | Remove the uart support in favour of a "jtag-uart" interface imitation providing a much simpler interface, directly exported to the host, allowing the toolchain to be shared with BERI on Altera. [1] Submitted by: Jong Hun HAN (jong.han cl.cam.ac.uk) [1] MFC after: 2 weeks
* Implement __flt_rounds for ARMv6 hard-float. The fpscr register stores theandrew2014-03-221-10/+14
| | | | current rounding mode used by the VFP unit.
* Update comment to explain search order reverted to historical ordermckusick2014-03-221-10/+11
| | | | | | | in -r254996. Suggested by: Pedro Giffuni <pfg@FreeBSD.org> MFC: 3 days
* Rename global cnt to vm_cnt to avoid shadowing.bdrewery2014-03-2255-194/+199
| | | | | | | | | | | | | | To reduce the diff struct pcu.cnt field was not renamed, so PCPU_OP(cnt.field) is still used. pc_cnt and pcpu are also used in kvm(3) and vmstat(8). The goal was to not affect externally used KPI. Bump __FreeBSD_version_ in case some out-of-tree module/code relies on the the global cnt variable. Exp-run revealed no ports using it directly. No objection from: arch@ Sponsored by: EMC / Isilon Storage Division
* Pull in r201662 from upstream clang trunk:andrew2014-03-222-3/+21
| | | | | | Add FreeBSD ARM EABI hard-float support Patch by Andrew Turner.
* Also set the AR5212 HAL power mode tracking in the right spot.adrian2014-03-221-1/+3
| | | | | | Tested: * D-Link DWL-G650 NIC (AR2413), STA mode
* Mark the following sysctls as MPSAFE:mjg2014-03-211-5/+7
| | | | | | | | kern.file kern.proc.filedesc kern.proc.ofiledesc MFC after: 7 days
* Add change forgotten in r263475. Make dmaplimit accessible outsidekib2014-03-212-1/+2
| | | | | | | amd64/pmap.c. Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Fix breakage in ipfw+VIMAGE after r261590.glebius2014-03-211-14/+6
| | | | | PR: kern/187665 Sponsored by: Nginx, Inc.
* nv(3) was not in 10.0.bdrewery2014-03-211-2/+2
| | | | | | | It might be MFC'd to stable/10 for 10.1, but for now update the manual to avoid confusion on its availability. Discussed with: pjd
* Fix two issues with /dev/mem access on amd64, both causing kernel pagekib2014-03-215-12/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | faults. First, for accesses to direct map region should check for the limit by which direct map is instantiated. Second, for accesses to the kernel map, success returned from the kernacc(9) does not guarantee that consequent attempt to read or write to the checked address succeed, since other thread might invalidate the address meantime. Add a new thread private flag TDP_DEVMEMIO, which instructs vm_fault() to return error when fault happens on the MAP_ENTRY_NOFAULT entry, instead of panicing. The trap handler would then see a page fault from access, and recover in normal way, making /dev/mem access safer. Remove GIANT_REQUIRED from the amd64 memrw(), since it is not needed and having Giant locked does not solve issues for amd64. Note that at least the second issue exists on other architectures, and requires similar patching for md code. Reported and tested by: clusteradm (gjb, sbruno) Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Initialize vm_map_entry member wiring_thread on the map entry creation.kib2014-03-211-0/+1
| | | | | | | | | This was missed in r253190. Reported by: hps, peter Tested by: hps Sponsored by: The FreeBSD Foundation MFC after: 3 days
* When loader(8) inspects MBR, it chooses GPT as main partition table,ae2014-03-211-8/+5
| | | | | | | | | | | | when MBR contains only PMBR entry or it is bootcamp-compatible. If MBR has PMBR entry and some other, the loader rejects it. Make these checks to be less strict. If loader decided that PMBR isn't suitable for GPT, it will use MBR. Reported by: Paul Thornton Tested by: Paul Thornton MFC after: 1 week
* Mask out SRR1 bits that aren't exported to the MSR.jhibbits2014-03-211-1/+3
| | | | | | | | | | This appears to fix a strange condition with X on 32-bit PowerBooks I observed, caused by one of these bits getting set in the mcontext, but not set in the thread, which may be a symptom of another problem, more difficult to diagnose. Since these bits aren't exported anyway, this change makes it more explicit that the bits aren't MSR-related in SRR1. MFC after: 3 weeks
* Revert r263449;pfg2014-03-211-18/+2
| | | | | | | | | ext2fs: minor update to the dirpref policy. The change in UFS r254996, reverted the change as the older code seems to work better. This was not visible in local testing but we can trust UFS is vastly more exercised in diferent environments.
* Take filedesc lock only for reading when allocating new fdtable.mjg2014-03-211-2/+2
| | | | | | Code populating the table does this already. MFC after: 1 week
* MFV 263436-263438:delphij2014-03-213-13/+49
| | | | | | | | | | | | | | 3947 zpool(1M) references nonexistent zfs-features(5) 4540 zpool(1M) man page doesn't describe "readonly" property 3948 zfs sync=default is not accepted 4611 zfs(1M) still mentions 'send -r' in synopsis 4415 zpool(1M) man page missing "import -m" description 4570 Document dedupditto pool property 4572 Dedup-related documentation additions for zpool and zdb. 1371 Add -D option description to zpool(1M) manpage 4571 Add documentation for -T and interval to "zpool list" MFC after: 2 weeks
* audit: plug FILEDESC_LOCK leak in audit_canon_path.mjg2014-03-211-0/+1
| | | | MFC after: 3 days
* cxgbe(4): Recognize the "spider" configuration where a T5 card's 40Gnp2014-03-211-0/+1
| | | | | | QSFP port is presented as 4 distinct 10G SFP+ ports to the driver. MFC after: 2 weeks
* Throw the flush messages behind ATH_DEBUG_RESET as well.adrian2014-03-201-6/+6
| | | | | | | | | | | | | | | | These are needed to diagnose TX hangs that I and hiren are seeing. Without it, the only way we'll see debugging is by having ATH_DEBUG_SW_TX enabled and that is going to be very, very spammy. ATH_DEBUG_RESET is fine; it's only going to be done during stuck beacon situations in AP mode. Whilst I'm here, and now that it's behind debugging, let's just disable the "print only one" conditional. I'll eventually make it more tunable. Tested: * AR9220, hostap mode.
* sh: Don't overwrite old exit status if a PID is reused.jilles2014-03-201-1/+2
| | | | | | | | | Only store exit status for a process if that process has not terminated yet. Test (slow): exit 7 & p1=$!; until exit 8 & p2=$!; [ "$p1" = "$p2" ]; do wait "$p2"; done; sleep 0.1; wait %1; echo $? should write "7".
* cxgbe(4): man page updates.np2014-03-201-13/+48
|
* ext2fs: minor update to the dirpref policy.pfg2014-03-201-2/+18
| | | | | | | | | | Bring in a minor change to the dirpref policy based on r248623. This is pretty minimal change to keep the implementation in sync with UFS but other parts from the original change are not directly applicable so don't expect improvements in fsck times. MFC after: 2 weeks
* Update hwpmc to support core events for Atom Silvermont microarchitecture.hiren2014-03-208-38/+763
| | | | | | | (Model 0x4D as per Intel document 330061-001 01/2014) Tested by: Olivier Cochard-Labbe <olivier@cochatrd.me> MFC after: 4 weeks
* Add several ATF tests that deal with multiple fibs. They're described inasomers2014-03-208-0/+612
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several different PRs, but the tests share some common code, so I'm committing them together. sbin/ifconfig/tests sbin/ifconfig/tests/fibs_test.sh sbin/ifconfig/tests/Makefile sbin/ifconfig/Makefile Add fibs_test.sh, which regresses bin/187551 tests/sys/netinet tests/sys/netinet/fibs_test.sh tests/sys/netinet/udp_dontroute.c tests/sys/netinet/Makefile tests/sys/Makefile Add fibs_test.sh, which regresses kern/167947, kern/187552 kern/187549, kern/187550, and kern/187553 etc/mtree/BSD.tests.dist Add newly created directories PR: bin/187551 PR: kern/167947 PR: kern/187552 PR: kern/187549 PR: kern/187550 PR: kern/187553 Discussed with: melifaro MFC after: 3 weeks Sponsored by: Spectra Logic Corporation
* msdosfs: minor format fix - spaces vs tabpfg2014-03-201-1/+1
| | | | MFC after: 3 days
* Add new CPUTYPEs supported by Clang 3.4, i.e., AMD Steamroller (bdver3) andjkim2014-03-202-6/+8
| | | | Intel Silvermont (slm) processors.
* - Update commit template to include 'Relnotes:' tag, togjb2014-03-201-0/+3
| | | | | | | | | | help re@ track release notes candidates. Discussed with: re Reviewed by: peter MFC after: 3 days X-MFC-To: stable/10 only Sponsored by: The FreeBSD Foundation
* Use 'cpuset_t' to represent the vcpus active in a virtual machine.neel2014-03-203-20/+16
|
* Rename mct and ehci drivers files to match common naming.br2014-03-203-4/+4
|
* Remove printf's.br2014-03-201-6/+0
|
* Fix kern/187712: config(8) does not respect KERNCONFDIR.asomers2014-03-205-2/+39
| | | | | | | | | | | | | | | | | | | | | | | The impact of this bug is that you cannot build a kernel if both of the following are true: 1) The kernel config file is in a non-default location 2) The kernel config file uses the "include" statement from config(5). usr.sbin/config/main.c usr.sbin/config/config.8 usr.sbin/config/config.h usr.sbin/config/lang.l Added a "-I path" option to config(8). By analogy to cc(1), it adds an extra path in which the "include" statement will search for files. Makefile.inc1 Pass "-I ${KERNCONFDIR}" to config(8). PR: kern/187712 Reviewed by: will, imp (previous version) MFC after: 3 weeks Sponsored by: Spectra Logic Corporation
* share/man/man7/tests.7asomers2014-03-201-49/+62
| | | | | | | | | | Added a section on test suite configuration, and cleaned up up grammar errors and awkward prose. The config variables were discussed on freebsd-testing. Discussed with: Garrett Cooper, jmmv MFC after: 2 weeks Sponsored by: Spectra Logic Corporation
* Add support for Samsung Chromebook (ARM Cortex A15 machine).br2014-03-202-0/+205
|
* Add driver for Display Controller.br2014-03-203-0/+454
|
* - Add display-related and clk devices to the treebr2014-03-202-6/+36
| | | | - Prevent resources intersection with EHCI driver
* Disable debugging by default.br2014-03-201-3/+3
|
* Try to resolve a possible deadlock when detaching USB devices whichhselasky2014-03-204-18/+92
| | | | | | | | | | | | | | create character devices. The deadlock can happen if an application is issuing IOCTLs which require USB refcounting, at the same time the USB device is detaching. There is already a counter in place in the USB device structure to detect this situation, but it was not always checked ahead of invoking functions that might destroy character devices, like detach, set configuration, set alternate interface or detach active kernel driver. Reported by: Daniel O'Connor <doconnor@gsoft.com.au> MFC after: 1 week
* Since mlaier has been inactive for a long time, grab maintainership on pf.glebius2014-03-201-1/+1
|
* Add some debugging code to print out if registers are touched whilst theadrian2014-03-201-0/+24
| | | | | | | | | | | | | | device is asleep. This doesn't avoid logging errors for things that are actually OK to access whilst the chip is asleep (eg, the RTC registers (0x7000->0x70ff on the AR5416 and later.) But, this is a pretty good indicator if things are accessed incorrectly. Tested: * AR5416, STA
* Shuffle ah_powerMode to be in a sane spot for the given power operation.adrian2014-03-201-1/+3
| | | | | | | | | | | | This way the state changes from sleep->awake before the registers are poked and from awake->sleep after the registers are poked. This way spurious warnings aren't printed by my (to be committed) debugging code. Tested: * AR5416, STA
* Don't call ath_init() inside the lock.adrian2014-03-201-2/+4
| | | | | | | | | | | | | | | | | | | | Yes, this means that sc_invalid is slightly racy, but there are other issues here which need fixing. This fixes a source of eventual LORs - ath_init() grabs ATH_LOCK to do work and releases it before it calls ieee80211_start_all(). ieee80211_start_all() will grab the net80211 comlock to iterate over the VAPs. TODO: * .. I should just migrate the ieee80211_start_all() work to a deferred task so it can be done later; it doesn't have to be immediately done. Tested: * AR5416, STA mode
* cxgbe(4): Use ifi_oqdrops in if_data to count drops in the tx path.np2014-03-201-1/+1
|
* Add a shorter alias for if_data.ifi_oqdrops.np2014-03-201-0/+1
|
* cxgbe(4): if_iqdrops statistic should include tunnel congestion drops.np2014-03-201-1/+15
| | | | MFC after: 1 week
* Mark multi_test as requiring /usr/share/dict/words.jmmv2014-03-191-0/+1
| | | | The file may not be present if MK_DICT=no. Pointed out by Casey Peel.
* Remove unused option -r from zpool.delphij2014-03-191-1/+1
| | | | | Submitted by: Richard Yao <ryao gentoo org> MFC after: 2 weeks
* Add KTR events for the PMAP interface functionsmarcel2014-03-193-61/+169
| | | | | | | | | | | | | | | | | | 1. move unmapped_buf_allowed to machdep.c. 2. map both pmap_mapbios() and pmap_mapdev() to pmap_mapdev_attr() and have the actual work done by pmap_mapdev_priv() (renamed from pmap_mapdev()). Use pmap_mapdev_priv() to map the I/O port space because we can't use CTR() that early. 3. add pmap_pinit_common() that's used by both pmap_pinit0() and pmap_pinit(). Previously pmap_pinit0() would call pmap_pinit(), but that would create 2 KTR events. While here, use pmap_t instead of "struct pmap *". 4. fix pmap_kenter() to use vm_paddr_t as the type for the physical. 5. various white-space adjustments for consistency. 6. use C99 and KNF for function definitions where appropriate. 7. slightly re-order prototypes and defines in <machine/pmap.h> No functional change (other than the creation of KTR_PMAP events).
* Remove vestiges of knowing the ISA bus, which we gave up on around 20imp2014-03-1911-269/+12
| | | | years ago. Remove redunant copy of isaregs.h.
* Revert last change, it breaks other things.imp2014-03-191-0/+1
|
OpenPOWER on IntegriCloud