summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-12Silence amdgpu_device_resize_fb_bar; supporting resizing of PCI BARs isMark Kettenis
tricky and using the pre-programmed BAR size should always work. Using bigger BARs might improve performance but it we probably need other changes (such as making the driver mpsafe) to benefit from that.
2020-06-12Make amdgpu_irq_add_domain silent; this functionality is only needed toMark Kettenis
support digital audio output which we don't support (yet) in OpenBSD.
2020-06-12Remove superflous space I added with my last commit.remi
noticed by jmc@
2020-06-12add a comment saying that name_cmp() is intentionally undocumented;Ingo Schwarze
tb@ agrees that it should not be part of the public API
2020-06-12don't warn on calls to drm_connector_attach_content_protection_property()Jonathan Gray
calling code is fine with this unimplemented function returning an error ok kettenis@
2020-06-12correct typo, this did not compile..Theo de Raadt
2020-06-12document PEM_ASN1_read(3) and PEM_ASN1_read_bio(3);Ingo Schwarze
tweaks and OK tb@
2020-06-12Do not wait on shutdown for commands started with run -b.Nicholas Marriott
2020-06-12Pay attention to the (Linux) kernel log level.Mark Kettenis
ok jsg@
2020-06-12Since we don't support CONFIG_SWIOTLB, make drm_need_swiotlb() just returnMark Kettenis
false. In theory somebody could plug an old radeon card into a machine with a ridiculous amount of memory (or a really old PCI/AGP card in a machine with >4GB of memory) but supporting that scenario just isn't worth it. ok jsg@
2020-06-12We won't support debugfs stuff on OpenBSD, at least not via a filesystemMark Kettenis
interface.
2020-06-12Make i915_perf_register silent; don't see us supporting this functionalityMark Kettenis
in the foreseeable future.
2020-06-12Revert addition of double underbars for filter-specific flag.Martin Pieuchot
Port breakages reported by naddy@
2020-06-12update usage() with -R.remi
reminded by jmc@
2020-06-12Check if a pane needs to be paused when output is written rather thanNicholas Marriott
just when it is queued.
2020-06-12move-pane also defaults to marked pane now, reported by Ben Challenor.Nicholas Marriott
2020-06-12DRM_I915_FBDEV was replaced by DRM_FBDEV_EMULATIONJonathan Gray
2020-06-12Fix quoting with newlines and single quotes.Nicholas Marriott
2020-06-12Add -R to show a summary of rdomains with associated interfaces and tables.remi
My first version also displayed the number of routes per table. But duming all routing tables to count the entries in userland is expensive. Once the kernel can export these counters the numbers can be added to the output of -R. OK benno@ previous version OK sthen@
2020-06-12remove unused mcx_softc members.David Gwynne
ok jmatthew@
2020-06-12correct RFC number; from HARUYAMA Seigo via GH PR191Damien Miller
2020-06-11wrap some long lines. no functional change.David Gwynne
2020-06-11Add some formats for search in copy mode (search_present, search_match).Nicholas Marriott
GitHub issue 2268.
2020-06-11Fix small bug in parsing the IORT tables. Mapping entries specify the numberMark Kettenis
of IDs in a range minus one. ok patrick@
2020-06-11wording tweaks from ross l richardson and tb;Jason McIntyre
ok tb
2020-06-11sort;Jason McIntyre
2020-06-11Fix a regression in rev. 1.238 (2019/07/26):Otto Moerbeek
Pass the right object to html_reset() or it will crash when rendering more than one manual page to HTML in a row. Bug reported by Abel Romero Perez <romeroperezabel at gmail dot com>. Ingo came up with the same diff and I'm borrowing his draft commit message. ok schwarze@
2020-06-11When detaching uaudio, wait for device ref counter to drop to 0Alexandre Ratchov
To maintain the correct refs count, blocking calls to uaudio are wrapped in usbd_ref_incr() and usbd_ref_decr() calls. suggested by mpi@ and ok visa@
2020-06-11Use setlocale(LC_CTYPE, "") instead of setlocale(LC_ALL, "")Todd C. Miller
This matches upstream awk and OpenBSD only implements LC_CTYPE anyway.
2020-06-11Move FRELE() outside fdplock in dup*(2) code. This avoids a potentialVisa Hankala
lock order issue with the file close path. The FRELE() can trigger the close path during dup*(2) if another thread manages to close the file descriptor simultaneously. This race is possible because the file reference is taken before the file descriptor table is locked for write access. Vitaliy Makkoveev agrees OK anton@ mpi@
2020-06-11Fix length parameter to strlcpy, inputFS is a pointer.Todd C. Miller
2020-06-11handle sg_set_page() with NULL page argumentJonathan Gray
should fix problem reported by Laurence Tratt on bugs@ tweak and ok kettenis@
2020-06-11In iwn(4), iwm(4), and iwx(4), don't set the interface's MAC address againStefan Sperling
while building a scan command for the firmware. This isn't the right place to set our address, which has already been set during driver initialization. ok mpi@ kettenis@
2020-06-11Fix a crash when completing sessions, from Anindya Mukherjee.Nicholas Marriott
2020-06-11Add a -A option to pause a pane manually.Nicholas Marriott
2020-06-11Rename poll-compatibility flag to better reflect what it is.Martin Pieuchot
While here prefix kernel-only EV flags with two underbars. Suggested by kettenis@, ok visa@
2020-06-11Make spec_kqfilter() and cttykqfilter() behave like their correspondingMartin Pieuchot
poll handler if the EV_OLDAPI flag is set. ok visa@
2020-06-11Make iwx(4) update the Tx ring byte count table.Stefan Sperling
With iwn(4) and iwm(4) this was only required for Tx aggregation, which we don't use yet in iwx(4). But it looks like iwx(4) firmware will run into fatal errors if we neglect to update this table. The Linux iwlwifi driver always updates this table so firmware could be relying on it. Tested by jcs@, sven falempin, and myself.
2020-06-11Increase iwx(4) command queue size. Otherwise the firmware sends duplicateStefan Sperling
"command done" notifications for earlier commands and then crashes. There might be an underlying issue that we still need to figure out. But as of this change the device becomes functional with -48 firmware, which is a good first step towards switching to -48 firmware eventually. Tested by jcs@, sven falempin, and myself. ok patrick@
2020-06-11Load iwx(4) firmware just once.Stefan Sperling
On iwx(4) devices there is no two-step firmware loading process with an INIT and RT image, as was the case with iwn(4) and iwm(4). Loading the image twice leaves firmware in a semi-operational state with problems such as fatal firmware errors and missing regulatory domain update notifications. Tested by jcs@, sven falempin, and myself. ok patrick@
2020-06-11Add initial support for regulatory domain updates in iwx(4).Stefan Sperling
iwx(4) devices have a hardware component (the "communications hub") that can detect which country it is running in. The firmware will then inform the driver about the auto-detected regulatory domain. For now, just print a message which shows the detected regulatory domain if 'ifconfig iwx0 debug' is enabled. It is up to the driver whether it wants to react to regulatory domain updates. Tested by jcs@, sven falempin, and myself.
2020-06-11Use the NVM_GET_INFO command in iwx(4) instead of the manual NVM dataStefan Sperling
parser inherited from iwm(4). The old parsing code is merely disabled for now and will be deleted later. Deleting the old code at the same time would result in a very untidy diff. Tested by jcs@, sven falempin, and myself.
2020-06-11whitespace and speeling fix in a comment. no functional change.David Gwynne
2020-06-11make taskq_barrier wait for pending tasks, not just the running tasks.David Gwynne
I wrote taskq_barrier with the behaviour described in the manpage: taskq_barrier() guarantees that any task that was running on the tq taskq when the barrier was called has finished by the time the barrier returns. Note that it talks about the currently running task, not pending tasks. It just so happens that the original implementation just used task_add to put a condvar on the list and waited for it to run. Because task_add uses TAILQ_INSERT_TAIL, you ended up waiting for all pending to work to run too, not just the currently running task. The new implementation took advantage of already holding the lock and used TAILQ_INSERT_HEAD to put the barrier work at the front of the queue so it would run next, which is closer to the stated behaviour. Using the tail insert here restores the previous accidental behaviour. jsg@ points out the following: > The linux functions like flush_workqueue() we use this for in drm want > to wait on all scheduled work not just currently running. > > ie a comment from one of the linux functions: > > /** > * flush_workqueue - ensure that any scheduled work has run to completion. > * @wq: workqueue to flush > * > * This function sleeps until all work items which were queued on entry > * have finished execution, but it is not livelocked by new incoming ones. > */ > > our implementation of this in drm is > > void > flush_workqueue(struct workqueue_struct *wq) > { > if (cold) > return; > > taskq_barrier((struct taskq *)wq); > } I don't think it's worth complicating the taskq API, so I'm just going to make taskq_barrier wait for pending work too. tested by tb@ ok jsg@
2020-06-11syncTheo de Raadt
2020-06-11Make use of hardware crypto for CCMP. The tricky bits had been lyingJonathan Matthew
dormant in the driver for years, we just needed to insert the IV before transmission and do packet number checks on received frames. tested by kevlo@ solene@ benno@ and me on a variety of hardware ok kevlo@ stsp@
2020-06-11escodec(4)Patrick Wildt
2020-06-11simpleamp(4) and simpleaudio(4)Patrick Wildt
2020-06-11rkiis(4)Patrick Wildt
2020-06-11Add RK3399 audio clocks.Patrick Wildt
ok kettenis@