_dma_no_cache_snooping(9)
β¨ NAME β¨
okay so this is _dma_no_cache_snooping(9), straight outta the Kernel API Manual π
_dma_no_cache_snooping β and bestie, the original one-liner after the dash is literally blank, so Iβm not gonna invent a summary for you π«Ά
πΈ SYNOPSIS πΈ
bool _dma_no_cache_snooping (struct ishtp_device *dev );
π ARGUMENTS π
devβ the ishtp device pointer, periodt.
π¦ DESCRIPTION π¦
So the vibe check here is: this function checks, on the current platform, whether DMA supports cache snooping or not. Thatβs the whole assignment, no cap.
This callback is used to notify the uplayer driver whether a manual cache flush is needed when doing DMA operation. Like, βhey bestie, do you need to flush this yourself or not?β energy π₯
pay attention to this callback implementation, fr fr β if you declare that cache snooping is available on a platform that does not support cache snooping, the uplayer driver will receive mismatched data π. And if you declare no cache snooping on a platform that does support cache snooping, the cache gets flushed twice and you take a performance hit π.
β RETURN β
falseβ has cache snooping capability β¨trueβ no cache snooping, need manually cache flush π§
yes bestie, the booleans are built like that π β keep the meanings exactly as written.
π SEE ALSO π
Kernel file ./drivers/hid/intel-ish-hid/ipc/ipc.c:
ish_reg_read(9)ish_reg_write(9)_ish_read_fw_sts_reg(9)check_generated_interrupt(9)ish_is_input_ready(9)set_host_ready(9)ishtp_fw_is_ready(9)ish_set_host_rdy(9)ish_clr_host_rdy(9)ish_set_host_ready(9)_ishtp_read_hdr(9)_ishtp_read(9)write_ipc_from_queue(9)write_ipc_to_queue(9)ipc_send_mng_msg(9)timed_wait_for_timeout(9)ish_fw_reset_handler(9)fw_reset_work_fn(9)_ish_sync_fw_clock(9)recv_ipc(9)ish_irq_handler(9)ish_disable_dma(9)ish_wakeup(9)_ish_hw_reset(9)_ish_ipc_reset(9)ish_hw_start(9)ish_ipc_get_header(9)ish_dev_init(9)ish_device_disable(9)
made with π from the kernel API manual corner β source/version vibes: ./drivers/hid/intel-ish-hid/ipc, dated October 2026. stay snoopy, bestie π
π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms