<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/soc/qcom, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/soc/qcom?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/soc/qcom?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-05-06T03:08:15Z</updated>
<entry>
<title>soc: qcom: pdr: use static for servreg_* variables</title>
<updated>2022-05-06T03:08:15Z</updated>
<author>
<name>Tom Rix</name>
<email>trix@redhat.com</email>
</author>
<published>2022-04-22T17:38:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=28e3dc8f8cd37eedc14e97e80a7a2e33359491df'/>
<id>urn:sha1:28e3dc8f8cd37eedc14e97e80a7a2e33359491df</id>
<content type='text'>
Sparse reports this repesentative issue
pdr_internal.h:31:22: warning: symbol 'servreg_location_entry_ei' was not declared. Should it be static?
Similar for other servreg_*

Global variables should not be defined in header files.
This only works because pdr_internal.h is only included
by pdr_interface.c.  Single file use variables should be
static so add static to their storage-class specifiers.

Signed-off-by: Tom Rix &lt;trix@redhat.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Link: https://lore.kernel.org/r/20220422173806.21982-1-trix@redhat.com
</content>
</entry>
<entry>
<title>soc: qcom: llcc: Add sc8180x and sc8280xp configurations</title>
<updated>2022-05-04T16:39:40Z</updated>
<author>
<name>Bjorn Andersson</name>
<email>bjorn.andersson@linaro.org</email>
</author>
<published>2022-05-02T21:54:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ec69dfbdc426f22a9557e5c5408d7902fe0e0144'/>
<id>urn:sha1:ec69dfbdc426f22a9557e5c5408d7902fe0e0144</id>
<content type='text'>
Add LLCC configuration data for the SC8180X and SC8280XP platforms,
based on the downstream tables.

Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Reviewed-by: Sai Prakash Ranjan &lt;quic_saipraka@quicinc.com&gt;
Link: https://lore.kernel.org/r/20220502215406.612967-3-bjorn.andersson@linaro.org
</content>
</entry>
<entry>
<title>soc: qcom: rpmhpd: add sc8280xp &amp; sa8540p rpmh power-domains</title>
<updated>2022-04-28T19:19:57Z</updated>
<author>
<name>Bjorn Andersson</name>
<email>bjorn.andersson@linaro.org</email>
</author>
<published>2022-04-26T23:35:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f68f1cb3437d338ee88a9fc05acd19dacdb9aabd'/>
<id>urn:sha1:f68f1cb3437d338ee88a9fc05acd19dacdb9aabd</id>
<content type='text'>
The Qualcomm sc8280xp platform has 13 and the sa8540p platform has 11
power-domains. Add compatibles, the typically used ones power-domains
and their relevant active-only variants, to the RPMh power-domain
driver.

Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Reviewed-by: Johan Hovold &lt;johan+linaro@kernel.org&gt;
Link: https://lore.kernel.org/r/20220426233508.1762345-4-bjorn.andersson@linaro.org
</content>
</entry>
<entry>
<title>soc: qcom: rpmhpd: Don't warn about sparse rpmhpd arrays</title>
<updated>2022-04-28T19:19:57Z</updated>
<author>
<name>Bjorn Andersson</name>
<email>bjorn.andersson@linaro.org</email>
</author>
<published>2022-04-26T23:35:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=af77132e9d2bc8ca477003fef15e2c677ae958b1'/>
<id>urn:sha1:af77132e9d2bc8ca477003fef15e2c677ae958b1</id>
<content type='text'>
In some cases the DT binding will fully describe the set of available
RPMh power-domains, but there is no reason for exposing them all in the
implementation.

Omitting individual data-&gt;domains is handle gracefully by
of_genpd_add_provider_onecell(), so there's no reason for printing a
warning when this occurs.

Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Reviewed-by: Johan Hovold &lt;johan+linaro@kernel.org&gt;
Link: https://lore.kernel.org/r/20220426233508.1762345-3-bjorn.andersson@linaro.org
</content>
</entry>
<entry>
<title>soc: qcom: socinfo: Sort out 8974PRO names</title>
<updated>2022-04-19T18:04:01Z</updated>
<author>
<name>Luca Weiss</name>
<email>luca@z3ntu.xyz</email>
</author>
<published>2022-04-15T19:54:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a555b382e7640b80b20816cf9179d091dd7716eb'/>
<id>urn:sha1:a555b382e7640b80b20816cf9179d091dd7716eb</id>
<content type='text'>
MSM8974PRO is commonly used for referring to Snapdragon 801, compared to
MSM8974 which is Snapdragon 800.

The Snapdragon 801 has three variants with different clock speeds, with
the -AA, -AB and -AC suffix.

Adjust the names in socinfo to reflect this.

