You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the BCM DMA functions from inside a kernel module.
I'm having a run-time link error as it appears that bcm_dma_wait_idle symbol is not exported. All the other interesting DMA functions are. Is this by design, or is this just an omission?
If it is by design, what is the best way of waiting for a DMA to finish? (IRQ?)
That's just an omission as no-one is currently using that function.
Note the comment, this busy waits, so will hog the CPU.
This really need a down_interruptable that is triggered from the end of DMA imterrupt.
Ok cool cheers.
I'd seen the comment and was wondering if it's worth sticking in a schedule() call into the busy loop? (although I head that pre-emptive kernel doesn't work)
Activity
popcornmix commentedon May 18, 2012
That's just an omission as no-one is currently using that function.
Note the comment, this busy waits, so will hog the CPU.
This really need a down_interruptable that is triggered from the end of DMA imterrupt.
simonjhall commentedon May 18, 2012
Ok cool cheers.
I'd seen the comment and was wondering if it's worth sticking in a schedule() call into the busy loop? (although I head that pre-emptive kernel doesn't work)
x86: Remove some noise from boot log when starting cpus
cfg80211: fix potential deadlock in regulatory
Subject: net-flip-lock-dep-thingy.patch
ghollingworth commentedon Aug 22, 2013
Assuming this is now fixed? It's been a while!
ARM: OMAP2: gpmc-onenand: fix sync mode setup with DT
ARM: dts: omap3-gta04: Add ti,omap36xx to compatible property to avoi…
kernfs: cache atomic_write_len in kernfs_open_file
x86, microcode, AMD: Do not use smp_processor_id() in preemtible context
mm, vmscan: Do not wait for page writeback for GFP_NOFS allocations
mm, vmscan: Do not wait for page writeback for GFP_NOFS allocations
net-flip-lock-dep-thingy.patch
net-flip-lock-dep-thingy.patch
123 remaining items
ACPICA: Avoid undefined behavior: member access within misaligned add…
ACPICA: Avoid undefined behavior: member access within misaligned add…
ACPICA: Avoid undefined behavior: load of misaligned address
blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_cost
firmware: imx: scu-irq: fix RCU complaint after M4 partition reset
skbuff: skb_segment, Call zero copy functions before using skbuff frags
bpf: Prevent KASAN false positive with bpf_throw
docs: sparse: add SPDX-License-Identifier
selftests/bpf: Remove flaky test_btf_id test
wifi: ath12k: fix OF node refcount imbalance in WSI graph traversal
block: Make request_queue lockdep splats show up earlier
ACPICA: fix acpi operand cache leak in dswstate.c
ACPICA: Apply pack(1) to union aml_resource
perf unwind-libdw: skip non-regular files
kmsan: fix kmsan_handle_dma() to avoid false positives