Re: [PATCH 1/2] iommufd: add hw_queue_init for guest-address queue setup

From: Nicolin Chen

Date: Tue Jul 07 2026 - 22:40:35 EST


On Wed, Jul 08, 2026 at 01:56:27AM +0000, Suravee Suthikulpanit wrote:
> Factor HW queue allocation into _iommufd_hw_queue_init()

Why do we need this factor? There is only one call site. Nothing
really benefits from this _iommufd_hw_queue_init(). Can we unwrap
it and keep everything in one function?

It could be a smaller patch, as I recall I suggested previously..

Nicolin