> > Note that this does mean that all PM domain providers that do not rely > > on pm_clk, but have their own start/stop methods, need to be aware of > > this quirk, and should take care of reference counting themselves. > > Fortunately there seems to be only one: > > drivers/soc/ti/ti_sci_pm_domains.c. > > Unfortunately it doesn't do reference counting, so if that PM domain > > driver is ever used with a driver that calls dev_pm_domain_start(), > > mysterious things may happen... > > Good point. Perhaps we should document this somewhere. I haven't understood all of the details, but Geert's description sounds like we definately should document this. Anyone up for it? Otherwise I'll dig more into it...
Attachment:
signature.asc
Description: PGP signature