public inbox for kernelnewbies@kernelnewbies.org
 help / color / mirror / Atom feed
From: <ckim@etri.re.kr>
To: <kernelnewbies@kernelnewbies.org>
Subject: does dma_alloc_coherent setup iommu page table?
Date: Wed, 29 Sep 2021 16:15:13 +0900	[thread overview]
Message-ID: <007201d7b501$bf0a5880$3d1f0980$@etri.re.kr> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 270 bytes --]

Hello all,

When the driver calls dma_alloc_coherent for a device, and if the device
uses iommu, is the table entry for the iommu setup for the dma_handle?

Seeing the struct device has something related to iommu, I guess so..

Any help appreciated.

Thanks!

Chan Kim


[-- Attachment #1.2: Type: text/html, Size: 2436 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

             reply	other threads:[~2021-09-29  7:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29  7:15 ckim [this message]
2021-09-29  8:18 ` does dma_alloc_coherent setup iommu page table? ckim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='007201d7b501$bf0a5880$3d1f0980$@etri.re.kr' \
    --to=ckim@etri.re.kr \
    --cc=kernelnewbies@kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox