summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2019-10-16Move sxidog(4) such that we can use it on arm64.kettenis2-1/+179
ok patrick@
2019-10-16Add a few newer _OSI strings to the parser.mlarkin1-1/+7
Early in the release cycle is the right time to do this. "yes please" jcs@. ok deraadt@
2019-10-16regenmlarkin2-2/+2
2019-10-16Fix a bunch of lines that had whitespace at the endmlarkin1-22/+22
2019-10-16Fix a bunch of lines that had whitespace at the endmlarkin1-7/+7
2019-10-16Remove trailing whitespace from a linemlarkin1-2/+2
2019-10-16Fix reversed gotos; CID 1453190.daniel1-3/+3
ok jmatthew@
2019-10-15Fix compiler's view of the alignment of xhci structs. Because the structvisa1-6/+6
fields are naturally aligned, it is enough to remove __packed. This lets the compiler generate saner machine code. In particular, now the compiler does not use lwl/lwr and swl/swr instructions on mips64 for changing xhci descriptors. The descriptors are properly aligned in memory, so lwl/lwr and swl/swr end up doing a redundant load or store. Feedback from guenther@ deraadt@ Tested on amd64 by krw@ OK mpi@ krw@ kettenis@
2019-10-14Convert tsleep(9) to tsleep_nsec(9).mpi2-4/+4
ok visa@, kn@
2019-10-14Add another quirk for the ALC285 on the X1C7 to avoid a clickingjcs2-4/+14
noise on the headphone output From Linux
2019-10-14Rename AZ_QRK_WID_SPKR2_DAC and AZ_QRK_WID_DOLBY_ATMOS to make itjcs3-10/+10
clear they are not widget quirks, and renumber AZ_QRK_WID_SPKR2_DAC to fall outside of AZ_QRK_WID_MASK since it's not handled by azalia_codec_widget_quirks
2019-10-13Convert all tsleep(9) calls to tsleep_nsec(9) in wsdisplay(4).fcambus1-4/+5
OK ratchov@, visa@
2019-10-13Fix whitespace issue spotted by Krystian Lewandowski.kettenis1-2/+2
2019-10-13Add display brightness hooks.kettenis1-1/+10
ok matthieu@, deraadt@, patrick@
2019-10-13Move ws_get_param/ws_set_param into wsdisplay code.kettenis7-25/+21
ok deraadt@, jsg@
2019-10-13drm/radeon: Bail earlier when radeon.cik_/si_support=0 is passedjsg2-25/+31
From Hans de Goede 1b155b4fe8b4b581d70221642be63c9fc6da4f6e in linux 4.19.y/4.19.79 9dbc88d013b79c62bd845cb9e7c0256e660967c5 in mainline linux
2019-10-13drm/amdgpu: Check for valid number of registers to readjsg1-0/+3
From Trek 1c70ae6a91f9a17280476dd8675e4ce60f32eb0b in linux 4.19.y/4.19.79 73d8e6c7b841d9bf298c8928f228fb433676635c in mainline linux
2019-10-13drm/amdgpu: Fix KFD-related kernel oops on Hawaiijsg1-1/+2
From Felix Kuehling e0af3b19ad77b4a2c53ef05c1c11e2f58462d59c in linux 4.19.y/4.19.79 dcafbd50f2e4d5cc964aae409fb5691b743fba23 in mainline linux
2019-10-12Print version number.kettenis1-3/+4
ok patrick@
2019-10-12Fix a use-after-free memory access in iwm's interrupt handler.stsp1-14/+14
Testing tb, florian, solene, mortimer, pamela, jmatthew, Tracey Emery, myself ok mortimer@ deraadt@
2019-10-10Only set the IPv4 address in umb(4) if both MBIM_IPCONF_HAS_ADDRINFO andclaudio1-6/+5
MBIM_IPCONF_HAS_GWINFO are available. Configuring umb(4) without gateway wont work the system needs a destination address for the interface. Problem found by jsg@. OK jsg@ deraadt@
2019-10-10Make reading past the end of an AML array not a panic.mlarkin1-8/+4
Several machines have broken AML which reads past the end the end of an array. Previously this was an aml_die/panic. acpica just warns on such accesses, so this diff makes us do the same. ok kettenis, jcs, deraadt
2019-10-10Remove trailing whitespacemlarkin1-2/+2
2019-10-09Restore BSS channel only when BSS was not changed in iee80211_input().tobhe1-9/+14
Synced from iwm(4). ok patrick@
2019-10-09Restore BSS channel only when BSS was not changed in iee80211_intputm().tobhe1-4/+14
Synced from iwm(4). ok stsp@ patrick@
2019-10-08Convert tsleep(9) to tsleep_nsec(9).mpi1-5/+6
ok visa@, kn@, cheloha@
2019-10-08drm/amdgpu/si: fix ASIC testsjsg1-3/+3
From Jean Delvare 39b6d05169b2730a26887be7aff3680d44cf694c in linux 4.19.y/4.19.78 77efe48a729588527afb4d5811b9e0acb29f5e51 in mainline linux
2019-10-08drm/amd/display: support spdifjsg2-11/+10
From Charlene Liu 4dcbca872a841385de3fb6319bee928c19dacb26 in linux 4.19.y/4.19.78 b5a41620bb88efb9fb31a4fa5e652e3d5bead7d4 in mainline linux
2019-10-08drm/amd/display: reprogram VM config when system resumejsg1-0/+8
From Lewis Huang 782a77f2eb39207589ef9175a2ceadd0cca12112 in linux 4.19.y/4.19.78 e5382701c3520b3ed66169a6e4aa6ce5df8c56e0 in mainline linux
2019-10-08drm/amd/display: fix issue where 252-255 values are clippedjsg1-1/+2
From Anthony Koo 24ba84ec00166e00f44735da6589d2508e60a561 in linux 4.19.y/4.19.78 1cbcfc975164f397b449efb17f59d81a703090db in mainline linux
2019-10-08gpu: drm: radeon: Fix a possible null-pointer dereference in radeon_connector_set_property()jsg1-1/+1
From Jia-Ju Bai 0936c46139cb9c4f9f2b1737a4e84d26af852fd8 in linux 4.19.y/4.19.78 f3eb9b8f67bc28783eddc142ad805ebdc53d6339 in mainline linux
2019-10-08drm/radeon: Fix EEH during kexecjsg1-0/+8
From KyleMahlkuch 6e03bca91f8e99a2039659812efb113cae566459 in linux 4.19.y/4.19.78 6f7fe9a93e6c09bf988c5059403f5f88e17e21e6 in mainline linux
2019-10-07Add moxtet(4), a driver for the Turris Mox modules. For now thispatrick2-2/+182
driver only enumerates and shows the connected modules. The next step is to implement GPIO controller functionality to e.g. control the pins to the SFP on the MOX D. ok kettenis@
2019-10-07Add mvspi(4), a driver for the SPI controller on thepatrick2-2/+316
Armada 3700 SoC. ok kettenis@
2019-10-07Add SPI clocks.patrick1-1/+9
ok kettenis@
2019-10-07Add amliic(4), a driver for the I2C controller found on Amlogic SoCs.kettenis2-1/+280
ok patrick@
2019-10-07Attach Hyper-V guest services to VMBus 4.0mikeb1-0/+1
Tested by Andre Stoebe and Remi Locherer. ok deraadt, tb
2019-10-07Convert infinite tsleep(9) to tsleep_nsec(9).mpi1-5/+5
ok ratchov@
2019-10-07Restart the send queue (rather than just clearing OACTIVE) when we'vejmatthew2-8/+18
freed up some space on the tx ring. This fixes stalls seen in tcpbench. ok dlg@ patrick@ kettenis@
2019-10-06Use MSEC_TO_NSEC() to define XHCI_CMD_TIMEOUT & use it w/ tsleep_nsec(9).mpi2-6/+5
ok visa@, kn@
2019-10-06tsleep(9) to tsleep_nsec(9) conversionmpi1-2/+2
ok visa@, kn@
2019-10-06tsleep(9) to tsleep_nsec(9) conversions.mpi4-13/+13
ok visa@, kn@, cheloha@
2019-10-06Fix vn_open to require an op of 0, and 0 or KERNELPATH only as flags.beck2-4/+4
sweep tree to correct NDIINT op and flags ahead of time. document the requirement. This allows KERNELPATH to be used to bypass unveil for crash dumps with nosuidcoredump=2 or 3 ok visa@ deraadt@ florian@
2019-10-06Add support for i2c clock.kettenis1-1/+35
2019-10-06Add support for i2c pins.kettenis1-10/+97
2019-10-06Fix month mask.kettenis1-2/+2
ok deraadt@, patrick@
2019-10-06drm/amd/display: Restore backlight brightness after system resumejsg1-0/+1
From Kai-Heng Feng 2c60da90ec4467adec602e1b81b3ca256f581031 in linux 4.19.y/4.19.77 bb264220d9316f6bd7c1fd84b8da398c93912931 in mainline linux
2019-10-06drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)jsg1-0/+5
From Ahzo d47636913bda8255652805eb29b9638e6d9311c1 in linux 4.19.y/4.19.77 f659bb6dae58c113805f92822e4c16ddd3156b79 in mainline linux
2019-10-06add BL_CORE_SUSPENDRESUME definejsg1-0/+3
needed for next round of 4.19 patches
2019-10-05fix build errors of aac(4)jan2-9/+4