]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Check whether device requires bounce buffer
authorLu Baolu <baolu.lu@linux.intel.com>
Fri, 6 Sep 2019 06:14:49 +0000 (14:14 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 11 Sep 2019 10:34:29 +0000 (12:34 +0200)
commitcbe05d4f01632ef4b48dc5344ac0ffb33a4ef94b
tree02c641871e285fea720da12bd1420bc865ccae83
parent0ba494ca077687b01735619fecc6899c1c906f7c
iommu/vt-d: Check whether device requires bounce buffer

This adds a helper to check whether a device needs to
use bounce buffer. It also provides a boot time option
to disable the bounce buffer. Users can use this to
prevent the iommu driver from using the bounce buffer
for performance gain.

Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Tested-by: Xu Pengfei <pengfei.xu@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Documentation/admin-guide/kernel-parameters.txt
drivers/iommu/intel-iommu.c