<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/cpufreq/cpufreq_cpu_emc_table.c, branch rtss22-ae</title>
<subtitle>NVIDIA's kernel modules to support tegra chips (used in Jetson boards)</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/'/>
<entry>
<title>cpufreq: consolidate cpufreq_cpu_emc_table</title>
<updated>2019-10-09T15:39:54+00:00</updated>
<author>
<name>Leon Yu</name>
<email>leoyu@nvidia.com</email>
</author>
<published>2019-10-07T11:08:16+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=b977002497f717156e55f698312703ab93057e52'/>
<id>b977002497f717156e55f698312703ab93057e52</id>
<content type='text'>
tegra_cpufreq_cpu_emc_map_dt_init() didn't consider the case that
cpu_emc_map provided in DT can be incomplete, e.g. like this:

cpu_emc_map = &lt;2112000  2133000&gt;,
                &lt;1881600 800000&gt;,
                &lt;1574400 665000&gt;,
                &lt;1267200&gt;;

We should strip incomplete entry as we already do for tegra194_cpufreq
so that driver won't have unknown/undefined behavior.

Bug 200512604
Bug 200551611

Change-Id: Ifad5e8a987bbd92b83cfd4cb1a649c3b61dfd072
Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2212825
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan &lt;byan@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tegra_cpufreq_cpu_emc_map_dt_init() didn't consider the case that
cpu_emc_map provided in DT can be incomplete, e.g. like this:

cpu_emc_map = &lt;2112000  2133000&gt;,
                &lt;1881600 800000&gt;,
                &lt;1574400 665000&gt;,
                &lt;1267200&gt;;

We should strip incomplete entry as we already do for tegra194_cpufreq
so that driver won't have unknown/undefined behavior.

Bug 200512604
Bug 200551611

Change-Id: Ifad5e8a987bbd92b83cfd4cb1a649c3b61dfd072
Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2212825
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan &lt;byan@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cpufreq: introduce CPU EMC mapping table helper</title>
<updated>2019-09-10T09:23:43+00:00</updated>
<author>
<name>Leon Yu</name>
<email>leoyu@nvidia.com</email>
</author>
<published>2019-08-23T04:59:24+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=589684582480c2b56306d889e5cf8b970fce9d9d'/>
<id>589684582480c2b56306d889e5cf8b970fce9d9d</id>
<content type='text'>
We've been using duplicate code and incompatible format/name/type for
CPU to EMC frequency mapping table related stuffs on different SoCs.
This not only confuses users but also makes it difficult to customize
and maintain these mapping tables.

This change aims to provide unified interfaces and structures that can
be used by existing (and also future) cpufreq drivers.

Bug 200512604

Change-Id: I380235c05ac045fe09ecdf4bd313e8c40286260a
Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2183389
Reviewed-by: Puneet Saxena &lt;puneets@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We've been using duplicate code and incompatible format/name/type for
CPU to EMC frequency mapping table related stuffs on different SoCs.
This not only confuses users but also makes it difficult to customize
and maintain these mapping tables.

This change aims to provide unified interfaces and structures that can
be used by existing (and also future) cpufreq drivers.

Bug 200512604

Change-Id: I380235c05ac045fe09ecdf4bd313e8c40286260a
Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2183389
Reviewed-by: Puneet Saxena &lt;puneets@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