Signed-off-by: Luca Weiss &lt;luca@z3ntu.xyz&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Link: https://lore.kernel.org/r/20220415195449.617040-1-luca@z3ntu.xyz
</content>
</entry>
<entry>
<title>soc: qcom: smem: validate fields of shared structures</title>
<updated>2022-04-13T02:29:58Z</updated>
<author>
<name>Deepak Kumar Singh</name>
<email>quic_deesin@quicinc.com</email>
</author>
<published>2022-03-01T15:18:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f1383348ad0fe0d568dfd37f2552b0b4f044dbe5'/>
<id>urn:sha1:f1383348ad0fe0d568dfd37f2552b0b4f044dbe5</id>
<content type='text'>
Structures in shared memory that can be modified by remote
processors may have untrusted values, they should be validated
before use.

Adding proper validation before using fields of shared
structures.

Signed-off-by: Deepak Kumar Singh &lt;quic_deesin@quicinc.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Link: https://lore.kernel.org/r/1646147913-15791-2-git-send-email-quic_deesin@quicinc.com
</content>
</entry>
<entry>
<title>soc: qcom: smem: map only partitions used by local HOST</title>
<updated>2022-04-13T02:29:49Z</updated>
<author>
<name>Deepak Kumar Singh</name>
<email>quic_deesin@quicinc.com</email>
</author>
<published>2022-03-01T15:18:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=20bb6c9de1b7e13f11d2ffe73686f4449c426807'/>
<id>urn:sha1:20bb6c9de1b7e13f11d2ffe73686f4449c426807</id>
<content type='text'>
SMEM driver is IO mapping complete region and CPU is doing a speculative
read into a partition where local HOST does not have permission resulting
in a NOC error.

Map only those partitions which are accessibly to local HOST.

Signed-off-by: Deepak Kumar Singh &lt;quic_deesin@quicinc.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Link: https://lore.kernel.org/r/1646147913-15791-1-git-send-email-quic_deesin@quicinc.com
</content>
</entry>
<entry>
<title>soc: qcom: llcc: Add MODULE_DEVICE_TABLE()</title>
<updated>2022-04-12T01:46:25Z</updated>
<author>
<name>Bjorn Andersson</name>
<email>bjorn.andersson@linaro.org</email>
</author>
<published>2022-04-08T21:33:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5334a3b12a7233b31788de60d61bfd890059d783'/>
<id>urn:sha1:5334a3b12a7233b31788de60d61bfd890059d783</id>
<content type='text'>
The llcc-qcom driver can be compiled as a module, but lacks
MODULE_DEVICE_TABLE() and will therefore not be loaded automatically.
Fix this.

Fixes: a3134fb09e0b ("drivers: soc: Add LLCC driver")
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Reviewed-by: Sai Prakash Ranjan &lt;quic_saipraka@quicinc.com&gt;
Reviewed-by: Dmitry Baryshkov &lt;dmitry.baryshkov@linaro.org&gt;
Link: https://lore.kernel.org/r/20220408213336.581661-3-bjorn.andersson@linaro.org
</content>
</entry>
<entry>
<title>soc: qcom: pdr: replace usage of found with dedicated list iterator variable</title>
<updated>2022-04-08T03:20:27Z</updated>
<author>
<name>Jakob Koschel</name>
<email>jakobkoschel@gmail.com</email>
</author>
<published>2022-03-24T07:24:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=3be066542ec400e7cdbcef2a6ac1d36c5366a6f6'/>
<id>urn:sha1:3be066542ec400e7cdbcef2a6ac1d36c5366a6f6</id>
<content type='text'>
To move the list iterator variable into the list_for_each_entry_*()
macro in the future it should be avoided to use the list iterator
variable after the loop body.

To *never* use the list iterator variable after the loop it was
concluded to use a separate iterator variable instead of a
found boolean [1].

This removes the need to use a found variable and simply checking if
the variable was set, can determine if the break/goto was hit.

Link: https://lore.kernel.org/all/CAHk-=wgRr_D8CB-D9Kg-c=EHreAsk5SqXPwr9Y7k9sA6cWXJ6w@mail.gmail.com/
Signed-off-by: Jakob Koschel &lt;jakobkoschel@gmail.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Link: https://lore.kernel.org/r/20220324072435.63070-1-jakobkoschel@gmail.com
</content>
</entry>
<entry>
<title>soc: qcom: rpmhpd: Add SDX65 power domains</title>
<updated>2022-04-08T03:18:00Z</updated>
<author>
<name>Rohit Agarwal</name>
<email>quic_rohiagar@quicinc.com</email>
</author>
<published>2022-03-16T06:07:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=3edff6262c48fe73feedc7277a3a6ebc3ed35a37'/>
<id>urn:sha1:3edff6262c48fe73feedc7277a3a6ebc3ed35a37</id>
<content type='text'>
Add power domains found in Qualcomm SDX65 SoC.

Signed-off-by: Rohit Agarwal &lt;quic_rohiagar@quicinc.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
Link: https://lore.kernel.org/r/1647410837-22537-5-git-send-email-quic_rohiagar@quicinc.com
</content>
</entry>
</feed>
