summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r261173jhibbits2014-03-021-0/+1
| | | | MPC74xx should not fall through, to the error case.
* MFC r261068jhibbits2014-03-012-2/+2
| | | | | | | Properly sort the arguments to mtx_init(9). PR: misc/186020 Submitted by: alfred
* MFH r261319,261345,261742 mdoc changes to stable/10uqs2014-03-015-74/+184
|
* Revert r262648 to stop severe tinderbox spamming on stable@.tijl2014-03-013-3/+10
|
* MFC r261302:brooks2014-03-011-3/+3
| | | | | | | | The -B flag is intended to take an argument. Fix a couple typos in comments. Sponsored by: DARPA, AFRL
* MFC r261301 (notional merge):brooks2014-03-011-157/+166
| | | | | | | | Regenerate for WITHOUT_FMTREE and WITHOUT_NCURSESW Large churn in comments due to regeneration with makeman script. Sponsored by: DARPA, AFRL
* MFC r261299:brooks2014-03-014-1/+14
| | | | | | | | | | | Merge from CheriBSD: commit 2d581e8caf79d7a0f5a24590eccd06da90cccb74 Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Mon Jan 27 22:57:51 2014 +0000 Add WITHOUT_FMTREE to disable building fmtree. Sponsored by: DARPA, AFRL
* MFC: r260889, r260890, r260911:imp2014-03-0118-42/+466
| | | | | | | | | | | | | | | | | r260911 | imp | 2014-01-20 10:45:36 -0700 (Mon, 20 Jan 2014) | 5 lines Don't lock in the generic grab just to lock again in the specific grabs. r260890 | imp | 2014-01-19 12:39:13 -0700 (Sun, 19 Jan 2014) | 11 lines Introduce grab and ungrab upcalls. When the kernel desires to grab the console, it calls the grab functions. These functions should turn off the RX interrupts, and any others that interfere. This makes mountroot prompt work again. If there's more generalized need other than prompting, many of these routines should be expanded to do those new things. Reviewed by: bde (with reservations)
* MFC: 261298brooks2014-03-013-10/+3
| | | | | | | | | | | | Merge from CheriBSD: commit 70b8f0c127db6b80411789d237b403cc64a93573 Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Mon Jan 27 22:53:57 2014 +0000 Move mtree.5 to usr.sbin/nmtree. Remove note that mtree 2.0 format files aren't supported. Sponsored by: DARPA, AFRL
* MFC r261300:brooks2014-03-011-0/+4
| | | | | | Add a missing options file. Sponsored by: DARPA, AFRL
* MFC r261296:brooks2014-03-0110-15/+84
| | | | | | | | | | | | | Merge from CheriBSD: commit c1acf022c533c5ae27e0cd556977eafe3f5959eb Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Fri Jan 17 21:46:44 2014 +0000 Add an option WITHOUT_NCURSESW to suppress building and linking to libncursesw. While wide character support it useful we'd like to only need one ncurses library on embedded systems. Sponsored by: DARPA, AFRL
* MFC r262472:dim2014-02-281-1/+1
| | | | | | | Make sure a for loop in fire_alloc_msix() terminates, by making the loop counter signed. Reviewed by: marius
* MFC r262471:dim2014-02-281-1/+1
| | | | | | | | | In sys/sparc64/sparc64/spitfire.c, prevent signed shift overflow by casting to the appropriate type. (Note this fix cannot be done in sys/sparc64/sparc64/spitfire.c, since that file is also included by assembly source files.) Reviewed by: marius
* MFC r262465:kevlo2014-02-282-3/+11
| | | | | | | | Add a flag to run's device list which uses a standard scsi eject. The flag indicates that the mcu doesn't need to load firmware. Tested by: Alex Deiter <alex dot deiter at gmail.com>, myself Tested on: ASUS USB-N66
* MFC: r262296brueffer2014-02-281-3/+3
| | | | | | | Match the correct variable to the variable description. PR: 121173 Submitted by: Thomas Mueller <tmueller at sysgo.com>
* MFC: r261884brueffer2014-02-283-3/+3
| | | | | | | Correct the order of arguments to mtx_init(). PR: 186701 Submitted by: Takanori Sawada <tak.swd at gmail.com>
* MFC r257472hiren2014-02-271-3/+15
| | | | | Rate limit (to once per minute) "Listen queue overflow" message in sonewconn().
* MFH (r261511, r261542): add an example to the man pagedes2014-02-271-1/+7
|
* MFH (r261320): upgrade openssh to 6.5p1des2014-02-27207-4442/+13558
| | | | MFH (r261340): enable sandboxing by default
* MFC r262346:pfg2014-02-272-6/+14
| | | | | | | | | | | | | | | | | ext2fs: fully enable ext4 read-only support. The ext4 developers tend to tag Ext4-specific flags as "incompatible" even when such features are not relevant for read-only support. This is a consequence of the process though which this filesystem is implemented without design and the fact that some new features are not extensible to ext2/3. Organize the features according to what we support and sort them so that we can now read-only mount filesystems with some features that may be found in newly formatted ext4 fs. Submitted by: Zheng Liu
* MFH (r260904): fix format stringdes2014-02-273-134/+69
| | | | | MFH (r261230, r261263): fix buffering issues MFH (r261284): bump copyright
* MFH (r261233): fix whitespace and bump copyrightdes2014-02-272-7/+8
| | | | MFH (r261234): increase buffer size
* MFH (r256875): start rtsold if necessarydes2014-02-272-0/+7
| | | | MFH (r256878): add a reload command
* MFH (r256768): don't report an error for no-op add / removedes2014-02-271-2/+2
|
* MFC r262277:davidxu2014-02-271-7/+5
| | | | | | | | | | | | | | | | | | malloc_aligned() may not leave enough space for pointer to allocated memory, saving the pointer will overwrite bytes belongs to another memory block unexpectly, to fix the problem, use (allocated address + sizeof(void *)) as initial value, and slip to next aligned address, so maximum extra bytes is sizeof(void *) + align - 1. Tested by: Andre Albsmeier < mail at ma17 dot ata dot myota dot orgndre > MFC r262334: Increase alignment to size of pointer if the alignment is too small. Some modules do not align data at least to size of pointer, they uses a smaller alignment, but our pointer should be aligned to its native boundary, otherwise on some platforms, hardware alignment checking will cause bus error.
* MFC r262451:eadler2014-02-271-0/+3
| | | | hier(7): Add /usr/lib/private
* MFC r261577:yongari2014-02-261-3/+0
| | | | | Revert r234666. Clearing TWSI IRQ seems to cause watchdog timeout on old Yukon II controllers.
* MFC: r261773brueffer2014-02-251-0/+1
| | | | | | | | | | In acline_init(), initialize ac_line to SRC_UNKNOWN. Previously this could lead to the -n option effectively being ignored (in case ac_line happened to be 0 aka SRC_AC), or other undefined behaviour. PR: 169779 Submitted by: Alex Gonzalez <loox at e-shell.com> Reviewed by: jhb
* MFC r262467: sh: Add -h option to SYNOPSISdaichi2014-02-251-3/+3
| | | | Reviewed by: jilles
* MFC r262310:dim2014-02-242-9/+6
| | | | | | | Move the part in bsd.own.mk that sets -Wno-c++11-extensions for clang to bsd.sys.mk, where it really belongs. This also causes the flag to get added when clang is *not* the default system compiler, but is still used, e.g. by setting WITH_CLANG_IS_CC manually.
* MFC r262309:mjg2014-02-241-2/+2
| | | | | | | | Fix a race between kern_proc_{o,}filedesc_out and fdescfree leading to use-after-free. fdescfree proceeds to free file pointers once fd_refcnt reaches 0, but kern_proc_{o,}filedesc_out only checked for hold count.
* MFC r262125:dim2014-02-241-0/+7
| | | | | | | | | In sys/dev/usb/controller/uss820dci.c, similar to r261977, fix a warning about uss820dci_odevd being unused, by adding it to the part that handles getting descriptors. Reported by: loos Reviewed by: hselasky
* MFC r261774 by feld:eadler2014-02-241-0/+6
| | | | | | | | | | Add caveat to zpool manpage indicating that we do not automatically activate hot spares. This should be MFC'd to all STABLE branches. Upon the availability of zfsd, the zpool manpage on relevant branches should be updated to remove this caveat and document hot spare's reliance on zfsd. Requested by: feld
* MFC r262142:rodrigc2014-02-241-0/+4
| | | | | | | | | | In ue_attach_post_task(), initialize curvnet to vnet0 before calling if_attach(). Before this patch, curvnet was NULL. When the VIMAGE kernel option is enabled, this eliminates kernel panics when USB ethernet devices are plugged in. PR: 183835 Submitted by: Hiroo Oono <hiroo.ono at gmail dot com>
* MFC: r262136brueffer2014-02-2455-275/+55
| | | | | | | Remove the 3rd clause ("advertising clause") of the BSD license as permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp
* MFC: r262135brueffer2014-02-244-0/+8
| | | | Add $FreeBSD$.
* MFC: r261531marius2014-02-232-7/+30
| | | | | | | | | - Implement the RX EARLYOFF and RXDV GATED bits as done by RealTek's Linux driver as iof version 8.037.00 for RTL8168{E-VL,EP,F,G,GU} and RTL8411B. This makes reception of packets work with the RTL8168G (HW rev. 0x4c000000) in my Shuttle DS47. - Consistently use RL_MSI_MESSAGES. In joint forces with: yongari
* MFC: r261529marius2014-02-231-12/+3
| | | | Try to make the style used here consistent.
* MFC: r261549brueffer2014-02-232-0/+99
| | | | | | Add a manpage for the urndis driver. Obtained from: OpenBSD
* MFC r261934:bdrewery2014-02-231-55/+135
| | | | | | Rework rctl(8) manpage Approved by: bapt (mentor, implicit)
* MFC r261931,r261932:bdrewery2014-02-233-3/+27
| | | | | | Allow overriding rctl.conf(5) file location for /etc/rc.d/rctl Approved by: bapt (mentor, implicit)
* MFC r261872:hselasky2014-02-232-1/+3
| | | | | Fix minor logical error in the XHCI driver. Set correct SETUP packet direction value.
* MFC r261827:hselasky2014-02-231-271/+44
| | | | | | | - Remove not needed definitions from driver. - Get USB input report length from HID descriptor. - Use 1 finger TAP for devices which has no integrated button. - Move data buffer to softc instead of allocating it.
* MFC r261981:hselasky2014-02-231-0/+2
| | | | | | Add new PCI ID for hardware which needs port routing for USB 3.0. PR: usb/186811
* MFC r261541, r261543 and r261544:hselasky2014-02-237-1/+1358
| | | | | | | | | | | Import USB RNDIS driver to FreeBSD from OpenBSD. Useful for so-called USB tethering. - Imported code from OpenBSD - Adapted code to FreeBSD - Removed some unused functions - Fixed some buffer encoding and decoding issues - Optimised data transport path a bit, by sending multiple packets at a time - Increased receive buffer to 16K
* MFC r261795:hselasky2014-02-231-8/+54
| | | | | | | Issue doorbell twice before finally freeing the DMA descriptors. This should fix DMA descriptor caching issues seen with the EHCI controller found in Google Chromebook C720 during removal and insertion of USB devices.
* MFC: r262243brueffer2014-02-231-1/+3
| | | | Fix a cross-reference.
* MFC 259542:jhb2014-02-234-149/+62
| | | | | | Use vmcs_read() and vmcs_write() in preference to vmread() and vmwrite() respectively. The vmcs_xxx() functions provide inline error checking of all accesses to the VMCS.
* MFC 258859,259081,259085,259205,259213,259275,259482,259537,259702,259779:jhb2014-02-2324-369/+1040
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several changes to the local APIC support in bhyve: - Rename 'vm_interrupt_hostcpu()' to 'vcpu_notify_event()'. - If a vcpu disables its local apic and then executes a 'HLT' then spin down the vcpu and destroy its thread context. Also modify the 'HLT' processing to ignore pending interrupts in the IRR if interrupts have been disabled by the guest. The interrupt cannot be injected into the guest in any case so resuming it is futile. - Use callout(9) to drive the vlapic timer instead of clocking it on each VM exit. - When the guest is bringing up the APs in the x2APIC mode a write to the ICR register will now trigger a return to userspace with an exitcode of VM_EXITCODE_SPINUP_AP. - Change the vlapic timer lock to be a spinlock because the vlapic can be accessed from within a critical section (vm run loop) when guest is using x2apic mode. - Fix the vlapic version register. - Add a command to bhyvectl to inject an NMI on a specific vcpu. - Add an API to deliver message signalled interrupts to vcpus. This allows callers to treat the MSI 'addr' and 'data' fields as opaque and also lets bhyve implement multiple destination modes: physical, flat and clustered. - Rename the ambiguously named 'vm_setup_msi()' and 'vm_setup_msix()' to 'vm_setup_pptdev_msi()' and 'vm_setup_pptdev_msix()' respectively. - Consolidate the virtual apic initialization in a single function: vlapic_reset() - Add a generic routine to trigger an LVT interrupt that supports both fixed and NMI delivery modes. - Add an ioctl and bhyvectl command to trigger local interrupts inside a guest. In particular, a global NMI similar to that raised by SERR# or PERR# can be simulated by asserting LINT1 on all vCPUs. - Extend the LVT table in the vCPU local APIC to support CMCI. - Flesh out the local APIC error reporting a bit to cache errors and report them via ESR when ESR is written to. Add support for asserting the error LVT when an error occurs. Raise illegal vector errors when attempting to signal an invalid vector for an interrupt or when sending an IPI. - Export table entries in the MADT and MP Table advertising the stock x86 config of LINT0 set to ExtInt and LINT1 wired to NMI.
* MFC 257297:jhb2014-02-227-9/+0
| | | | Remove unnecessary includes of <machine/pmap.h>
OpenPOWER on IntegriCloud