| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Try to make the style used here consistent.
|
|
|
|
|
|
| |
Add a manpage for the urndis driver.
Obtained from: OpenBSD
|
|
|
|
|
|
| |
Rework rctl(8) manpage
Approved by: bapt (mentor, implicit)
|
|
|
|
|
|
| |
Allow overriding rctl.conf(5) file location for /etc/rc.d/rctl
Approved by: bapt (mentor, implicit)
|
|
|
|
|
| |
Fix minor logical error in the XHCI driver. Set correct SETUP packet
direction value.
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
| |
Add new PCI ID for hardware which needs port routing for USB 3.0.
PR: usb/186811
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fix a cross-reference.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Remove unnecessary includes of <machine/pmap.h>
|
|
|
|
| |
speedups and quality of life fixes.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Make CTL block backend return proper error code for operations unsupposed
by the underlying device.
|
|
|
|
| |
Use the right index to free swapspace after vm_page_rename().
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
rlimit: add and utilize lim_shared
rlimit: avoid unnecessary copying of rlimits
If refcount is 1 just modify rlimits in place.
|
|
|
|
| |
Plug a memory leak in dup2 when both old and new fd have ioctl caps.
|
|
|
|
|
|
|
| |
Drop packets to multicast address whose scop field contains the
reserved value 0.
Sponsored by: Yandex LLC
|
|
|
|
| |
build with high -j concurrency.
|
|
|
|
| |
svn-1.8.4, 1.8.5, 1.8.8 and self-contained private support libraries
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Add support for SIIG x1 pci-e single parallel port card (JJ-E01211-S1)
PR: kern/182217
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
Expose OBJT_MGTDEVICE VM objects used for GEM/TTM with drm2 as an
explicit object type.
|
|
|
|
|
| |
Mark the I/O ports used by the bhyve console and debug devices as system
resources.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
In sys/dev/xen/console/console.c, #if 0 an unused static function.
|
|
|
|
| |
In sys/fs/nandfs/nandfs_vfsops.c, #if 0 an unused static function.
|
|
|
|
|
| |
Under sys/netpfil/ipfw, surround two IPv6-specific static functions with
#ifdef INET6, since they are unused when INET6 is disabled.
|
|
|
|
|
| |
Convert the license on files where I am the sole copyright holder to
2 clause BSD licenses.
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
| |
In dmu_zfetch_stream_reclaim() replace division with multiplication and
move it out of the loop and lock.
|
| |
|
|
|
|
|
| |
(enhanced VALE switch, netmap pipes, emulated netmap mode).
See details in the log for svn 261909.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Remove obsolete vnode(9) man page references.
|
|
|
|
|
| |
Move constants for indices in the local APIC's local vector table from
apicvar.h to apicreg.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
In cxgbe, conditionalize the t4_pgprot_wc() function, since it is only
used when DOT5 is defined.
Reviewed by: np
|
|
|
|
| |
Disable warning about unused static const variables for sys/pci/ncr.c.
|