[PATCH] gpu: host1x: Register context bus unconditionally
Thierry Reding
thierry.reding at gmail.com
Fri Jul 8 15:11:57 UTC 2022
On Fri, Jul 08, 2022 at 03:44:09PM +0100, Robin Murphy wrote:
> On 2022-07-08 15:32, Thierry Reding wrote:
> > On Thu, Jul 07, 2022 at 06:30:44PM +0100, Robin Murphy wrote:
> > > Conditional registration is a problem for other subsystems which may
> > > unwittingly try to interact with host1x_context_device_bus_type in an
> > > uninitialised state on non-Tegra platforms. A look under /sys/bus on a
> > > typical system already reveals plenty of entries from enabled but
> > > otherwise irrelevant configs, so lets keep things simple and register
> > > our context bus unconditionally too.
> > >
> > > Signed-off-by: Robin Murphy <robin.murphy at arm.com>
> > > ---
> > > drivers/gpu/host1x/context_bus.c | 5 -----
> > > 1 file changed, 5 deletions(-)
> >
> > Applied, thanks.
> >
> > Do we need this in v5.19 or is it enough if this gets into v5.20?
>
> It's not strictly a critical fix, so I think 5.20 is fine. I plan to post v4
> of my bus_set_iommu() series next week as the hopefully-final version, but
> at this point I think it might be safer to hold off actually merging that
> until early next cycle, to give it plenty of time in -next.
Alright, I'll send it for v5.20 for now. If things change we can always
backport to v5.19.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20220708/a7c1e846/attachment.sig>
More information about the dri-devel
mailing list