<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/soc/qcom, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/soc/qcom?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/soc/qcom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-09-14T03:25:35Z</updated>
<entry>
<title>soc: qcom: rpmpd: Add SM6375 support</title>
<updated>2022-09-14T03:25:35Z</updated>
<author>
<name>Konrad Dybcio</name>
<email>konrad.dybcio@somainline.org</email>
</author>
<published>2022-07-16T19:32:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=df646a17f103c6f18ab85c5e3773763d18dc528b'/>
<id>urn:sha1:df646a17f103c6f18ab85c5e3773763d18dc528b</id>
<content type='text'>
Add support for RPMPDs on SM6375.

Signed-off-by: Konrad Dybcio &lt;konrad.dybcio@somainline.org&gt;
Signed-off-by: Bjorn Andersson &lt;andersson@kernel.org&gt;
Link: https://lore.kernel.org/r/20220716193201.455728-2-konrad.dybcio@somainline.org
</content>
</entry>
<entry>
<title>soc: qcom: icc-bwmon: force clear counter/irq registers</title>
<updated>2022-09-06T02:51:08Z</updated>
<author>
<name>Rajendra Nayak</name>
<email>quic_rjendra@quicinc.com</email>
</author>
<published>2022-09-02T04:35:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=cdad59c2d8698505c328c19832fbd2781e79adac'/>
<id>urn:sha1:cdad59c2d8698505c328c19832fbd2781e79adac</id>
<content type='text'>
In some SoCs we have to force clear the counter/irq clear registers as
they are not self clearing after they are written into.
sc7280 seems to be one such SoC, handle this with a quirk flag.

Signed-off-by: Rajendra Nayak &lt;quic_rjendra@quicinc.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Signed-off-by: Bjorn Andersson &lt;andersson@kernel.org&gt;
Link: https://lore.kernel.org/r/20220902043511.17130-4-quic_rjendra@quicinc.com
</content>
</entry>
<entry>
<title>soc: qcom: icc-bwmon: add support for sc7280 LLCC BWMON</title>
<updated>2022-09-06T02:51:08Z</updated>
<author>
<name>Rajendra Nayak</name>
<email>quic_rjendra@quicinc.com</email>
</author>
<published>2022-09-02T04:35:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1335fc5b24d3fd51bdae0747b153433f2969edfc'/>
<id>urn:sha1:1335fc5b24d3fd51bdae0747b153433f2969edfc</id>
<content type='text'>
Add support for sc7280 BWMON instance measuring traffic between LLCC and
memory with the v5 register layout.

Signed-off-by: Rajendra Nayak &lt;quic_rjendra@quicinc.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Signed-off-by: Bjorn Andersson &lt;andersson@kernel.org&gt;
Link: https://lore.kernel.org/r/20220902043511.17130-3-quic_rjendra@quicinc.com
</content>
</entry>
<entry>
<title>Merge tag '20220825043859.30066-3-manivannan.sadhasivam@linaro.org' into drivers-for-6.1</title>
<updated>2022-08-30T02:22:56Z</updated>
<author>
<name>Bjorn Andersson</name>
<email>andersson@kernel.org</email>
</author>
<published>2022-08-30T02:22:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d8200483617ce8e0610f612fcb5575134511bdc1'/>
<id>urn:sha1:d8200483617ce8e0610f612fcb5575134511bdc1</id>
<content type='text'>
v6.0-rc1 +
20220825043859.30066-2-manivannan.sadhasivam@linaro.org +
20220825043859.30066-3-manivannan.sadhasivam@linaro.org

Signed-off-by: Bjorn Andersson &lt;andersson@kernel.org&gt;
</content>
</entry>
<entry>
<title>soc: qcom: llcc: Pass LLCC version based register offsets to EDAC driver</title>
<updated>2022-08-30T02:20:20Z</updated>
<author>
<name>Manivannan Sadhasivam</name>
<email>manivannan.sadhasivam@linaro.org</email>
</author>
<published>2022-08-25T04:38:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c13d7d261e361dbaf5adbdc216ee4a1204c48001'/>
<id>urn:sha1:c13d7d261e361dbaf5adbdc216ee4a1204c48001</id>
<content type='text'>
The LLCC EDAC register offsets varies between each SoCs. Until now, the
EDAC driver used the hardcoded register offsets. But this caused crash
on SM8450 SoC where the register offsets has been changed.

So to avoid this crash and also to make it easy to accommodate changes for
new SoCs, let's pass the LLCC version specific register offsets to the
EDAC driver.

Currently, two set of offsets are used. One is starting from LLCC version
v1.0.0 used by all SoCs other than SM8450. For SM8450, LLCC version
starting from v2.1.0 is used.

Signed-off-by: Manivannan Sadhasivam &lt;manivannan.sadhasivam@linaro.org&gt;
Reviewed-by: Sai Prakash Ranjan &lt;quic_saipraka@quicinc.com&gt;
Signed-off-by: Bjorn Andersson &lt;andersson@kernel.org&gt;
Link: https://lore.kernel.org/r/20220825043859.30066-3-manivannan.sadhasivam@linaro.org
</content>
</entry>
<entry>
<title>soc: qcom: llcc: Rename reg_offset structs to reflect LLCC version</title>
<updated>2022-08-30T02:20:20Z</updated>
<author>
<name>Manivannan Sadhasivam</name>
<email>manivannan.sadhasivam@linaro.org</email>
</author>
<published>2022-08-25T04:38:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5365cea199c70d6abedc2e1be850c03e990f1829'/>
<id>urn:sha1:5365cea199c70d6abedc2e1be850c03e990f1829</id>
<content type='text'>
The register offsets used by the LLCC block retains its layout for multiple
versions. For instance, starting from version v1.0.0 to v2.0.1 the offsets
are same. And starting from v2.1.0, the offsets changed.

