On Fri, Oct 31, 2025 at 05:15:32AM +0000, Kasireddy, Vivek wrote:
> > So the next steps would be to make all the exporters directly declare
> > a SGT and then remove the SGT related ops from dma_ops itself and
> > remove the compat sgt in the attach logic. This is not hard, it is all
> > simple mechanical work.

> IMO, this SGT compatibility stuff should ideally be a separate follow-on
> effort (and patch series) that would also probably include updates to
> various drivers to add the SGT mapping type.

I've beeen working on this idea and have updated my github here:

 https://github.com/jgunthorpe/linux/commits/dmabuf_map_type/

I still need to run it through what testing I can do here, but it goes
all the way and converts everything into SGT mapping type, all
drivers. I think this shows the idea works.

I'm hoping to post it next week if the revoke thing settles down and I
can complete some more checking.

We can discuss how to break it up along with get feedback if people
are happy with the idea.

It looks like it turns out fairly well, I didn't find anything
surprising along the way at least.

Thanks,
Jason

Reply via email to