WSL2-Linux-Kernel/drivers/hid/intel-ish-hid/ishtp
Even Xu 4aae88b9a9 HID: intel-ish-hid: ishtp: Add dma_no_cache_snooping() callback
Different platforms have different DMA capability, on most of
platforms, DMA support cache snooping. But few platforms,
such as ElkhartLake (EHL), don't support cache snooping
which requires cache flush from driver.

So add a hardware level callback to let ishtp driver know if cache
flush is needed.

As most of platform support cache snooping, so driver will not
do cache flush by default, until platform implements this callback
and return true explicitly.

Acked-by: Pandruvada, Srinivas <srinivas.pandruvada@intel.com>
Signed-off-by: Even Xu <even.xu@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2021-06-14 15:55:09 +02:00
..
bus.c HID: ishtp-hid-client: Fix 'suggest-attribute=format' compiler warning 2021-04-07 17:56:34 +02:00
bus.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
client-buffers.c HID: intel-ish-hid: fix wrong error handling in ishtp_cl_alloc_tx_ring() 2019-10-16 08:26:55 +02:00
client.c HID: intel-ish-hid: ishtp: Add dma_no_cache_snooping() callback 2021-06-14 15:55:09 +02:00
client.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
dma-if.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
hbm.c HID: intel-ish: Fix a naming disparity and a formatting error 2021-04-07 17:55:45 +02:00
hbm.h HID: intel_ish-hid: HBM: Use connected standby state bit during suspend/resume 2021-03-19 14:34:51 +01:00
init.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
ishtp-dev.h HID: intel-ish-hid: ishtp: Add dma_no_cache_snooping() callback 2021-06-14 15:55:09 +02:00