summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a pre-merge script which reverts mechanical changes such as addeddes2014-03-2433-63/+132
| | | | | | | | | | | | $FreeBSD$ tags and man page dates. Add a post-merge script which reapplies these changes. Run both scripts to normalize the existing code base. As a result, many files which should have had $FreeBSD$ tags but didn't now have them. Partly rewrite the upgrade instructions and remove the now outdated list of tricks.
* change defaule permissions on /dev/devstat. while i'm here removeemax2014-03-241-2/+4
| | | | | | | | D_NEEDGIANT flag Submitted by: jhb Reviewed by: jhb, scottl, rwatson, delphij, phk MFC after: 1 week
* Add missing LIBM to DPADD from r263650bdrewery2014-03-241-1/+1
| | | | Reported by: jilles
* Move an else case that was missed in r263676andrew2014-03-241-25/+25
|
* lldb: Invoke PT_KILL from ProcessPosix::DoDestroyemaste2014-03-241-4/+2
| | | | | | | | | | | | | | | | | | | We previously sent SIGKILL to the debuggee in DoDestroy, but did not actually detach or kill via ptrace. It seems that this somehow didn't matter on Linux, but did on FreeBSD. This would happen when quitting LLDB while stopped at a breakpoint, for example. The debuggee remained stopped in ptrace (with the signal either pending or lost). After a timeout of a second or two LLDB exits, which caused the debuggee to resume and dump core from an unhandled SIGTRAP. BringProcessIntoLimbo is a poorly named wrapper for ptrace(PT_KILL) which is the desired behaviour from DoDestroy. http://llvm.org/pr18894 Sponsored by: DARPA, AFRL
* Reorder the pmap macros so "ARM_MMU_V6 + ARM_MMU_V7" is first. As they areandrew2014-03-231-41/+42
| | | | identical this allows us to build for both v6 and v7 together.
* For the moment also disable interrupts on the altera-jtag-uart imitationbz2014-03-231-0/+2
| | | | and force polling mode.
* Add the llvm/clang patch for r263619.andrew2014-03-231-0/+81
|
* Add a new ARM TARGET_ARCH, armv6hf. This is considered experimental.andrew2014-03-2317-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | This targets the existing ARMv6 and ARMv7 SoCs that contain a VFP unit. This is an optional coprocessors may not be present in all devices, however it appears to be in all current SoCs we support. armv6hf targets the VFP variant of the ARM EABI and our copy of gcc is too old to support this. Because of this there are a number of WITH/WITHOUT options that are unsupported and must be left as the default value. The options and their required value are: * WITH_ARM_EABI * WITHOUT_GCC * WITHOUT_GNUCXX In addition, without an external toolchain, the following need to be left as their default: * WITH_CLANG * WITH_CLANG_IS_CC As there is a different method of passing float and double values to functions the ABI is incompatible with existing armv6 binaries. To use this a full rebuild of world is required. Because no floating point values are passed into the kernel an armv6 kernel with VFP enabled will work with an armv6hf userland and vice versa.
* Remove unneeded fake _KERNEL definition.glebius2014-03-231-2/+0
|
* Don't lose track of the KTR entries copied from 'ktr_buf_init[]' to theneel2014-03-221-1/+3
| | | | | | | dynamically allocated 'ktr_buf[]'. The memcpy arranges 'ktr_buf[]' such that the latest KTR entry is at 'KTR_BOOT_ENTRIES - 1'.
* Fix build with libucl 20140321bdrewery2014-03-221-1/+1
|
* sfxge: limit software Tx queue size.glebius2014-03-222-8/+9
| | | | | | | | | Previous implementation limits put queue size only (when Tx lock can't be acquired), but get queue may grow unboundedly which results in mbuf pools exhaustion and latency growth. Submitted by: Andrew Rybchenko <Andrew.Rybchenko at oktetlabs.ru> Sponsored by: Solarflare Communications, Inc.
* Update to 20140321bapt2014-03-2285-488/+5498
|\ | | | | | | | | | | This brings schema validation MFC after: 1 week
| * Update 20140302bapt2014-03-2284-488/+5497
| | | | | | | | In particular this brings schema validation support.
* | Create a root dataset so that /root is outside of the boot environment.bdrewery2014-03-221-0/+2
| | | | | | | | | | Discussed with: dteske on sysinstall@ MFC after: 1 month
* | Simplify how we build MACHINE_ARCH. There are 3 options that may be setandrew2014-03-221-9/+15
| | | | | | | | however only arm, armeb, armv6, and soon armv6hf will be used.
* | 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
OpenPOWER on IntegriCloud