On Fri, Jan 24, 2025 at 04:30:43PM -0800, Nicolin Chen wrote:
> diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c 
> b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c
> index ceeed907a714..20a0e39d7caa 100644
> --- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c
> +++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c
> @@ -43,6 +43,8 @@ static void arm_smmu_make_nested_cd_table_ste(
>       target->data[0] |= nested_domain->ste[0] &
>                          ~cpu_to_le64(STRTAB_STE_0_CFG);
>       target->data[1] |= nested_domain->ste[1];
> +     /* Merge events for DoS mitigations on eventq */
> +     target->data[1] |= STRTAB_STE_1_MEV;

This should have cpu_to_le64(). Fixed accordingly.

Thanks
Nicolin

Reply via email to