On Tue, Jan 07, 2014 at 06:46:58PM +0000, Mark Brown wrote:
On Tue, Jan 07, 2014 at 06:23:55PM +0000, Mark Brown wrote:
On Tue, Jan 07, 2014 at 06:05:45PM +0000, Lorenzo Pieralisi wrote:
I think cpu-map must only contain cluster nodes as descendant children. This to prevent creative DTs with cluster and core nodes at top topology level. Overall it makes sense, cores can only exist in a cluster container, might seem churn but at least that's strict.
That still leaves the question of what you want to happen with such maps.
I've implemented a warning for this; it seems more constructive than rejecting such DTs outright.
At least we should reject the nodes that do not follow bindings rules and warn on them. We should keep the valid nodes properties and build the topology from the resulting valus, even though this is a slippery slope, basically the topology is botched but kernel spits a warning on this so I guess that's acceptable.
Lorenzo