linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* revert dma-mapping and vmap API abuse in qcom_q6v5_mss
@ 2022-12-23  9:27 Christoph Hellwig
  2022-12-23  9:27 ` [PATCH 1/2] Revert "remoteproc: qcom_q6v5_mss: map/unmap metadata region before/after use" Christoph Hellwig
  2022-12-23  9:27 ` [PATCH 2/2] vmalloc: reject vmap with VM_FLUSH_RESET_PERMS Christoph Hellwig
  0 siblings, 2 replies; 10+ messages in thread
From: Christoph Hellwig @ 2022-12-23  9:27 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Mathieu Poirier,
	Andrew Morton, Uladzislau Rezki
  Cc: linux-arm-msm, linux-remoteproc, linux-kernel, linux-mm, iommu

Hi all,

this series reverts a completely broken commit to qcom_q6v5_mss the
abuses the dma-mapping and vmap APIs in multiple, and mostly clearly
documented ways, and then adds a patch to document and reject the
so far undocumented API abuse.

Diffstat:
 drivers/remoteproc/qcom_q6v5_mss.c |   38 +++++--------------------------------
 mm/vmalloc.c                       |    3 ++
 2 files changed, 9 insertions(+), 32 deletions(-)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-12-23 15:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-23  9:27 revert dma-mapping and vmap API abuse in qcom_q6v5_mss Christoph Hellwig
2022-12-23  9:27 ` [PATCH 1/2] Revert "remoteproc: qcom_q6v5_mss: map/unmap metadata region before/after use" Christoph Hellwig
2022-12-23 14:47   ` Manivannan Sadhasivam
2022-12-23 14:57     ` Christoph Hellwig
2022-12-23 15:40       ` Manivannan Sadhasivam
2022-12-23 15:51         ` Christoph Hellwig
2022-12-23  9:27 ` [PATCH 2/2] vmalloc: reject vmap with VM_FLUSH_RESET_PERMS Christoph Hellwig
2022-12-23 10:24   ` Lorenzo Stoakes
2022-12-23 14:03     ` Christoph Hellwig
2022-12-23 14:10       ` Lorenzo Stoakes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).