linux/drivers/hid/intel-ish-hid
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
..
ipc HID: intel-ish-hid: ipc: Correct fw_reset_work_fn() function name in header 2021-04-07 17:56:34 +02:00
ishtp HID: intel-ish-hid: ishtp: Add dma_no_cache_snooping() callback 2021-06-14 15:55:09 +02:00
ishtp-fw-loader.c HID: intel-ish-hid: ishtp-fw-loader: Fix a bunch of formatting issues 2021-04-07 17:56:34 +02:00
ishtp-hid-client.c HID: ishtp-hid-client: Fix 'suggest-attribute=format' compiler warning 2021-04-07 17:56:34 +02:00
ishtp-hid.c HID: intel-ish-hid: Fix potential copy/paste error 2021-04-07 17:56:34 +02:00
ishtp-hid.h HID: ishtp-hid-client: Fix 'suggest-attribute=format' compiler warning 2021-04-07 17:56:34 +02:00
Kconfig HID: intel-ish-hid: Set ISH driver depends on x86 2021-06-14 15:55:09 +02:00
Makefile treewide: prefix header search paths with $(srctree)/ 2019-05-18 11:49:57 +09:00