diff options
author | Lu Baolu <[email protected]> | 2024-01-10 20:10:08 -0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2024-01-11 12:55:04 -0400 |
commit | f35b88b66fbb5c90298ce3aa483b8a2cf1f39ad0 (patch) | |
tree | 050d655871efb9e1866c1eb2f9eb1ededa8a6aae /scripts/gdb/linux/utils.py | |
parent | 861deac3b092f37b2c5e6871732f3e11486f7082 (diff) |
iommu: Add cache_invalidate_user op
The updates of the PTEs in the nested page table will be propagated to the
hardware caches.
Add a new domain op cache_invalidate_user() for the userspace to flush the
hardware caches for a nested domain through iommufd. No wrapper for it, as
it's only supposed to be used by iommufd. Then, pass in invalidation
requests in form of a user data array containing a number of invalidation
data entries.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Kevin Tian <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Nicolin Chen <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions