From: Feng Wu Date: Tue, 9 Jun 2015 05:20:32 +0000 (+0800) Subject: iommu, x86: Save the mode (posted or remapped) of an IRTE X-Git-Tag: omap-for-v4.2/fixes-rc1^2~170^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2705a3d2a690c3dd9f58c7d788bc0f432acdeceb;p=pandora-kernel.git iommu, x86: Save the mode (posted or remapped) of an IRTE Add a new field to struct irq_2_iommu, which captures whether the associated IRTE is in posted mode or remapped mode. We update this field when the IRTE is written into the table. Suggested-by: Thomas Gleixner Signed-off-by: Feng Wu Reviewed-by: Thomas Gleixner Acked-by: Joerg Roedel Cc: jiang.liu@linux.intel.com Cc: iommu@lists.linux-foundation.org Cc: dwmw2@infradead.org Link: http://lkml.kernel.org/r/1433827237-3382-6-git-send-email-feng.wu@intel.com Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed