diff options
author | Zenghui Yu <yuzenghui@huawei.com> | 2021-02-27 15:39:09 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-03-04 13:32:04 +0100 |
commit | 444d66a23c1f1e4c4d12aed4812681d0ad835d60 (patch) | |
tree | f627941289e91f74fd9c64a94063e3dc08f2a155 /include/acpi/platform/acenv.h | |
parent | 82c3cefb9f1652e7470f442ff96c613e8c8ed8f4 (diff) | |
download | linux-stable-444d66a23c1f1e4c4d12aed4812681d0ad835d60.tar.gz linux-stable-444d66a23c1f1e4c4d12aed4812681d0ad835d60.tar.bz2 linux-stable-444d66a23c1f1e4c4d12aed4812681d0ad835d60.zip |
iommu/vt-d: Fix status code for Allocate/Free PASID command
As per Intel vt-d spec, Rev 3.0 (section 10.4.45 "Virtual Command Response
Register"), the status code of "No PASID available" error in response to
the Allocate PASID command is 2, not 1. The same for "Invalid PASID" error
in response to the Free PASID command.
We will otherwise see confusing kernel log under the command failure from
guest side. Fix it.
Fixes: 24f27d32ab6b ("iommu/vt-d: Enlightened PASID allocation")
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210227073909.432-1-yuzenghui@huawei.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/acpi/platform/acenv.h')
0 files changed, 0 insertions, 0 deletions