| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-02-24 | drm: Eliminate __HAVE_ATOMIC_AS_MEMBAR conditionals. | riastradh | |
| Discussed on tech-kern: https://mail-index.netbsd.org/tech-kern/2023/02/23/msg028729.html | |||
| 2022-04-09 | linux: Convert various API shims to use membar_release/acquire. | riastradh | |
| 2021-12-31 | drm: Convert noisy flush_workqueue message to dtrace probe. | riastradh | |
| 2021-12-27 | linux: Fix copypasto in comment. | riastradh | |
| 2021-12-19 | drm: Sprinkle miscellaneous includes. | riastradh | |
| 2021-12-19 | linux: Fix rcu_barrier so it actually waits for everything. | riastradh | |
| 2021-12-19 | linux: Rate-limit RCU GC thread as a cheap experiment. | riastradh | |
| 2021-12-19 | linux: Downgrade warning about flushing from workqueue to debug. | riastradh | |
| 2021-12-19 | linux: Make flush_workqueue a noop if run from the workqueue. | riastradh | |
| I think this matches Linux semantics but this is very much not clear and not written down anywhere obvious and why is this such a semantically incoherent mess. | |||
| 2021-12-19 | linux: Fix flush_workqueue. | riastradh | |
| Simplify mechanism: we know there's only a single thread here that processes scheduled work in FIFO order (no multi-CPU workqueues -- would have to adapt if there were), so just schedule a work item that notifies of completion. The previous mechanism of counting 0, 1, or 2 generation numbers was broken by an earlier change to avoid abuse of tailqs arising from clever TAILQ_CONCAT. | |||
| 2021-12-19 | linux: Update workqueue flush to reflect TAILQ_CONCAT change. | riastradh | |
| 2021-12-19 | linux: Use kmem directly for Linux kmalloc. | riastradh | |
| Take advantage of this to do LOCKDEBUG_MEM_CHECK at the point of kfree_rcu rather than in the RCU GC thread. | |||
| 2021-12-19 | linux: Use indirection for percpu simpleq. | riastradh | |
| Simpleq requires pointers into the head to work, but percpu(9) may move objects around, so we have to allocate the simpleq head separately with kmem(9). | |||
| 2021-12-19 | Make intel_psr.c build | riastradh | |
| netbsd-ify Stub out intel_lpe_audio.c (for now?). Hammer intel_opregion.c into shape. Hack up intel_lrc.c Adapt intel_reset.c Stub out intel_region_lmem.c Adapt intel_ring_submission.c Adapt intel_rps.c Adapt intel_sdvo.c Adapt intel_runtime_pm.c Adapt intel_sideband.c Adapt intel_sprite.c Adapt intel_tv.c Adapt intel_tc.c Adapt intel_sseu.c Adapt intel_timeline.c Adapt intel_uc_fw.c and fix typo Fix up intel_uncore.c intel_vga.c intel_wakeref.c intel_vdsc.c intel_wopcm.c intel_workarounds.c i915_globals.c Fix up intelfb.c Stub out intel_guc_log.c Stub out intel_dsi_dcs_backlight.c i915_perf.c intel_hdmi.c intel_hdcp.c Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org> | |||
| 2021-12-19 | linux/workqueue: Draft queue_rcu_work. | riastradh | |
| 2021-12-19 | linux/workqueue: Use atomic_load/store. | riastradh | |
| 2021-12-19 | i915: another whack at it | riastradh | |
| 2021-12-19 | linux: Add cond_synchronize_rcu. | riastradh | |
| 2021-12-19 | linux/rcupdate: Stub init_rcu_head, destroy_rcu_head. | riastradh | |
| 2021-12-19 | 'struct srcu' is actually called 'struct srcu_struct' | riastradh | |
| Author: Iain Hibbert <plunky@netbsd.org> Committer: Taylor R Campbell <riastradh@NetBSD.org> | |||
| 2021-12-19 | Fix membars in tasklet_disable/enable. | riastradh | |
| 2021-12-19 | Rework linux_tasklet.c a little. | riastradh | |
| Provide some more hacks for i915's grubby paws. | |||
| 2021-12-19 | alloc_workqueue | riastradh | |
| 2021-12-19 | Omit __insn_barrier where implied or subsumed by volatile. | riastradh | |
| 2021-12-19 | Move Linux SRCU to common. | riastradh | |
| 2021-12-19 | Move Linux RCU to common. | riastradh | |
| 2021-12-19 | Constify work_pending, delayed_work_pending. | riastradh | |
| 2021-12-19 | drain_workqueue | riastradh | |
| 2021-12-19 | Add some i915drmkms additions to the tasklet API. | riastradh | |
| 2021-12-19 | Sprinkle in another assertion for good measure. | riastradh | |
| 2021-12-19 | Draft Linux tasklet implementation. | riastradh | |
| 2021-12-19 | Add work_pending, delayed_work_pending. | riastradh | |
| 2021-12-19 | Implement return value of flush_work, flush_delayed_work. | riastradh | |
| 2021-12-19 | New system_unbound_wq. | riastradh | |
| 2021-12-19 | Fix copypasta in error branch. | riastradh | |
| XXX pullup to HEAD | |||
| 2020-02-01 | Fix abuse of TAILQ_CONCAT. | riastradh | |
| Other parts of this expect that the entries will be on wq->wq_queue or wq->wq_dqueue, so we can't just move a batch of entries onto a temporary queue. Instead, use a marker node to delimit when the batch ends. XXX pullup | |||
| 2019-03-19 | - dwc2 need calling linux_workqueue_init() to avoid panic. | ryo | |
| - use INIT_ONCE/FINI_ONCE to linux_workqueue_{init,fini}() for being called from dwc2. TODO: dwc2 should be written as kernel module depenging on a linux module. | |||
| 2018-08-27 | Workqueue lock must be at IPL_VM for use in interrupts, duh. | riastradh | |
| 2018-08-27 | Don't skimp on the last batch of work when worker is dying. | riastradh | |
| This is capitalism. We can't afford to waste time the worker could spend on labour even if we work 'em to death! | |||
| 2018-08-27 | Sprinkle dtrace probes all over the Linux workqueue stuff. | riastradh | |
| 2018-08-27 | Fix post-cancellation case of queue_delayed_work. | riastradh | |
| Request the callout queue immediately, as if it hadn't been cancelled at all, rather than reschedule for the next tick. | |||
| 2018-08-27 | Rework Linux workqueue synchronization yet again. | riastradh | |
| - Use a low bit in the pointer to the queue, rather than whether the pointer is null or not, to determine whether the work item is queued/scheduled. - _Preserve_ the pointer to the queue after we release the work. - Release the work _before_ executing the function, not after. This simplifies some things: we no longer have to distinguish whether the work is queued or running in the functions where we are trying to modify it. The pointer has to be preserved even after the work is released so that we can flush the workqueue after the work has been released. | |||
| 2018-08-27 | Fix flush_delayed_work semantics: run it now if it was scheduled. | riastradh | |
| 2018-08-27 | Reorder fields to get better space savings than bit fields. | riastradh | |
| 2018-08-27 | Document workqueue semantics as I understand it. | riastradh | |
| 2018-08-27 | Avoid the prospect of callout calls piling up. | riastradh | |
| Don't ever callout_schedule the callout while an existing call may be in progress. Echo some cases from cancel_delayed_work in flush_delayed_work. | |||
| 2018-08-27 | Don't let more than one thread claim credit for cancellation. | riastradh | |
| 2018-08-27 | Factor out waiting for current work. | riastradh | |
| 2018-08-27 | Merge two similar branches. | riastradh | |
| 2018-08-27 | Deduplicate callout destruction. | riastradh | |
