> -----Original Message-----
> From: Zhangfei Gao <[email protected]>
> Sent: 18 November 2025 03:50
> To: Shameer Kolothum <[email protected]>
> Cc: [email protected]; [email protected];
> [email protected]; [email protected]; Jason Gunthorpe
> <[email protected]>; Nicolin Chen <[email protected]>;
> [email protected]; [email protected]; Nathan Chen
> <[email protected]>; Matt Ochs <[email protected]>;
> [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]; Krishnakant Jaju
> <[email protected]>
> Subject: Re: [PATCH v5 14/32] hw/arm/smmuv3-accel: Install SMMUv3 GBPA
> based hwpt
>
> External email: Use caution opening links or attachments
>
[...]
> > + */
> > + if (s->gbpa & SMMU_GBPA_ABORT) {
> > + hwpt_id = vsmmu->abort_hwpt_id;
> > + } else {
> > + hwpt_id = vsmmu->bypass_hwpt_id;
> > + }
> > +
> > + QLIST_FOREACH(accel_dev, &vsmmu->device_list, next) {
> v4 has this, while v5 removes it.
> if (!accel_dev->vdev)
> continue;
>
> So I got a warning when accel_dev->vdev = NULL in the beginning.
> "Failed to attach GBPA hwpt id xx for dev id xx"
Could you please check you have this kernel patch applied,
https://lore.kernel.org/all/[email protected]/
This relaxes the vdev requirement for GBPA based HWPTs.
Thanks,
Shameer