| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Merge from CheriBSD (2e28d2a3090239b30481f35dc452ad95a5c57389):
Remove initalized, but unused devname variable
Sponsored by: DARPA, AFRL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
drm: fix usage of vm_phys_fictitious_to_vm_page
vm_phys_fictitious_to_vm_page should not be called directly, even when
operating on a range that has been registered using
vm_phys_fictitious_reg_range. PHYS_TO_VM_PAGE should be used instead
because on arches that use VM_PHYSSEG_DENSE the page might come
directly from vm_page_array.
Reported by: nwhitehorn
Tested by: nwhitehorn, David Mackay <davidm.jx8p@gmail.com>
Sponsored by: Citrix Systems R&D
|
|
|
|
| |
Use default memory type for TTM buffer objects that may be cached.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Port the TTM AGP backend to the FreeBSD agp driver and enable AGP support
in the radeonkms driver.
Note: In PCI mode virtual addresses on the graphics card that map to system
RAM are translated to physical addresses by the graphics card itself. In
AGP mode address translation is done by the AGP chipset so fictitious
addresses appear on the system bus. For the CPU cache management to work
correctly when the CPU accesses this memory it needs to use the same
fictitious addresses (and let the chipset translate them) instead of using
the physical addresses directly.
Reviewed by: kib
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add two new functions to the AGP driver KPI to bind/unbind arbitrary sets
of pages into the GTT.
- Avoid possible overflow in agp_generic_alloc_memory.
- In agp(4) avoid the need to flush all cpu caches with wbinvd between
updating the GTT and flushing the AGP TLB by storing the GTT in
write-combining memory.
- In agp_amd_bind_page don't flush the AGP TLB. It's done by the calling
function.
- agp_generic_unbind_memory: flush AGP TLB before unwiring pages
agp_bind_pages: assert that pages have been wired down
|
|
|
|
|
|
|
|
|
| |
Don't use the synchronization endpoint unless referenced by the
isochronous endpoint descriptor used for the data transfers, hence the
synchronization feature might not be supposed to be supported [yet].
This makes seamless playback synced with the USB HOST clock work with
the DN32-USB module for Midas audio systems and possibly other similar
products from Klark Teknik.
|
|
|
|
|
|
|
|
|
| |
Enable LRO by default when available on vtnet interfaces
The prior change to not enable LRO by default has confused several
people. The configurations where LRO is problematic is not the
typical use case for VirtIO, and due to other issues, this often
requires checksum offloading to be disabled anyways.
|
|
|
|
| |
Add VirtIO console driver.
|
|
|
|
| |
Reduce boot verbosity.
|
|
|
|
| |
cxgbe(4): figure out the max payload size and save it for later.
|
|
|
|
|
|
|
|
|
|
| |
Therefore, to set histry size to 2000 lines, add the following line to
your kernel configuration file:
options SC_HISTORY_SIZE=2000
The default history remains at 500 lines.
MFC of: r274117
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default, vt(4) gets the "preferred mode" from DRM, when using a DRM
video driver as its backend. The preferred mode is usually the native
screen resolution.
Now, if this mode isn't appropriate, a user can use loader tunables to
select a mode. The tunables are read in the following order:
1. kern.vt.fb.modes.$connector_name
2. kern.vt.fb.default_mode
For example, to set a 1024x768 mode, no matter the connector:
kern.vt.fb.default_mode="1024x768"
To set a 800x600 mode only on the laptop builtin screen:
kern.vt.fb.modes.LVDS-1="800x600"
Beside r274031, this MFC includes:
r274049:
drm: When reading connector mode tunables, list connectors
... and their associated tunables. This gives a way to know the list of
available connectors, no matter the driver.
The problem is that xrandr(1) can list connectors but it uses a
different naming.
r274050:
vt(4): Document kern.vt.fb.default_mode and kern.vt.fb.modes.*
Those tunables are used to set a specific mode in vt(4) instead of using
the default mode.
Differential Revision: https://reviews.freebsd.org/D1098
Reviewed by: ak@, emaste@, kwm@
r274051:
vt(4): Improve the description of kern.vt.fb.modes.$connector
Differential Revision: https://reviews.freebsd.org/D1098
Submitted by: emaste@
r274053:
vt(4): Start new sentences on their own lines
Submitted by: brueffer@
MFC of: r274031, r274049, r274050, r274051, r274053
|
|
|
|
|
|
|
|
|
| |
Like in r259717, the prority goes from "error" to "debug" to avoid
spamming logs when the connectors are polled.
PR: 194770
Submitted by: Larry Rosenman <ler@lerctr.org>
MFC of: r273962, r274587
|
|
|
|
|
|
|
|
|
|
| |
The problem was that only the kbdmux keyboard index was saved in
vd->vd_keyboard. This index is -1 when kbdmux isn't used. In this
case, the keyboard was correctly allocated, but the returned index was
discarded.
PR: 194718
MFC of: r273973
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A new terminal_set_cursor() is added: it wraps the existing
teken_set_cursor() function.
In vtbuf_grow(), the cursor position is adjusted at the end of the
function. In vt_change_font(), we call terminal_set_cursor() just after
terminal_set_winsize_blank(), while the terminal is mute.
This fixes a bug where, after loading a kernel video driver which
increases the terminal window size, the cursor remains at its old
position, in other words, in the middle of the display content.
PR: 194421
MFC of: r273932
|
|
|
|
| |
Add new USB IDs.
|
|
|
|
| |
Initial attachment of the agp(4) to Haswell IGP.
|
|
|
|
| |
Attach agp_i810 to non-VGA display class.
|
|
|
|
| |
On 965 and higher, map GTT as write-combining.
|
|
|
|
| |
cxgbe(4): adjust PMRX and PMTX parameters.
|
|
|
|
|
|
|
|
|
| |
When removing an iSCSI session, check whether all conditions match,
not if any of them matches. This fixes "iscsictl -Rn" removing
unrelated sessions.
PR: 194034
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Whitespace nit.
|
|
|
|
|
|
|
|
|
| |
cxgbe(4): bump up PF4's share of some global resources.
This increases the size of the per-port RSS slice and also allows the
driver to use a larger number of tx and rx queues.
S2curity:
|
|
|
|
| |
cxgb(4): reset the PHY if it generates an interrupt for no apparent reason.
|
|
|
|
| |
cxgbe(4): explicitly set various if_hw_tso* values.
|
|
|
|
|
| |
Update isp_tgt_map and send new arrival notification if target that departed
earlier has returned. Previously that code worked only once, confusing CTL.
|
|
|
|
|
| |
The MFC was pushed early as it fixes a panic in the
exiting driver of 10.1 that Intel discovered in validation.
|
|
|
|
|
|
| |
Use pmc_destroy_pmc_descriptor() to actually free the pmc, which is
consistent with pmc_destroy_owner_descriptor(). Also be sure to destroy
PMCs if a process exits or execs without explicitly releasing them.
|
|
|
|
|
|
|
|
|
| |
Improve transmit sending offload, TSO, algorithm in general. This
change allows all HCAs from Mellanox Technologies to function properly
when TSO is enabled. See r271946 and r272595 for more details about
this commit.
Sponsored by: Mellanox Technologies
|
|
|
|
|
| |
Add a method to iicbus to request IIC_M_NOSTOP behaviour for multibyte
transfers to be default.
|
|
|
|
| |
Userland HPET support.
|
|
|
|
|
|
|
| |
puc(4): add an entry for the Oxford Semiconductor OXPCIe952 1S1P
card.
Submitted by: Alex Burlyga <alex.burlyga.ietf at gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To restore the default font using vidcontrol(1), use the "-f" flag
without an argument:
vidcontrol -f < /dev/ttyv0
PR: 193910
Differential Revision: https://reviews.freebsd.org/D971
Submitted by: Marcin Cieslak <saper@saper.info>
Reviewed by: ray@, emaste@
Approved by: ray@
MFC of: r273544
|
|
|
|
|
| |
Unbreak build of RSU module.
Use the real product name for Edimax rsu(4) id.
|
|
|
|
| |
Add more USB IDs.
|
|
|
|
|
|
|
|
| |
- Add a second Huawei SCSI eject command as USB mode switch config files
sometimes use one or the other. Maybe newer Huawei modems switched.
- Return USB_ERR_INVAL if the eject method is not known.
PR: 145319
|
|
|
|
| |
Remove device type from the uftdi_devs table, enhance the jtag-skip feature.
|
|
|
|
|
|
|
|
| |
Remove unused defines.
Fix some device_printf's that were missing '\n' at the end or had
spelling errors.
PR: 145319
|
|
|
|
| |
Add USB LED driver for the Dream Cheeky WebMail Notifier.
|
|
|
|
|
|
|
|
|
|
| |
The SYSCTL data pointers can come from userspace and must not be
directly accessed. Although this will work on some platforms, it can
throw an exception if the pointer is invalid and then panic the kernel.
Add a missing SYSCTL_IN() of "SCTP_BASE_STATS" structure.
Sponsored by: Mellanox Technologies
|
|
|
|
|
|
|
| |
It seems multicast filtering of RTL8168F does not work. Workaround
the silicon bug by accepting any multicast packets.
PR: 193488
|
|
|
|
|
|
|
| |
- De-vnet hash sizes and hash masks.
- Fix multiple issues related to arguments passed to SYSCTL macros.
Sponsored by: Mellanox Technologies
|
|
|
|
|
| |
Add support for disabling USB enumeration or USB port power
in general or on selected USB HUBs.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Return the actual baud rate programmed in the hardware rather than 115200.
This allows the "3wire" entry in /etc/ttys (with no speed specified) to work.
Use the FIFOs in the imx5/imx6 uart hardware instead of interrupting on
each byte sent or received.
|
|
|
|
|
|
|
|
|
| |
Replace multiple nearly-identical copies of code to walk through an FDT
node's interrupts=<...> property creating resource list entries with a
single common implementation. This change makes ofw_bus_intr_to_rl() the
one true copy of that code and removes the copies of it from other places.
This also adds handling of the interrupts-extended property.
|
|
|
|
|
| |
Create an interface and support routines for drivers that handle IO pin
multiplexing and configuration based on FDT data.
|
|
|
|
|
| |
Create an interface for drivers to enable or disable their clocks as listed
in the clocks=<...> properties of their FDT data.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create a mechanism for looking up a device_t associated with an ofw/fdt
xref handle, and for registering that association. Also use the same data
for faster translations between node and xref handles.
Add OF_xref_from_device() so that there's no need to have an intermediate
call to ofw_bus_get_node() to lookup info that's already in the xreflist.
When registering an association between a device and an xref phandle, create
an entry in the xref list if one doesn't already exist for the given handle.
|