[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6afb82b4-379d-4a6c-8cc0-00fc72caa72e@linux.intel.com>
Date: Fri, 8 Mar 2024 09:40:30 +0800
From: Baolu Lu <baolu.lu@...ux.intel.com>
To: Bert Karwatzki <spasswolf@....de>
Cc: baolu.lu@...ux.intel.com, haifeng.zhao@...ux.intel.com,
iommu@...ts.linux.dev, jgg@...pe.ca, jiaqing.huang@...el.com,
joro@...tes.org, kevin.tian@...el.com, linux-kernel@...r.kernel.org,
robin.murphy@....com, will@...nel.org
Subject: Re: [PATCH] iommu: fix compilation without CONFIG_IOMMU_INTEL
On 3/8/24 3:44 AM, Bert Karwatzki wrote:
> When the kernel is comiled with CONFIG_IRQ_REMAP=y but without
> CONFIG_IOMMU_INTEL compilation fails since commit def054b01a8678 with an
> undefined reference to device_rbtree_find(). This patch makes sure that
> intel specific code is only compiled with CONFIG_IOMMU_INTEL=y.
>
> Fixes: def054b01a8678 ("iommu/vt-d: Use device rbtree in iopf reporting path")
I think it should fix below commit:
Fixes: 80a9b50c0b9e ("iommu/vt-d: Improve ITE fault handling if target
device isn't present")
>
> Signed-off-by: Bert Karwatzki<spasswolf@....de>
For users who want a configuration with interrupt remapping and without
DMA remapping, they can achieve this by selecting
IOMMU_DEFAULT_PASSTHROUGH or using kernel command "iommu.passthrough=1".
Reviewed-by: Lu Baolu <baolu.lu@...ux.intel.com>
Best regards,
baolu
Powered by blists - more mailing lists