On Fri, May 19, 2023 at 10:03:57AM +0800, Baolu Lu wrote:
Agreed. In addition to fault handler, SVA usually needs to register a callback to mm_notifier to keep the IO or device TLB cache consistent. This part of code could also be consolidated to the core.
Yes, that should not be in drivers at all..
Jason