Re: [PATCH 2/2] platform: Facilitate the creation of pseudo-platform buses

Previous thread: [PATCH 1/2 v2] netfilter: fix the hash random initializing race by Changli Gao on Friday, August 20, 2010 - 3:48 pm. (2 messages)

Next thread: Upgrade Account !!! by Web Support Team on Wednesday, August 18, 2010 - 6:07 pm. (1 message)
From: Kevin Hilman
Date: Friday, August 20, 2010 - 5:10 pm

Grant Likely <grant.likely@secretlab.ca> writes:


hmm, a new requirement?, and one that would require some significant
changes to the driver model.

Currently, dev_pm_ops for a bus applies globally to *all* devices on
that bus (or class or type) and changing that would require changing the
platform_bus code to start having per-device (or per-parent-device)

/me can't help but wonder why the OMAP implementation is getting all the
negative attention while the other identical implementations are already

Well, I'm not proposing that here.  This "feature" already exists in
mainline (albeit using the less-than-optimal weak symbol approach.)  All
I'm proposing is fixing it to make it multi-arch friendly.

If you think this behavior should be changed to non global, that should
be done a separate series since it is not directly related to runtime PM

IMHO, we should deal with such hypothetical, future problems *if* they

It will not scale any more (or less) than the current functionality of
the driver model which handles this globally.  Again, if scalabilty
becomes a problem down the road, lets fix it then.

Kevin
--

Previous thread: [PATCH 1/2 v2] netfilter: fix the hash random initializing race by Changli Gao on Friday, August 20, 2010 - 3:48 pm. (2 messages)

Next thread: Upgrade Account !!! by Web Support Team on Wednesday, August 18, 2010 - 6:07 pm. (1 message)