Skip to content

enable ISH DMA on EHL platform

Even Xu linux-input 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hid: intel-ish-hid: Set ISH driver depends on x86drivers/hid/intel-ish-hid/Kconfig+1 -00 replies
2/3hid: intel-ish-hid: ishtp: Add dma_no_cache_snooping() callbackdrivers/hid/intel-ish-hid/ishtp/client.c drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h+19 -00 replies
3/3hid: intel-ish-hid: ipc: Specify that EHL no cache snoopingdrivers/hid/intel-ish-hid/ipc/ipc.c+25 -10 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPandruvada, Srinivas
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] enable ISH DMA on EHL platform

These patch set are used for enabling ISH DMA on EHL platform.

During ISH DMA enabling, some platforms (such as EHL) don't support cache snooping, bus driver (ishtp) has to involve a new callback, dma_no_cache_snooping(), in hardware layer (ipc) to get hardware DMA capability.

When do cache flush, clflush_cache_range() API is used on X86 which isn't supported by all other archs (such as ARM). Considering ISH only exists on Intel platforms, adding ISH depending on X86 in Kconfig to avoid build warnings or errors on other archs.

Even Xu (3):
hid: intel-ish-hid: Set ISH driver depends on x86
hid: intel-ish-hid: ishtp: Add dma_no_cache_snooping() callback
hid: intel-ish-hid: ipc: Specify that EHL no cache snooping

 drivers/hid/intel-ish-hid/Kconfig           |  1 +
 drivers/hid/intel-ish-hid/ipc/ipc.c         | 26 +++++++++++++++++++++++++-
 drivers/hid/intel-ish-hid/ishtp/client.c    | 18 ++++++++++++++++++
 drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h |  1 +
 4 files changed, 45 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.4