summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2018-08-20Add Broadcom BCM4371.Patrick Wildt
ok kettenis@
2018-08-20Enable I2C clocks in imxiic(4).Patrick Wildt
2018-08-20Add the i.MX8MQ eCSPI clocks.Patrick Wildt
2018-08-20Reorder checks in the read/write(2) family of syscalls to prepare makingMartin Pieuchot
file operations mp-safe. This change makes it clear that `f_offset' is only accessed in vn_read() and vn_write(), which will help taking it out of the KERNEL_LOCK(). This refactoring uncovered a race in vn_read() which is now documented and will be addressed in a later diff. ok visa@
2018-08-20Make fnew() return a new file with only one reference. This makesVisa Hankala
the API more logical. OK kettenis@ mpi@
2018-08-20drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #defineJonathan Gray
From Kristian H. Kristensen 771dacea92cd1b6107615aede467bdf62ef8907c in linux 4.4.y/4.4.91 af913418261d6d3e7a29f06cf35f04610ead667c in mainline linux
2018-08-20Cached tests moved from callers into ttm_io_prot() with linux 3.18Jonathan Gray
which was partly missed when the 4.4 ttm changes went in. Prompted by a patch from kettenis@
2018-08-20drm: Add DP PSR2 sink enable bitJonathan Gray
From Jose Roberto de Souza 5a3d1d67b3548e9dc1572c87527fa35b309feb0b in linux 4.4.y/4.4.146 4f212e40468650e220c1770876c7f25b8e0c1ff5 in mainline linux
2018-08-20drm/atomic: Handling the case when setting old crtc for planeJonathan Gray
From Satendra Singh Thakur f1a64c117f1363f17cfc7e5bd410ec6222031501 in linux 4.4.y/4.4.146 fc2a69f3903dfd97cd47f593e642b47918c949df in mainline linux
2018-08-20drm/radeon: fix mode_valid's return typeJonathan Gray
From Luc Van Oostenryck 1f5e33948005cd1b720fd58717bb971109432875 in linux 4.4.y/4.4.146 7a47f20eb1fb8fa8d7a8fe3a4fd8c721f04c2174 in mainline linux
2018-08-19Add kcov(4), a kernel code coverage tracing driver. It's used in conjunctionanton
with the syzkaller kernel fuzzer. So far, 8 distinct panics have been found and fixed. This effort will continue. kcov is limited to architectures using Clang as their default compiler and is not enabled by default. With help from mpi@, thanks! ok kettenis@ mpi@ visa@
2018-08-19Add support for multiple PCI segments. Only really implemented for arm64Mark Kettenis
for now as amd64/i386 firmware still caters for legacy OSes that only support a single PCI segment. ok patrick@
2018-08-17The official name for the ssdfb(4) reset GPIO attribute uses plural form.Patrick Wildt
2018-08-17Support reading and using serveral device tree attributes for ssdfb(4),Patrick Wildt
since some OLED display controller settings can change depending on the actual hardware integration.
2018-08-15Partially revert previous, EM7455 is already handled by umb(4).Martin Pieuchot
Reported by Bryan Vyhmeister.
2018-08-15Grab the KERNEL_LOCK() in MP-unsafe fo_close routines. This preventsVisa Hankala
a scenario where MP-unsafe code gets run without the kernel lock as a consequence of an unlocked system call. OK mpi@, kettenis@
2018-08-15Introduce mue_eeprom_present to check if the EEPROM is present.Kevin Lo
When the EEPROM is not populated, set the MAC config register MUE_MAC_CR_AUTO_SPEED. While there, encode the MAC address for the onboard USB Ethernet for the Rasperry Pi, like smsc(4) does.
2018-08-14return ENOTTY rather than EINVAL to indicate an ioctl hasn't been handledJonathan Matthew
ok dlg@ deraadt@ kettenis@
2018-08-13Instead of using BYPASSUNVEIL at NDINIT time, use KERNELPATH to indicateTheo de Raadt
we want to skip all userland-related checks. Discussed with beck and semarie, tested by stsp.
2018-08-13Support CPU frequency scaling on NXP i.MX8M.Patrick Wildt
ok kettenis@
2018-08-13Support GPIO-based voltage regulators.Patrick Wildt
ok kettenis@
2018-08-13Prevent iwm(4) from writing back the former BSS channelStefan Sperling
if the current BSS has been changed by ieee80211_input(). Needed for upcoming band-steering support in net80211. ok phessler@ mpi@
2018-08-13Attach to Sierra Wireless MC7304/MC7354 & EM7455, from Denis Lapshin.Martin Pieuchot
2018-08-13regenMartin Pieuchot
2018-08-13Sierra Wireless MC7304/MC7354, from Denis Lapshin.Martin Pieuchot
2018-08-12Drop reference to dmabuf "file" as fnew() returns one that has twoMark Kettenis
references. ok visa@, deraadt@
2018-08-12Really overwrite the major of com(4) instead of the hardcoded 12.Mark Kettenis
Should have been part of the earlier commit that unified armv7 and arm64.
2018-08-11Match "ARMH0011".Mark Kettenis
2018-08-09Hook up the rasops text emulation functions so we only write outPatrick Wildt
the characters that changed, and only when they change. This replaces writing out the whole framebuffer every 100ms with a partial update mechanism. Now the system stays responsive and does not slow down anymore due to the periodic update.
2018-08-09Implement out-of-band interrupt support in the bwfm(4) SDIO backend.Patrick Wildt
2018-08-09Make imxesdhc(4) pass per-function cookies to the SD/MMC bus.Patrick Wildt
ok kettenis@
2018-08-09Allow passing per-function cookies through the SD/MMC bus to SDIOPatrick Wildt
devices. This allows SDIO device drivers to read information from the ACPI or FDT tables. ok kettenis@
2018-08-09Correct the bitmask that returns the function count. We missed a bitPatrick Wildt
and thus only supported 4 functions instead of 8. ok kettenis@
2018-08-09regenMark Kettenis
2018-08-09ASMedia ASM1184e PCIe switch.Mark Kettenis
2018-08-08Fix possible division by zero caused by bogus usb descriptors. FromAlexandre Ratchov
Michael W. Bombardieri. Thanks.
2018-08-08Implement IRQ masking and unmasking in imxgpio(4).Patrick Wildt
2018-08-08regenKevin Lo
2018-08-08Fix Realtek product name from RT8188 to RTL8188CEKevin Lo
ok stsp@
2018-08-06Give the FDT interrupt API a more generic naming by replacing thePatrick Wildt
arm_intr_* prefix with fdt_intr_*. ok kettenis@
2018-08-05ifconfig ioctl's that bring interfaces up the first time may issueTheo de Raadt
firmware loads. The namei operations are being performed are on behalf of the kernel not process, so use BYPASSUNVEIL. spotted by sthen, ok beck
2018-08-05Fix typo that caused us to misassign parents.Mark Kettenis
ok patrick@
2018-08-05Decouple unveil from the pledge flags, by adding dedicated unveil flagsBob Beck
to the namei args. This fixes a bug where chmod would be allowed when with only READ. This also allows some further cleanup of some awkward things like PLEDGE_STAT that will follow Lots of assistence from semarie@ - thanks! ok semarie@
2018-08-04Implement a few missing RK3288 clocks and implement resets.Mark Kettenis
2018-08-04avoid using a value uninitialisedJonathan Gray
ok kevlo@
2018-08-03Pass PCIe requester ID as sideband data here as well.Mark Kettenis
2018-08-03Let ahci(4) match on _CLS instead of _HID when attaching at acpi(4). AvoidsMark Kettenis
having to add many more _HID entries to the match table. ok deraadt@, mlarkin@
2018-08-03Implement setting the CPU clock for Allwinner H3/H5 SoCs.Mark Kettenis
2018-08-03Also attach as a regulator if the FDT provides the fixed voltage value.Mark Kettenis
Restore fixed voltage at reboot time to prevent hangs after a warm reset if DVFS is active.
2018-08-03Implement DVFS support.Mark Kettenis
ok patrick@