[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YtEpTTDGR+5zoEQ1@8bytes.org>
Date: Fri, 15 Jul 2022 10:46:05 +0200
From: Joerg Roedel <joro@...tes.org>
To: Suravee Suthikulpanit <suravee.suthikulpanit@....com>
Cc: linux-kernel@...r.kernel.org, iommu@...ts.linux.dev,
robin.murphy@....com, vasant.hegde@....com, ashish.kalra@....com,
jon.grimm@....com
Subject: Re: [PATCH v4 8/9] iommu/amd: Do not support IOMMU_DOMAIN_IDENTITY
after SNP is enabled
On Wed, Jul 13, 2022 at 05:56:50PM -0500, Suravee Suthikulpanit wrote:
> + /*
> + * Since DTE[Mode]=0 is prohibited on SNP-enabled system,
> + * default to use IOMMU_DOMAIN_DMA[_FQ].
> + */
> + if (WARN_ONCE(amd_iommu_snp_en && (type == IOMMU_DOMAIN_IDENTITY),
> + "Cannot allocate identity domain due to SNP\n"))
I removed that WARN_ON_ONCE() here, this is really no condition someone
should worry about.
Regards,
Joerg
Powered by blists - more mailing lists