diff options
author | Dragos Tatulea <dtatulea@nvidia.com> | 2023-10-18 20:14:55 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-11-01 16:19:57 +0300 |
commit | 5dc31bd245a4fd7fe2d1fd79b7a2a81c96d6d33c (patch) | |
tree | 0df8f8fd7d0a79df4d5fdec6dbc12c91e7f79e94 /scripts/gdb/linux/utils.py | |
parent | cf6e024cf7683551ae218ce9af56b82e68a0ef06 (diff) | |
download | linux-5dc31bd245a4fd7fe2d1fd79b7a2a81c96d6d33c.tar.xz |
vdpa/mlx5: Update cvq iotlb mapping on ASID change
For the following sequence:
- cvq group is in ASID 0
- .set_map(1, cvq_iotlb)
- .set_group_asid(cvq_group, 1)
... the cvq mapping from ASID 0 will be used. This is not always correct
behaviour.
This patch adds support for the above mentioned flow by saving the iotlb
on each .set_map and updating the cvq iotlb with it on a cvq group change.
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Message-Id: <20231018171456.1624030-18-dtatulea@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com>
Tested-by: Si-Wei Liu <si-wei.liu@oracle.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions