On Thu, Jul 01 2021 at 10:54, Christoph Hellwig wrote: >> Address the issue by reusing irq_create_affinity_masks() for building >> the default queue mapping, so that we can re-use the mapping created >> for managed irq. > > This looks sensible, but adding Thomas to see if he is fine with > using an irq function like this. Maybe it needs to move out of the > irq code and grow a new name if we use it like this. Yes, making it less irq centric and sticking it into lib makes sense. The usage sites then can have their specific wrappers around it. Thanks, tglx