diff options
author | David Cohen <dacohen@gmail.com> | 2011-03-09 04:17:33 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-03-14 12:17:07 -0400 |
commit | d038aee24dcd5a2a0d8547f5396f67ae9698ac8e (patch) | |
tree | 43754b0d95f826ccaefe736d49e7d92a262d6091 /arch/.gitignore | |
parent | 4359d38d518c0dd72c03a3bc9918607ba8f2648a (diff) |
omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED flag
Currently IOVMM driver sets IOVMF_DA_FIXED/IOVMF_DA_ANON flags according
to input 'da' address when mapping memory:
da == 0: IOVMF_DA_ANON
da != 0: IOVMF_DA_FIXED
It prevents IOMMU to map first page with fixed 'da'. To avoid such
issue, IOVMM will not automatically set IOVMF_DA_FIXED. It should now
come from the user throught 'flags' parameter when mapping memory.
As IOVMF_DA_ANON and IOVMF_DA_FIXED are mutually exclusive, IOVMF_DA_ANON
can be removed. The driver will now check internally if IOVMF_DA_FIXED
is set or not.
Signed-off-by: David Cohen <dacohen@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions