On Thu, Aug 10, 2023 at 03:28:10AM +0000, Liu, Yi L wrote:
@Yi, This seems to be a bigger rework than the top level struct. Along with Jason's request for fail_nth below, we'd need to bisect the workload between us, or can just continue each other's daily work. Let me know which one you prefer. https://lore.kernel.org/linux-iommu/ZNPCtPTcHvITt6fk@nvidia.com/
Let me address the fail_nth request first. You may rework the iommufd_get_user_data(). If I can finish the fail_nth soon, then may help to lift the array to the top level. If not, you may make it as well. 😊 I guess I need some study on nth as well.
Ack. Am working on the iommufd_get_user_data() already. Will continue the ring buffer thing.
Nic