But the current reg_offset naming convention is confusing. So to reflect
this change correctly in driver, let's encode the start version from which
the offsets got changed in reg_offset struct name. This will be
llcc_v1_reg_offset for v1.0.0 and llcc_v2_1_reg_offset for v2.1.0.
This will allow multiple SoCs to use the same reg_offset clearly.

And in the future if the offsets got changed again, then that specific
version could be encoded in the struct name.

Suggested-by: Sai Prakash Ranjan &lt;quic_saipraka@quicinc.com&gt;
Signed-off-by: Manivannan Sadhasivam &lt;manivannan.sadhasivam@linaro.org&gt;
Reviewed-by: Sai Prakash Ranjan &lt;quic_saipraka@quicinc.com&gt;
Signed-off-by: Bjorn Andersson &lt;andersson@kernel.org&gt;
Link: https://lore.kernel.org/r/20220825043859.30066-2-manivannan.sadhasivam@linaro.org
</content>
</entry>
<entry>
<title>soc: qcom: qmi: use const for struct qmi_elem_info</title>
<updated>2022-08-29T22:33:01Z</updated>
<author>
<name>Jeff Johnson</name>
<email>quic_jjohnson@quicinc.com</email>
</author>
<published>2022-08-22T15:34:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ff6d365898d4d31bd557954c7fc53f38977b491c'/>
<id>urn:sha1:ff6d365898d4d31bd557954c7fc53f38977b491c</id>
<content type='text'>
Currently all usage of struct qmi_elem_info, which is used to define
the QMI message encoding/decoding rules, does not use const. This
prevents clients from registering const arrays. Since these arrays are
always pre-defined, they should be const, so add the const qualifier
to all places in the QMI interface where struct qmi_elem_info is used.

Once this patch is in place, clients can independently update their
pre-defined arrays to be const, as demonstrated in the QMI sample
code.

Signed-off-by: Jeff Johnson &lt;quic_jjohnson@quicinc.com&gt;
Signed-off-by: Bjorn Andersson &lt;andersson@kernel.org&gt;
Link: https://lore.kernel.org/r/20220822153435.7856-1-quic_jjohnson@quicinc.com
</content>
</entry>
<entry>
<title>soc: qcom: icc-bwmon: remove redundant ret variable</title>
<updated>2022-08-29T22:30:27Z</updated>
<author>
<name>Jinpeng Cui</name>
<email>cui.jinpeng2@zte.com.cn</email>
</author>
<published>2022-08-23T13:36:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7eb89c17abd2574f627c1277a15f6ff64bec33a4'/>
<id>urn:sha1:7eb89c17abd2574f627c1277a15f6ff64bec33a4</id>
<content type='text'>
Return value from devm_regmap_field_bulk_alloc() directly
instead of taking this in another redundant variable.

Reported-by: Zeal Robot &lt;zealci@zte.com.cn&gt;
Signed-off-by: Jinpeng Cui &lt;cui.jinpeng2@zte.com.cn&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Signed-off-by: Bjorn Andersson &lt;andersson@kernel.org&gt;
Link: https://lore.kernel.org/r/20220823133620.211902-1-cui.jinpeng2@zte.com.cn
</content>
</entry>
<entry>
<title>soc: qcom: stats: Add SDM845 stats config and compatible</title>
<updated>2022-08-29T21:38:52Z</updated>
<author>
<name>Abel Vesa</name>
<email>abel.vesa@linaro.org</email>
</author>
<published>2022-08-12T10:12:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0425c5c6ebb2388074ea18460199547f076cbf60'/>
<id>urn:sha1:0425c5c6ebb2388074ea18460199547f076cbf60</id>
<content type='text'>
SDM845 is a special case compared to the other platforms that use RPMh
stats, since it only has 2 stats (aosd and cxsd), while the others have
a 3rd one (ddr).

So lets add dedicated stats config and compatible for SDM845 to make the
driver aware of this num_records difference.

Signed-off-by: Abel Vesa &lt;abel.vesa@linaro.org&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Signed-off-by: Bjorn Andersson &lt;andersson@kernel.org&gt;
Link: https://lore.kernel.org/r/20220812101240.1869605-2-abel.vesa@linaro.org
</content>
</entry>
<entry>
<title>soc: qcom: Make QCOM_RPMPD depend on OF</title>
<updated>2022-08-29T21:18:29Z</updated>
<author>
<name>YueHaibing</name>
<email>yuehaibing@huawei.com</email>
</author>
<published>2022-08-20T11:32:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0e5732e4d58437feded42fb459384904eb317e91'/>
<id>urn:sha1:0e5732e4d58437feded42fb459384904eb317e91</id>
<content type='text'>
WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS_OF
  Depends on [n]: PM_GENERIC_DOMAINS [=y] &amp;&amp; OF [=n]
  Selected by [m]:
  - QCOM_RPMPD [=m] &amp;&amp; PM [=y] &amp;&amp; QCOM_SMD_RPM [=m]

PM_GENERIC_DOMAINS_OF depends on OF, so QCOM_RPMPD also depends on it.

Fixes: 7d0221fb5912 ("soc/qcom: Make QCOM_RPMPD select PM_GENERIC_DOMAINS/_OF")
Signed-off-by: YueHaibing &lt;yuehaibing@huawei.com&gt;
Acked-by: Randy Dunlap &lt;rdunlap@infradead.org&gt; # build-tested
Signed-off-by: Bjorn Andersson &lt;andersson@kernel.org&gt;
Link: https://lore.kernel.org/r/20220820113202.23940-1-yuehaibing@huawei.com
</content>
</entry>
</feed>
