* Felipe Balbi <[email protected]> [150902 05:34]:
> On Wed, Sep 02, 2015 at 03:50:10PM +0530, Keerthy wrote:
> > Currently everytime soc_is calls are made, firstly device tree nodes
> > are parsed and then string comparisons are made to determine the
> > soc version. Optimizing it to be done one time and store the result.
> 
> but is that really a problem ? Are soc_is* calls made in any critical
> path ? Please provide some benchmarking data.

Regarding the SoC detection, there are multiple issues to consider here:

1. We want to unify the SoC detection so it behaves the same way
   for all SoCs

2. We don't want the dts files to explode with boards having
   multiple SoC revisions. So SoC detection and features
   detection for SGX and DSP etc should be done after setting
   the major SoC class based on compatible value

3. We don't want to do pointless string comparison over and
   over

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to