> -----Original Message----- > From: Nicolin Chen <[email protected]> > Sent: 29 December 2025 19:50 > To: Shameer Kolothum <[email protected]> > Cc: [email protected]; [email protected]; > [email protected]; [email protected]; Nathan Chen > <[email protected]>; Matt Ochs <[email protected]>; Jason Gunthorpe > <[email protected]>; [email protected]; > [email protected]; [email protected]; Krishnakant Jaju > <[email protected]> > Subject: Re: [RFC PATCH 10/16] hw/arm/tegra241-cmdqv: Allocate vEVENTQ > object > > On Wed, Dec 10, 2025 at 01:37:31PM +0000, Shameer Kolothum wrote: > > @@ -259,11 +305,16 @@ static bool > tegra241_cmdqv_setup_vcmdq(Tegra241CMDQV *cmdqv, int index, > > g_free(vcmdq); > > } > > > > + if (!tegra241_cmdqv_alloc_veventq(cmdqv, errp)) { > > + return false; > > + } > > + > > I think this should be called in tegra241_cmdqv_alloc_viommu(). Should/Can we? _alloc_viommu() will happen before the Guest boot. Unlike the SMMUv3 vEVENTQ for accel case, we restrict the hotplug use case when the tegra214-cmdqv is set. And as soon as Guest setup vCMDQ the vEVENTQ is enabled here. Do you see any issues with this approach? Thanks, Shameer Thanks, Shameer
- [RFC PATCH 06/16] hw/arm/tegra241-cmdqv: Map VINTF Page0 ... Shameer Kolothum
- [RFC PATCH 12/16] hw/arm/tegra241-cmdqv: Add reset handle... Shameer Kolothum
- [RFC PATCH 09/16] hw/arm/tegra241-cmdqv:: Add write emula... Shameer Kolothum
- [RFC PATCH 07/16] hw/arm/tegra241-cmdqv: Add read emulati... Shameer Kolothum
- [RFC PATCH 14/16] virt-acpi-build: Rename AcpiIortSMMUv3D... Shameer Kolothum
- [RFC PATCH 10/16] hw/arm/tegra241-cmdqv: Allocate vEVENTQ... Shameer Kolothum
- Re: [RFC PATCH 10/16] hw/arm/tegra241-cmdqv: Allocat... Nicolin Chen
- RE: [RFC PATCH 10/16] hw/arm/tegra241-cmdqv: All... Shameer Kolothum
- Re: [RFC PATCH 10/16] hw/arm/tegra241-cmdqv:... Nicolin Chen
- RE: [RFC PATCH 10/16] hw/arm/tegra241-cm... Shameer Kolothum
- Re: [RFC PATCH 10/16] hw/arm/tegra2... Nicolin Chen
- RE: [RFC PATCH 10/16] hw/arm/te... Shameer Kolothum
- [RFC PATCH 11/16] hw/arm/tegra241-cmdqv: Read and propaga... Shameer Kolothum
- [RFC PATCH 05/16] hw/arm/tegra241-cmdqv: Add initial Tegr... Shameer Kolothum
- Re: [RFC PATCH 05/16] hw/arm/tegra241-cmdqv: Add ini... Nicolin Chen
- RE: [RFC PATCH 05/16] hw/arm/tegra241-cmdqv: Add... Shameer Kolothum
- [RFC PATCH 04/16] backends/iommufd: Introduce iommufd_bac... Shameer Kolothum
