<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/firmware/qcom_scm.c, branch v4.14-rc8</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v4.14-rc8</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v4.14-rc8'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2017-03-28T21:03:21+00:00</updated>
<entry>
<title>firmware: qcom_scm: add two scm calls for iommu secure page table</title>
<updated>2017-03-28T21:03:21+00:00</updated>
<author>
<name>Stanimir Varbanov</name>
<email>stanimir.varbanov@linaro.org</email>
</author>
<published>2017-03-14T15:18:04+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b182cc4d597a6e73ff04ee1b7fb4f1a28f56ae3d'/>
<id>urn:sha1:b182cc4d597a6e73ff04ee1b7fb4f1a28f56ae3d</id>
<content type='text'>
Those two new SCM calls are needed from qcom-iommu driver in order
to initialize secure iommu page table.

Signed-off-by: Stanimir Varbanov &lt;stanimir.varbanov@linaro.org&gt;
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>firmware/qcom: add qcom_scm_restore_sec_cfg()</title>
<updated>2017-03-28T21:03:21+00:00</updated>
<author>
<name>Rob Clark</name>
<email>robdclark@gmail.com</email>
</author>
<published>2017-03-14T15:18:03+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a2c680c6ce386e9ca6cdf362e8b01789126c9bf7'/>
<id>urn:sha1:a2c680c6ce386e9ca6cdf362e8b01789126c9bf7</id>
<content type='text'>
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>firmware: qcom_scm: Add set remote state API</title>
<updated>2017-01-17T05:45:04+00:00</updated>
<author>
<name>Andy Gross</name>
<email>andy.gross@linaro.org</email>
</author>
<published>2017-01-17T05:24:15+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a811b420b6c13759540070c0e9541b7cd8569168'/>
<id>urn:sha1:a811b420b6c13759540070c0e9541b7cd8569168</id>
<content type='text'>
This patch adds a set remote state SCM API.  This will be used by the
Venus and GPU subsystems to set state on the remote processors.

This work was based on two patch sets by Jordan Crouse and Stanimir
Varbanov.

Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>firmware: qcom: scm: Mask APQ8064 core clk dependency</title>
<updated>2017-01-17T05:07:41+00:00</updated>
<author>
<name>Andy Gross</name>
<email>andy.gross@linaro.org</email>
</author>
<published>2017-01-11T22:58:03+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b58a2d31f946f09f507f8a9a59a3356e375c6782'/>
<id>urn:sha1:b58a2d31f946f09f507f8a9a59a3356e375c6782</id>
<content type='text'>
This patch masks the core clk requirement for the APQ8064.  Until the
other peripherals correctly describe their clock dependencies or the
bus driver is put in place to handle the RPM dependencies, this bit
will remain masked.

Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>firmware: qcom: scm: Return PTR_ERR when devm_clk_get fails</title>
<updated>2016-11-23T17:03:00+00:00</updated>
<author>
<name>spjoshi@codeaurora.org</name>
<email>spjoshi@codeaurora.org</email>
</author>
<published>2016-11-16T01:19:25+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=ed19b86e817c5f30d557042f2e8ab68dc93940d4'/>
<id>urn:sha1:ed19b86e817c5f30d557042f2e8ab68dc93940d4</id>
<content type='text'>
When devm_clk_get fails for core clock, the failure was ignored
and the core_clk was explicitly set to NULL so that other
remaining clocks can be queried. However, now that we have a
cleaner way of expressing the clock dependency, return failure
when devm_clk_get fails for core clock.

Signed-off-by: Sarangdhar Joshi &lt;spjoshi@codeaurora.org&gt;
Reviewed-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Acked-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>firmware: qcom: scm: Remove core, iface and bus clocks dependency</title>
<updated>2016-11-23T17:02:51+00:00</updated>
<author>
<name>spjoshi@codeaurora.org</name>
<email>spjoshi@codeaurora.org</email>
</author>
<published>2016-11-16T01:19:24+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=ab0822d57d8ccde7161aef56b97313fc24162d61'/>
<id>urn:sha1:ab0822d57d8ccde7161aef56b97313fc24162d61</id>
<content type='text'>
Core, iface and bus clocks are not required to be voted from SCM
driver for some of the Qualcomm chipsets. Remove dependency on
these clocks from driver.

Suggested-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Signed-off-by: Sarangdhar Joshi &lt;spjoshi@codeaurora.org&gt;
Acked-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>firmware: qcom: scm: Use devm_reset_controller_register()</title>
<updated>2016-11-13T05:24:51+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>weiyongjun1@huawei.com</email>
</author>
<published>2016-08-28T16:29:10+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=bd4760ca03156731674a570e44490986189d8228'/>
<id>urn:sha1:bd4760ca03156731674a570e44490986189d8228</id>
<content type='text'>
Use devm_reset_controller_register() for the reset controller
registration and fixes the memory leak when unload the module.

Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>firmware: qcom_scm: make it explicitly non-modular</title>
<updated>2016-08-23T20:46:32+00:00</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2016-07-04T15:01:56+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=dea8524218099ff73ffd1ebd08d97ce6a45b7e0e'/>
<id>urn:sha1:dea8524218099ff73ffd1ebd08d97ce6a45b7e0e</id>
<content type='text'>
The Kconfig currently controlling compilation of this code is:

drivers/firmware/Kconfig:config QCOM_SCM
drivers/firmware/Kconfig:       bool

...meaning that it currently is not being built as a module by anyone.

Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.

Since module_init was not in use by this code, the init ordering
remains unchanged with this commit.

Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

We also delete the MODULE_LICENSE tag etc. since all that information
was (or is now) contained at the top of the file in the comments.

Cc: Andy Gross &lt;andy.gross@linaro.org&gt;
Cc: David Brown &lt;david.brown@linaro.org&gt;
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-soc@vger.kernel.org
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>firmware: qcom: scm: Change initcall to subsys</title>
<updated>2016-07-05T21:29:25+00:00</updated>
<author>
<name>Andy Gross</name>
<email>andy.gross@linaro.org</email>
</author>
<published>2016-07-02T04:04:03+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6c8e99d874c96200ce985d19b407d49ed3306226'/>
<id>urn:sha1:6c8e99d874c96200ce985d19b407d49ed3306226</id>
<content type='text'>
The patch changes the initcall for SCM to use subsys_initcall
instead of arch_initcall.  This corrects the order so that we don't
probe defer when trying to get clks which causes issues later when
the spm driver makes calls to qcom_set_warm_boot_addr().

The order became an issue due to the changes to use arch_initcall_sync
for of_platform_default_populate_init().

Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
<entry>
<title>firmware: qcom_scm: Add missing is_available API</title>
<updated>2016-07-05T21:29:24+00:00</updated>
<author>
<name>Andy Gross</name>
<email>andy.gross@linaro.org</email>
</author>
<published>2016-06-29T20:28:29+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=72d43419400f31d9eb634466446e3ceddce30be7'/>
<id>urn:sha1:72d43419400f31d9eb634466446e3ceddce30be7</id>
<content type='text'>
Add back function that was dropped when reworking the SCM code.

Signed-off-by: Andy Gross &lt;andy.gross@linaro.org&gt;
</content>
</entry>
</feed>
