diff options
author | Jason Gunthorpe <[email protected]> | 2023-07-17 15:12:05 -0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2023-07-26 10:19:52 -0300 |
commit | 17bad52708b457c4a0cbd7195ad813d6c4308b82 (patch) | |
tree | feb86b0db0b18b1641f89b0a20660145343e2197 /lib/test_fortify/write_overflow-memcpy.c | |
parent | d03f1336fd91b87ad218dd398265332b1cd2c68c (diff) |
iommufd: Add enforced_cache_coherency to iommufd_hw_pagetable_alloc()
Logically the HWPT should have the coherency set properly for the device
that it is being created for when it is created.
This was happening implicitly if the immediate_attach was set because
iommufd_hw_pagetable_attach() does it as the first thing.
Do it unconditionally so !immediate_attach works properly.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Tested-by: Nicolin Chen <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions