<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/cpufreq, branch gpu-paging</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: t194: set req. to Fmin when CPU offline</title>
<updated>2021-04-14T17:39:55+00:00</updated>
<author>
<name>Aaron Tian</name>
<email>atian@nvidia.com</email>
</author>
<published>2021-01-08T08:10:53+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=2caa44ddd85627ab3c5d1d86a396b373221bf4e4'/>
<id>2caa44ddd85627ab3c5d1d86a396b373221bf4e4</id>
<content type='text'>
Since offline CPU should not join cluster frequency
judgement, set cpufreq request to Fmin during cpu_down
to let cluster frequency judgement logic won't take
offline CPUs into account.

During cpu_up the cpufreq request value need to restored
as latest requested level (from cpufreq governor).
Add an per-CPU array 'latest_freq_req' to memorize
latest request level.

Register CPUHP_AP_TEGRA_CPUFREQ cpuhp callback
to do related ndiv operations due to following reasons
- The ndiv of a CPU can only be accessed by the same CPU.
- ndiv restore need to be handled as soon as possible
  since cluster PLL frequency = Fmin during cpu_up() of
  1st core in a cluster until ndiv value restored.

Bug 200610512

Change-Id: I60fe3f3aca58f51357b1e2a10a639427049b8b67
Signed-off-by: Aaron Tian &lt;atian@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2467766
(cherry picked from commit e2cb988601c600d3f5c4fdbe19821bc1392dfbce)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2513653
Reviewed-by: svcacv &lt;svcacv@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since offline CPU should not join cluster frequency
judgement, set cpufreq request to Fmin during cpu_down
to let cluster frequency judgement logic won't take
offline CPUs into account.

During cpu_up the cpufreq request value need to restored
as latest requested level (from cpufreq governor).
Add an per-CPU array 'latest_freq_req' to memorize
latest request level.

Register CPUHP_AP_TEGRA_CPUFREQ cpuhp callback
to do related ndiv operations due to following reasons
- The ndiv of a CPU can only be accessed by the same CPU.
- ndiv restore need to be handled as soon as possible
  since cluster PLL frequency = Fmin during cpu_up() of
  1st core in a cluster until ndiv value restored.

Bug 200610512

Change-Id: I60fe3f3aca58f51357b1e2a10a639427049b8b67
Signed-off-by: Aaron Tian &lt;atian@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2467766
(cherry picked from commit e2cb988601c600d3f5c4fdbe19821bc1392dfbce)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2513653
Reviewed-by: svcacv &lt;svcacv@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cpufreq: do not access devd_pub in hv mode</title>
<updated>2020-12-08T10:09:22+00:00</updated>
<author>
<name>Alvin Park</name>
<email>apark@nvidia.com</email>
</author>
<published>2020-12-01T11:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=13511a38c58cdbd0e50e25eb2c2007723498438e'/>
<id>13511a38c58cdbd0e50e25eb2c2007723498438e</id>
<content type='text'>
Because edvd_pub is not initialized
if "nvidia,tegra18x-cpufreq-hv" is enabled in device tree,
function accessing edvd_pub like get_hint/get_hint
should not be used in hv mode.

Bug 3192088

Change-Id: Ia29fd1c57688732d7d28310081b4eb676fc3944f
Signed-off-by: Alvin Park &lt;apark@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2453230
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hardik T Shah &lt;hardikts@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because edvd_pub is not initialized
if "nvidia,tegra18x-cpufreq-hv" is enabled in device tree,
function accessing edvd_pub like get_hint/get_hint
should not be used in hv mode.

Bug 3192088

Change-Id: Ia29fd1c57688732d7d28310081b4eb676fc3944f
Signed-off-by: Alvin Park &lt;apark@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2453230
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hardik T Shah &lt;hardikts@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cpufreq: t194: set req. to Fmin when CPU offline</title>
<updated>2020-05-15T09:38:55+00:00</updated>
<author>
<name>Aaron Tian</name>
<email>atian@nvidia.com</email>
</author>
<published>2020-05-06T06:35:54+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=cd11b4a35e7f5eee15b4fa81df855d01530e7f3a'/>
<id>cd11b4a35e7f5eee15b4fa81df855d01530e7f3a</id>
<content type='text'>
Offlined CPU should not join cluster frequency judgement.

Set cpufreq request to Fmin when a CPU offline, so
cluster frequency judgement logic won't take offlined CPUs
into account.

Bug 200610512

Change-Id: Id93b57c22971725b66385258642149f8d0051f0d
Signed-off-by: Aaron Tian &lt;atian@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2339622
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rajkumar Kasirajan &lt;rkasirajan@nvidia.com&gt;
Reviewed-by: Sumit Gupta &lt;sumitg@nvidia.com&gt;
Reviewed-by: Puneet Saxena &lt;puneets@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Offlined CPU should not join cluster frequency judgement.

Set cpufreq request to Fmin when a CPU offline, so
cluster frequency judgement logic won't take offlined CPUs
into account.

Bug 200610512

Change-Id: Id93b57c22971725b66385258642149f8d0051f0d
Signed-off-by: Aaron Tian &lt;atian@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2339622
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rajkumar Kasirajan &lt;rkasirajan@nvidia.com&gt;
Reviewed-by: Sumit Gupta &lt;sumitg@nvidia.com&gt;
Reviewed-by: Puneet Saxena &lt;puneets@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cpufreq: tegra186: fix hv mode error path</title>
<updated>2020-01-22T17:10:07+00:00</updated>
<author>
<name>Leon Yu</name>
<email>leoyu@nvidia.com</email>
</author>
<published>2019-08-15T10:12:18+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=dcf5893a70a79e60c57f492fbc7fc8a8e4b08c3a'/>
<id>dcf5893a70a79e60c57f492fbc7fc8a8e4b08c3a</id>
<content type='text'>
If tegra_cpufreq_hv_mode is true and parse_hv_dt_data fails, we
shouldn't go to err_free_res as platform resources are not
allocated/mapped in case of hv mode. Also, we have not reached to the
point to register_with_emc_bwmgr or get_lut_from_bpmp, so branching to
err_free_res and ending up calling free_resources as well as
free_shared_lut is incorrect.

Bug 200512604

Change-Id: Ifb30e44c67b9eef22d2ef2e46fac33da7df5dc13
Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2275514
GVS: Gerrit_Virtual_Submit
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Gupta &lt;sumitg@nvidia.com&gt;
Reviewed-by: Puneet Saxena &lt;puneets@nvidia.com&gt;
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>
If tegra_cpufreq_hv_mode is true and parse_hv_dt_data fails, we
shouldn't go to err_free_res as platform resources are not
allocated/mapped in case of hv mode. Also, we have not reached to the
point to register_with_emc_bwmgr or get_lut_from_bpmp, so branching to
err_free_res and ending up calling free_resources as well as
free_shared_lut is incorrect.

Bug 200512604

Change-Id: Ifb30e44c67b9eef22d2ef2e46fac33da7df5dc13
Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2275514
GVS: Gerrit_Virtual_Submit
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Gupta &lt;sumitg@nvidia.com&gt;
Reviewed-by: Puneet Saxena &lt;puneets@nvidia.com&gt;
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: t194: use CPU to EMC freq mapping helpers</title>
<updated>2019-10-11T15:35:07+00:00</updated>
<author>
<name>Leon Yu</name>
<email>leoyu@nvidia.com</email>
</author>
<published>2019-09-16T04:29:33+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=74a8fe96ec7e89db246ddea8b6794cbbd46dda84'/>
<id>74a8fe96ec7e89db246ddea8b6794cbbd46dda84</id>
<content type='text'>
This CL replaces existing CPU to EMC mapping related code with common
helpers to eliminate inconsistencies between cpufreq drivers including:

1) different implementations of same functionality
2) different formats of CPU to EMC freq. mapping table

This change also prevents one potential bug that existing code only
works for mapping table which is sorted in descending order (won't
work in ascending order). The helper function to be used don't have
such constrain.

Bug 200551611
Bug 200512604

Change-Id: I199219b9a9b0bda10f1f6b941101e7ca24f878ac
Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2198539
Reviewed-by: Aaron Tian &lt;atian@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan &lt;byan@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>
This CL replaces existing CPU to EMC mapping related code with common
helpers to eliminate inconsistencies between cpufreq drivers including:

1) different implementations of same functionality
2) different formats of CPU to EMC freq. mapping table

This change also prevents one potential bug that existing code only
works for mapping table which is sorted in descending order (won't
work in ascending order). The helper function to be used don't have
such constrain.

Bug 200551611
Bug 200512604

Change-Id: I199219b9a9b0bda10f1f6b941101e7ca24f878ac
Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2198539
Reviewed-by: Aaron Tian &lt;atian@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan &lt;byan@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: 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: tegra186: allow CPU EMC table from DT</title>
<updated>2019-09-11T16:10:35+00:00</updated>
<author>
<name>Leon Yu</name>
<email>leoyu@nvidia.com</email>
</author>
<published>2019-08-19T05:57:47+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=bc4a131441e199caa962921905d17aa803f48680'/>
<id>bc4a131441e199caa962921905d17aa803f48680</id>
<content type='text'>
Currently T186 cpufreq driver uses only preset CPU to EMC frequency
mapping table embedded in the driver and therefore makes it difficult
to use custom table tuned for different platforms or needs. This
change enables the driver to use mapping table from device tree and
also creates a debugfs entry to show mapping table being used by the
driver. Doing so will align with what have been done for T194.

Bug 200512604

Change-Id: I018e5903782024175071a779a6e00d1be21fe6e2
Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2178285
Reviewed-by: Automatic_Commit_Validation_User
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>
Currently T186 cpufreq driver uses only preset CPU to EMC frequency
mapping table embedded in the driver and therefore makes it difficult
to use custom table tuned for different platforms or needs. This
change enables the driver to use mapping table from device tree and
also creates a debugfs entry to show mapping table being used by the
driver. Doing so will align with what have been done for T194.

Bug 200512604

Change-Id: I018e5903782024175071a779a6e00d1be21fe6e2
Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2178285
Reviewed-by: Automatic_Commit_Validation_User
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: tegra186: use tegra_cpu_to_emc_freq helper</title>
<updated>2019-09-10T09:23:52+00:00</updated>
<author>
<name>Leon Yu</name>
<email>leoyu@nvidia.com</email>
</author>
<published>2019-08-16T04:24:55+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=e9f93202e5991cebb882e525ea7519aaf21d6b91'/>
<id>e9f93202e5991cebb882e525ea7519aaf21d6b91</id>
<content type='text'>
This changes existing hard-coded logic to a helper with lookup table,
while keeps previous mapping table unchanged as default.

Bug 200512604

Change-Id: I70b1fcd46ee6ebfc5853c78e9ab8248e20f4ecb8
Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2178284
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>
This changes existing hard-coded logic to a helper with lookup table,
while keeps previous mapping table unchanged as default.

Bug 200512604

Change-Id: I70b1fcd46ee6ebfc5853c78e9ab8248e20f4ecb8
Signed-off-by: Leon Yu &lt;leoyu@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2178284
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>
<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>
<entry>
<title>cpufreq: t194: add debugfs to show CPU/EMC mapping table</title>
<updated>2019-07-30T00:57:22+00:00</updated>
<author>
<name>Aaron Tian</name>
<email>atian@nvidia.com</email>
</author>
<published>2019-07-24T11:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=3d6bad343af30946b4fb74508d1efa5065e4196c'/>
<id>3d6bad343af30946b4fb74508d1efa5065e4196c</id>
<content type='text'>
Add 'cpu_emc_map' debugfs node to show current CPU/EMC mapping.

Bug 200533301

Change-Id: I0b4e9c4d4f230f09fc7de942377cde41337c88b9
Signed-off-by: Aaron Tian &lt;atian@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2160378
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>
Add 'cpu_emc_map' debugfs node to show current CPU/EMC mapping.

Bug 200533301

Change-Id: I0b4e9c4d4f230f09fc7de942377cde41337c88b9
Signed-off-by: Aaron Tian &lt;atian@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2160378
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>
</feed>
