Hi,
Eric and Shameer found a bug in kernel driver that supports_cmd is set in
an incorrect order related to the hyp_own finalization. This results in a
unnecessary command filter in the host environment that sends unsupported
(non-invalidation) commands to the SMMU CMDQ.
Also, Eric pointed it out that the requirement of VMM wiring HYP_OWN to 0
is unclear.
Thus, I am sending this small series to address these issues.
Nicolin Chen (2):
iommu/tegra241-cmdqv: Set supports_cmd op in tegra241_vcmdq_hw_init()
iommu/tegra241-cmdqv: Update uAPI to clarify HYP_OWN requirement
include/uapi/linux/iommufd.h | 5 +++++
drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c | 7 ++++---
2 files changed, 9 insertions(+), 3 deletions(-)
--
2.43.0