summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* MFC r262324: serf 1.3.4 - improve SSL handling with svn-1.8.8 and otherpeter2014-02-2223-229/+632
| | | | speedups and quality of life fixes.
* MFC r261620: MFV r261619:delphij2014-02-221-2/+3
| | | | | | | | | 4574 get_clones_stat does not call zap_count in non-debug kernel zap_count(...) is never called in non-DEBUG kernel. As result "count" variable is always 0, and "goto fail" is always reached. This means get_clones_stat function never makes up list of clones for "clones" properties.
* MFC r261618:delphij2014-02-221-0/+1
| | | | | | | | | | | | | In g_eli_crypto_hmac_init(), zero out after using the ipad buffer, k_ipad. Note that the two consumers in geli(4) are not affected by this issue because the way the code is constructed and as such, we believe there is no security impact with or without this change with geli(4)'s usage. Reported by: Serge van den Boom <serge vdboom.org> Reviewed by: pjd
* MFC r261538:mav2014-02-211-2/+6
| | | | | Make CTL block backend return proper error code for operations unsupposed by the underlying device.
* MFC r261867:attilio2014-02-211-2/+4
| | | | Use the right index to free swapspace after vm_page_rename().
* MFC: r261900brueffer2014-02-211-0/+5
| | | | | | | | | In chat_UpdateSet(), initialize the input buffer to prevent stale data from previous timed out commands. PR: 186530 Submitted by: Alexander Zagrebin <alexz at visp.ru> Reviewed by: brian
* MFC: r261885brueffer2014-02-211-0/+2
| | | | | | | | | In sgetpwnam(), save and free pw_class like all other char members of struct passwd. This fixes spurious "login_getclass: unknown class" errors. PR: 186439 Submitted by: UEMURA Tetsuya <t_uemura at macome.co.jp>
* MFC r259330,r259331:mjg2014-02-201-7/+27
| | | | | | | | rlimit: add and utilize lim_shared rlimit: avoid unnecessary copying of rlimits If refcount is 1 just modify rlimits in place.
* MFC r260233:mjg2014-02-201-0/+1
| | | | Plug a memory leak in dup2 when both old and new fd have ioctl caps.
* MFC r261835:ae2014-02-201-1/+12
| | | | | | | Drop packets to multicast address whose scop field contains the reserved value 0. Sponsored by: Yandex LLC
* MFC r262253: hack to prevent concurrent runs of asn1_compile in the Heimdalpeter2014-02-204-0/+14
| | | | build with high -j concurrency.
* MFC r257129,257936,258084,258569,258602,262250,262251peter2014-02-20123-1352/+2448
| | | | svn-1.8.4, 1.8.5, 1.8.8 and self-contained private support libraries
* MFC: r261858brueffer2014-02-201-1/+1
| | | | | | | | | Fix a bug in be_uuid_dec(); it called le16dec() instead of be16dec(), probably due to copy+pasting le_uuid_dec(). PR: 146588 Submitted by: Erwin Rol <erwin at erwinrol.com> Reviewed by: marcel
* MFC r257883:eadler2014-02-191-0/+1
| | | | | | Add support for SIIG x1 pci-e single parallel port card (JJ-E01211-S1) PR: kern/182217
* MFC 261512,261514:jhb2014-02-191-35/+27
| | | | | | | - Partially revert r52493 and change client side interval statistics to report the actual number of RPCs issued, not the theoretical number that would be issued if all caching was disabled. - Use the DELTA() macro to tidy the server-side interval stats code a bit.
* MFC 261780:jhb2014-02-194-1/+11
| | | | | Expose OBJT_MGTDEVICE VM objects used for GEM/TTM with drm2 as an explicit object type.
* MFC 261607:jhb2014-02-192-0/+6
| | | | | Mark the I/O ports used by the bhyve console and debug devices as system resources.
* MFC 261524,261526,261527:jhb2014-02-192-16/+35
| | | | | | | | | | | | | | | - Properly set the alignment flags when allocating the initial range for a BAR. This only really matters when pci_do_realloc_bars is enabled and the initial allocation of a specific range fails. - Simplify pci_reserve_map() by calling resource_list_reserve() to allocate the resource after creating a resource list entry rather than reimplementing it by hand. - Add two tunables to ignore certain firmware-assigned resources. These are mostly useful for debugging. - hw.pci.clear_bars ignores all firmware-assigned ranges for BARs when set. - hw.pci.clear_pcib ignores all firmware-assigned ranges for PCI-PCI bridge I/O windows when set.
* allow building without INETluigi2014-02-191-0/+8
|
* MFC r261977:dim2014-02-191-0/+7
| | | | | | | In sys/dev/usb/controller/musb_otg.c, fix a warning about musbotg_odevd being unused, by adding it to the part that handles getting descriptors. Reviewed by: hselasky
* MFC r261916:dim2014-02-191-0/+2
| | | | In sys/dev/xen/console/console.c, #if 0 an unused static function.
* MFC r261914:dim2014-02-191-0/+2
| | | | In sys/fs/nandfs/nandfs_vfsops.c, #if 0 an unused static function.
* MFC r261915:dim2014-02-192-0/+4
| | | | | Under sys/netpfil/ipfw, surround two IPv6-specific static functions with #ifdef INET6, since they are unused when INET6 is disabled.
* MFC 261517,261520:jhb2014-02-1822-71/+19
| | | | | Convert the license on files where I am the sole copyright holder to 2 clause BSD licenses.
* MFC 261518:jhb2014-02-181-14/+23
| | | | | | | | - Update a few places to account for va_copy(). - Create a separate 'return values' section and move some statements about return values to that section. - Note that each invocation of va_start() and va_copy() must be paired with va_end() in the same function.
* MFC r259052: Expose spa_asize_inflationavg2014-02-181-0/+3
|
* MFC r260236:mav2014-02-181-1/+3
| | | | | In dmu_zfetch_stream_reclaim() replace division with multiplication and move it out of the loop and lock.
* missing files from previous commit...luigi2014-02-188-0/+5144
|
* MFH: sync the netmap code with the one in HEADluigi2014-02-1827-6234/+7174
| | | | | (enhanced VALE switch, netmap pipes, emulated netmap mode). See details in the log for svn 261909.
* MFC r261895:wblock2014-02-181-19/+3
| | | | | | Remove mention of minimum password length and upper/lower case checking, patch supplied by Allan Jude <freebsd@allanjude.com>. Add xref to pam_passwdqc(8), where that testing is now done.
* MFC r261800:wblock2014-02-181-8/+5
| | | | Remove obsolete vnode(9) man page references.
* MFC 259140:jhb2014-02-186-49/+42
| | | | | Move constants for indices in the local APIC's local vector table from apicvar.h to apicreg.h.
* MFC r258036:markj2014-02-179-4/+1404
| | | | | | | | | | | | | | | Add IDs for the ASIX 88179 and 88178A USB to GigE adapters. MFC r258331: Import the axge(4) driver for the ASIX AX88178A and AX88179 USB Ethernet adapters. Both devices support Gigabit Ethernet and USB 2.0, and the AX88179 supports USB 3.0. MFC r258617 (by lwhsu): Also note to add xhci(4) to kernel configuration to utilize USB 3.0 MFC r258618 (by lwhsu): Mention axge(4)
* MFC 260926:jhb2014-02-176-18/+249
| | | | | | | | | | | Add support for displaying VPD for PCI devices via pciconf. - Store the length of each read-only VPD value since not all values are guaranteed to be ASCII values (though most are). - Add a new pciio ioctl to fetch VPD for a single PCI device. The values are returned as a list of variable length records, one for the device name and each keyword. - Add a new -V flag to pciconf's list mode which displays VPD data for each device.
* MFC r261907:dim2014-02-171-0/+2
| | | | | | | In cxgbe, conditionalize the t4_pgprot_wc() function, since it is only used when DOT5 is defined. Reviewed by: np
* MFC r261903:dim2014-02-171-1/+2
| | | | Disable warning about unused static const variables for sys/pci/ncr.c.
OpenPOWER on IntegriCloud