* [PATCH v2 0/3] arm: qcom: sa8775p: add socinfo support
@ 2023-02-09 9:57 Bartosz Golaszewski
2023-02-09 9:57 ` [PATCH v2 1/3] soc: qcom: smem: update max processor count Bartosz Golaszewski
` (4 more replies)
0 siblings, 5 replies; 13+ messages in thread
From: Bartosz Golaszewski @ 2023-02-09 9:57 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This series adds support for qcom-socinfo for SA8775P SoCs.
v1 -> v2:
- fix ordering of socinfo defines
- fix the commit subject line for patch 2/3
- collect the Ack from Krzysztof
Bartosz Golaszewski (3):
soc: qcom: smem: update max processor count
dt-bindings: arm: qcom: add the SoC ID for SA8775P
soc: qcom: socinfo: add support for SA8775P
drivers/soc/qcom/smem.c | 2 +-
drivers/soc/qcom/socinfo.c | 1 +
include/dt-bindings/arm/qcom,ids.h | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
--
2.37.2
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH v2 1/3] soc: qcom: smem: update max processor count
2023-02-09 9:57 [PATCH v2 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
@ 2023-02-09 9:57 ` Bartosz Golaszewski
2023-02-09 17:54 ` Eric Chanudet
2023-02-09 9:57 ` [PATCH v2 2/3] dt-bindings: arm: qcom: add the SoC ID for SA8775P Bartosz Golaszewski
` (3 subsequent siblings)
4 siblings, 1 reply; 13+ messages in thread
From: Bartosz Golaszewski @ 2023-02-09 9:57 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Update max processor count to reflect the number of co-processors on
SA8775P SoCs.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
drivers/soc/qcom/smem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c
index 4f163d62942c..7666b3425b7c 100644
--- a/drivers/soc/qcom/smem.c
+++ b/drivers/soc/qcom/smem.c
@@ -85,7 +85,7 @@
#define SMEM_GLOBAL_HOST 0xfffe
/* Max number of processors/hosts in a system */
-#define SMEM_HOST_COUNT 15
+#define SMEM_HOST_COUNT 20
/**
* struct smem_proc_comm - proc_comm communication struct (legacy)
--
2.37.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 2/3] dt-bindings: arm: qcom: add the SoC ID for SA8775P
2023-02-09 9:57 [PATCH v2 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
2023-02-09 9:57 ` [PATCH v2 1/3] soc: qcom: smem: update max processor count Bartosz Golaszewski
@ 2023-02-09 9:57 ` Bartosz Golaszewski
2023-02-09 17:55 ` Eric Chanudet
2023-02-09 9:57 ` [PATCH v2 3/3] soc: qcom: socinfo: add support " Bartosz Golaszewski
` (2 subsequent siblings)
4 siblings, 1 reply; 13+ messages in thread
From: Bartosz Golaszewski @ 2023-02-09 9:57 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski,
Krzysztof Kozlowski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Add the SoC ID entry for SA8775P.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
include/dt-bindings/arm/qcom,ids.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dt-bindings/arm/qcom,ids.h b/include/dt-bindings/arm/qcom,ids.h
index 22d7ba17804b..bfdf066cc690 100644
--- a/include/dt-bindings/arm/qcom,ids.h
+++ b/include/dt-bindings/arm/qcom,ids.h
@@ -223,6 +223,7 @@
#define QCOM_ID_SC7180P 495
#define QCOM_ID_SM6375 507
#define QCOM_ID_SM8550 519
+#define QCOM_ID_SA8775P 534
#define QCOM_ID_QRU1000 539
#define QCOM_ID_QDU1000 545
#define QCOM_ID_QDU1010 587
--
2.37.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 3/3] soc: qcom: socinfo: add support for SA8775P
2023-02-09 9:57 [PATCH v2 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
2023-02-09 9:57 ` [PATCH v2 1/3] soc: qcom: smem: update max processor count Bartosz Golaszewski
2023-02-09 9:57 ` [PATCH v2 2/3] dt-bindings: arm: qcom: add the SoC ID for SA8775P Bartosz Golaszewski
@ 2023-02-09 9:57 ` Bartosz Golaszewski
2023-02-09 11:17 ` Krzysztof Kozlowski
2023-02-09 17:55 ` Eric Chanudet
2023-03-06 13:27 ` [PATCH v2 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
2023-03-15 23:34 ` Bjorn Andersson
4 siblings, 2 replies; 13+ messages in thread
From: Bartosz Golaszewski @ 2023-02-09 9:57 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Add SocInfo support for SA8775P.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
drivers/soc/qcom/socinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index e24895f98600..a951d0f7d3ba 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -436,6 +436,7 @@ static const struct soc_id soc_id[] = {
{ qcom_board_id(SC7180P) },
{ qcom_board_id(SM6375) },
{ qcom_board_id(SM8550) },
+ { qcom_board_id(SA8775P) },
{ qcom_board_id(QRU1000) },
{ qcom_board_id(QDU1000) },
{ qcom_board_id(QDU1010) },
--
2.37.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH v2 3/3] soc: qcom: socinfo: add support for SA8775P
2023-02-09 9:57 ` [PATCH v2 3/3] soc: qcom: socinfo: add support " Bartosz Golaszewski
@ 2023-02-09 11:17 ` Krzysztof Kozlowski
2023-02-09 17:55 ` Eric Chanudet
1 sibling, 0 replies; 13+ messages in thread
From: Krzysztof Kozlowski @ 2023-02-09 11:17 UTC (permalink / raw)
To: Bartosz Golaszewski, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski
Cc: linux-arm-msm, linux-kernel, devicetree, Bartosz Golaszewski
On 09/02/2023 10:57, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> Add SocInfo support for SA8775P.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> ---
> drivers/soc/qcom/socinfo.c | 1 +
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 1/3] soc: qcom: smem: update max processor count
2023-02-09 9:57 ` [PATCH v2 1/3] soc: qcom: smem: update max processor count Bartosz Golaszewski
@ 2023-02-09 17:54 ` Eric Chanudet
0 siblings, 0 replies; 13+ messages in thread
From: Eric Chanudet @ 2023-02-09 17:54 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, linux-arm-msm, linux-kernel, devicetree,
Bartosz Golaszewski
On Thu, Feb 09, 2023 at 10:57:51AM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> Update max processor count to reflect the number of co-processors on
> SA8775P SoCs.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> ---
> drivers/soc/qcom/smem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Eric Chanudet <echanude@redhat.com>
Tested-by: Eric Chanudet <echanude@redhat.com>
--
Eric Chanudet
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 2/3] dt-bindings: arm: qcom: add the SoC ID for SA8775P
2023-02-09 9:57 ` [PATCH v2 2/3] dt-bindings: arm: qcom: add the SoC ID for SA8775P Bartosz Golaszewski
@ 2023-02-09 17:55 ` Eric Chanudet
2023-02-10 8:58 ` Krzysztof Kozlowski
0 siblings, 1 reply; 13+ messages in thread
From: Eric Chanudet @ 2023-02-09 17:55 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, linux-arm-msm, linux-kernel, devicetree,
Bartosz Golaszewski, Krzysztof Kozlowski
On Thu, Feb 09, 2023 at 10:57:52AM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> Add the SoC ID entry for SA8775P.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> include/dt-bindings/arm/qcom,ids.h | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Eric Chanudet <echanude@redhat.com>
Tested-by: Eric Chanudet <echanude@redhat.com>
--
Eric Chanudet
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 3/3] soc: qcom: socinfo: add support for SA8775P
2023-02-09 9:57 ` [PATCH v2 3/3] soc: qcom: socinfo: add support " Bartosz Golaszewski
2023-02-09 11:17 ` Krzysztof Kozlowski
@ 2023-02-09 17:55 ` Eric Chanudet
1 sibling, 0 replies; 13+ messages in thread
From: Eric Chanudet @ 2023-02-09 17:55 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, linux-arm-msm, linux-kernel, devicetree,
Bartosz Golaszewski
On Thu, Feb 09, 2023 at 10:57:53AM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> Add SocInfo support for SA8775P.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> ---
> drivers/soc/qcom/socinfo.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Eric Chanudet <echanude@redhat.com>
Tested-by: Eric Chanudet <echanude@redhat.com> # sa8775p-ride
--
Eric Chanudet
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 2/3] dt-bindings: arm: qcom: add the SoC ID for SA8775P
2023-02-09 17:55 ` Eric Chanudet
@ 2023-02-10 8:58 ` Krzysztof Kozlowski
2023-02-10 14:52 ` Eric Chanudet
0 siblings, 1 reply; 13+ messages in thread
From: Krzysztof Kozlowski @ 2023-02-10 8:58 UTC (permalink / raw)
To: Eric Chanudet, Bartosz Golaszewski
Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, linux-arm-msm, linux-kernel, devicetree,
Bartosz Golaszewski
On 09/02/2023 18:55, Eric Chanudet wrote:
> On Thu, Feb 09, 2023 at 10:57:52AM +0100, Bartosz Golaszewski wrote:
>> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>>
>> Add the SoC ID entry for SA8775P.
>>
>> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
>> include/dt-bindings/arm/qcom,ids.h | 1 +
>> 1 file changed, 1 insertion(+)
>
> Reviewed-by: Eric Chanudet <echanude@redhat.com>
> Tested-by: Eric Chanudet <echanude@redhat.com>
How can you test a header? What type of testing Redhat does on the headers?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 2/3] dt-bindings: arm: qcom: add the SoC ID for SA8775P
2023-02-10 8:58 ` Krzysztof Kozlowski
@ 2023-02-10 14:52 ` Eric Chanudet
2023-02-11 11:39 ` Krzysztof Kozlowski
0 siblings, 1 reply; 13+ messages in thread
From: Eric Chanudet @ 2023-02-10 14:52 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Bartosz Golaszewski, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, linux-arm-msm, linux-kernel,
devicetree, Bartosz Golaszewski
On Fri, Feb 10, 2023 at 09:58:29AM +0100, Krzysztof Kozlowski wrote:
> On 09/02/2023 18:55, Eric Chanudet wrote:
> > On Thu, Feb 09, 2023 at 10:57:52AM +0100, Bartosz Golaszewski wrote:
> >> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> >>
> >> Add the SoC ID entry for SA8775P.
> >>
> >> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> >> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> >> ---
> >> include/dt-bindings/arm/qcom,ids.h | 1 +
> >> 1 file changed, 1 insertion(+)
> >
> > Reviewed-by: Eric Chanudet <echanude@redhat.com>
> > Tested-by: Eric Chanudet <echanude@redhat.com>
>
> How can you test a header? What type of testing Redhat does on the headers?
IIUC that ID is compared against the one read from SMEM by the socinfo
driver. I meant to confirm it matched the number the board I have
returned. My apologies in advance if that was inappropriate.
--
Eric Chanudet
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 2/3] dt-bindings: arm: qcom: add the SoC ID for SA8775P
2023-02-10 14:52 ` Eric Chanudet
@ 2023-02-11 11:39 ` Krzysztof Kozlowski
0 siblings, 0 replies; 13+ messages in thread
From: Krzysztof Kozlowski @ 2023-02-11 11:39 UTC (permalink / raw)
To: Eric Chanudet
Cc: Bartosz Golaszewski, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Rob Herring, Krzysztof Kozlowski, linux-arm-msm, linux-kernel,
devicetree, Bartosz Golaszewski
On 10/02/2023 15:52, Eric Chanudet wrote:
> On Fri, Feb 10, 2023 at 09:58:29AM +0100, Krzysztof Kozlowski wrote:
>> On 09/02/2023 18:55, Eric Chanudet wrote:
>>> On Thu, Feb 09, 2023 at 10:57:52AM +0100, Bartosz Golaszewski wrote:
>>>> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>>>>
>>>> Add the SoC ID entry for SA8775P.
>>>>
>>>> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>>>> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>>> ---
>>>> include/dt-bindings/arm/qcom,ids.h | 1 +
>>>> 1 file changed, 1 insertion(+)
>>>
>>> Reviewed-by: Eric Chanudet <echanude@redhat.com>
>>> Tested-by: Eric Chanudet <echanude@redhat.com>
>>
>> How can you test a header? What type of testing Redhat does on the headers?
>
> IIUC that ID is compared against the one read from SMEM by the socinfo
> driver. I meant to confirm it matched the number the board I have
> returned. My apologies in advance if that was inappropriate.
OK... I would say it is a review then, but can be also this way.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 0/3] arm: qcom: sa8775p: add socinfo support
2023-02-09 9:57 [PATCH v2 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
` (2 preceding siblings ...)
2023-02-09 9:57 ` [PATCH v2 3/3] soc: qcom: socinfo: add support " Bartosz Golaszewski
@ 2023-03-06 13:27 ` Bartosz Golaszewski
2023-03-15 23:34 ` Bjorn Andersson
4 siblings, 0 replies; 13+ messages in thread
From: Bartosz Golaszewski @ 2023-03-06 13:27 UTC (permalink / raw)
To: Bjorn Andersson
Cc: linux-arm-msm, Rob Herring, Konrad Dybcio, linux-kernel,
Andy Gross, devicetree, Bartosz Golaszewski, Krzysztof Kozlowski
On Thu, Feb 9, 2023 at 10:57 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
>
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> This series adds support for qcom-socinfo for SA8775P SoCs.
>
> v1 -> v2:
> - fix ordering of socinfo defines
> - fix the commit subject line for patch 2/3
> - collect the Ack from Krzysztof
>
> Bartosz Golaszewski (3):
> soc: qcom: smem: update max processor count
> dt-bindings: arm: qcom: add the SoC ID for SA8775P
> soc: qcom: socinfo: add support for SA8775P
>
> drivers/soc/qcom/smem.c | 2 +-
> drivers/soc/qcom/socinfo.c | 1 +
> include/dt-bindings/arm/qcom,ids.h | 1 +
> 3 files changed, 3 insertions(+), 1 deletion(-)
>
> --
> 2.37.2
>
Bjorn,
Looks like this is ready to go, so gentle ping.
Bart
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 0/3] arm: qcom: sa8775p: add socinfo support
2023-02-09 9:57 [PATCH v2 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
` (3 preceding siblings ...)
2023-03-06 13:27 ` [PATCH v2 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
@ 2023-03-15 23:34 ` Bjorn Andersson
4 siblings, 0 replies; 13+ messages in thread
From: Bjorn Andersson @ 2023-03-15 23:34 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Konrad Dybcio,
Bartosz Golaszewski, Andy Gross
Cc: Bartosz Golaszewski, devicetree, linux-arm-msm, linux-kernel
On Thu, 9 Feb 2023 10:57:50 +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> This series adds support for qcom-socinfo for SA8775P SoCs.
>
> v1 -> v2:
> - fix ordering of socinfo defines
> - fix the commit subject line for patch 2/3
> - collect the Ack from Krzysztof
>
> [...]
Applied, thanks!
[1/3] soc: qcom: smem: update max processor count
commit: b302c64a3c0a005f39155e9aef5e99ad8a9abbb7
[2/3] dt-bindings: arm: qcom: add the SoC ID for SA8775P
commit: 26a4bf805c6cd88847dd045f6b29d8a20f02d8df
[3/3] soc: qcom: socinfo: add support for SA8775P
commit: 7fa9c5fc1a753ac593904ebe9c4e8628a4240096
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2023-03-15 23:32 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-09 9:57 [PATCH v2 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
2023-02-09 9:57 ` [PATCH v2 1/3] soc: qcom: smem: update max processor count Bartosz Golaszewski
2023-02-09 17:54 ` Eric Chanudet
2023-02-09 9:57 ` [PATCH v2 2/3] dt-bindings: arm: qcom: add the SoC ID for SA8775P Bartosz Golaszewski
2023-02-09 17:55 ` Eric Chanudet
2023-02-10 8:58 ` Krzysztof Kozlowski
2023-02-10 14:52 ` Eric Chanudet
2023-02-11 11:39 ` Krzysztof Kozlowski
2023-02-09 9:57 ` [PATCH v2 3/3] soc: qcom: socinfo: add support " Bartosz Golaszewski
2023-02-09 11:17 ` Krzysztof Kozlowski
2023-02-09 17:55 ` Eric Chanudet
2023-03-06 13:27 ` [PATCH v2 0/3] arm: qcom: sa8775p: add socinfo support Bartosz Golaszewski
2023-03-15 23:34 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).