diff options
author | 2010-04-01 13:24:40 +0300 | |
---|---|---|
committer | 2010-04-09 15:39:21 +0100 | |
commit | 82653633b6161cdecc011d15bc9df1c7489bd9a2 (patch) | |
tree | 788049fff6372963e8685fda8badc4d82246464a /fs/fs-writeback.c | |
parent | intel-iommu mistakenly uses offset_pfn when caching mode is enabled (diff) | |
download | linux-dev-82653633b6161cdecc011d15bc9df1c7489bd9a2.tar.xz linux-dev-82653633b6161cdecc011d15bc9df1c7489bd9a2.zip |
intel-iommu: Use correct domain ID when caching mode is enabled
In caching-mode mappings of pages (changes from non-present to present)
require invalidation.
Currently, this IOTLB flush is performed with domain ID of zero.
This is not according to the VT-d spec and causes big problems for
emulating software.
This patch uses the correct domain ID in IOTLB flushes.
Device IOTLB invalidation is performed only on present to non-present
changes. This decision is now based on explicit parameter instead of
zero domain-ID.
Signed-off-by: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions