From: Krzysztof Kozlowski <hidden> Date: 2021-08-05 07:23:01
The GIC-400 CPU interfaces address range is defined as 0x2000-0x3FFF (by
ARM).
Reported-by: Sam Protsenko <semen.protsenko@linaro.org>
Reported-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Krzysztof Kozlowski <redacted>
---
arch/arm64/boot/dts/exynos/exynos7.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Krzysztof Kozlowski <hidden> Date: 2021-08-05 07:36:55
On 05/08/2021 09:21, Krzysztof Kozlowski wrote:
The GIC-400 CPU interfaces address range is defined as 0x2000-0x3FFF (by
ARM).
I underestimated the issue - this is actually bug as there is a GICC_DIR
register at offset 0x1000. Therefore:
Fixes: b9024cbc937d ("arm64: dts: Add initial device tree support for exynos7")
quoted hunk
Reported-by: Sam Protsenko <semen.protsenko@linaro.org>
Reported-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Krzysztof Kozlowski <redacted>
---
arch/arm64/boot/dts/exynos/exynos7.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-----Original Message-----
From: Krzysztof Kozlowski <redacted>
Sent: 05 August 2021 13:07
To: Rob Herring <robh+dt@kernel.org>; devicetree@vger.kernel.org; linux-
arm-kernel@lists.infradead.org; linux-samsung-soc@vger.kernel.org; linux-
kernel@vger.kernel.org
Cc: Alim Akhtar <alim.akhtar@samsung.com>; Chanwoo Choi
[off-list ref]; Pankaj Dubey [off-list ref];
Sam Protsenko [off-list ref]; Marc Zyngier
[off-list ref]
Subject: Re: [PATCH] arm64: dts: exynos: correct GIC CPU interfaces address
range on Exynos7
On 05/08/2021 09:21, Krzysztof Kozlowski wrote:
quoted
The GIC-400 CPU interfaces address range is defined as 0x2000-0x3FFF
(by ARM).
Looking at DDI0471B_gic400_r0p1_trm.pdf, CPU interface range is 0x0000 ~ 0x10000
I underestimated the issue - this is actually bug as there is a GICC_DIR
register at offset 0x1000. Therefore:
Looking at the exynos7 and exynos5433 UMs looks like GICC_DIR is at offset 0x2100 (from 0x1100_0000 GIC base)
It is possible for you to cross check once?
Fixes: b9024cbc937d ("arm64: dts: Add initial device tree support for
exynos7")
quoted
Reported-by: Sam Protsenko <semen.protsenko@linaro.org>
Reported-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Krzysztof Kozlowski <redacted>
---
arch/arm64/boot/dts/exynos/exynos7.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Krzysztof Kozlowski <hidden> Date: 2021-08-05 09:43:45
On 05/08/2021 11:26, Alim Akhtar wrote:
Hi Krzysztof,
quoted
-----Original Message-----
From: Krzysztof Kozlowski <redacted>
Sent: 05 August 2021 13:07
To: Rob Herring <robh+dt@kernel.org>; devicetree@vger.kernel.org; linux-
arm-kernel@lists.infradead.org; linux-samsung-soc@vger.kernel.org; linux-
kernel@vger.kernel.org
Cc: Alim Akhtar <alim.akhtar@samsung.com>; Chanwoo Choi
[off-list ref]; Pankaj Dubey [off-list ref];
Sam Protsenko [off-list ref]; Marc Zyngier
[off-list ref]
Subject: Re: [PATCH] arm64: dts: exynos: correct GIC CPU interfaces address
range on Exynos7
On 05/08/2021 09:21, Krzysztof Kozlowski wrote:
quoted
The GIC-400 CPU interfaces address range is defined as 0x2000-0x3FFF
(by ARM).
Looking at DDI0471B_gic400_r0p1_trm.pdf, CPU interface range is 0x0000 ~ 0x10000
quoted
I underestimated the issue - this is actually bug as there is a GICC_DIR
register at offset 0x1000. Therefore:
Looking at the exynos7 and exynos5433 UMs looks like GICC_DIR is at offset 0x2100 (from 0x1100_0000 GIC base)
It is possible for you to cross check once?
From: Krzysztof Kozlowski <hidden> Date: 2021-08-05 09:45:31
On 05/08/2021 11:43, Krzysztof Kozlowski wrote:
On 05/08/2021 11:26, Alim Akhtar wrote:
quoted
Hi Krzysztof,
quoted
-----Original Message-----
From: Krzysztof Kozlowski <redacted>
Sent: 05 August 2021 13:07
To: Rob Herring <robh+dt@kernel.org>; devicetree@vger.kernel.org; linux-
arm-kernel@lists.infradead.org; linux-samsung-soc@vger.kernel.org; linux-
kernel@vger.kernel.org
Cc: Alim Akhtar <alim.akhtar@samsung.com>; Chanwoo Choi
[off-list ref]; Pankaj Dubey [off-list ref];
Sam Protsenko [off-list ref]; Marc Zyngier
[off-list ref]
Subject: Re: [PATCH] arm64: dts: exynos: correct GIC CPU interfaces address
range on Exynos7
On 05/08/2021 09:21, Krzysztof Kozlowski wrote:
quoted
The GIC-400 CPU interfaces address range is defined as 0x2000-0x3FFF
(by ARM).
Looking at DDI0471B_gic400_r0p1_trm.pdf, CPU interface range is 0x0000 ~ 0x10000
quoted
I underestimated the issue - this is actually bug as there is a GICC_DIR
register at offset 0x1000. Therefore:
Looking at the exynos7 and exynos5433 UMs looks like GICC_DIR is at offset 0x2100 (from 0x1100_0000 GIC base)
It is possible for you to cross check once?
That's a mistake in Exynos manual. GICC_DIR is at 0x1000:
0x1000 from CPU base offset, so 0x3000 from GIC base.
-----Original Message-----
From: Krzysztof Kozlowski <redacted>
Sent: 05 August 2021 15:15
To: Alim Akhtar <alim.akhtar@samsung.com>; 'Rob Herring'
[off-list ref]; devicetree@vger.kernel.org; linux-arm-
kernel@lists.infradead.org; linux-samsung-soc@vger.kernel.org; linux-
kernel@vger.kernel.org
Cc: 'Chanwoo Choi' <cw00.choi@samsung.com>; 'Pankaj Dubey'
[off-list ref]; 'Sam Protsenko'
[off-list ref]; 'Marc Zyngier' [off-list ref]
Subject: Re: [PATCH] arm64: dts: exynos: correct GIC CPU interfaces address
range on Exynos7
On 05/08/2021 11:43, Krzysztof Kozlowski wrote:
quoted
On 05/08/2021 11:26, Alim Akhtar wrote:
quoted
Hi Krzysztof,
quoted
-----Original Message-----
From: Krzysztof Kozlowski <redacted>
Sent: 05 August 2021 13:07
To: Rob Herring <robh+dt@kernel.org>; devicetree@vger.kernel.org;
linux- arm-kernel@lists.infradead.org;
linux-samsung-soc@vger.kernel.org; linux- kernel@vger.kernel.org
Cc: Alim Akhtar <alim.akhtar@samsung.com>; Chanwoo Choi
[off-list ref]; Pankaj Dubey
[off-list ref];
quoted
quoted
quoted
Sam Protsenko [off-list ref]; Marc Zyngier
[off-list ref]
Subject: Re: [PATCH] arm64: dts: exynos: correct GIC CPU interfaces
address range on Exynos7
On 05/08/2021 09:21, Krzysztof Kozlowski wrote:
quoted
The GIC-400 CPU interfaces address range is defined as
0x2000-0x3FFF (by ARM).
Looking at DDI0471B_gic400_r0p1_trm.pdf, CPU interface range is
0x0000 ~ 0x10000
quoted
I underestimated the issue - this is actually bug as there is a
GICC_DIR register at offset 0x1000. Therefore:
Looking at the exynos7 and exynos5433 UMs looks like GICC_DIR is at
offset 0x2100 (from 0x1100_0000 GIC base) It is possible for you to cross
check once?
quoted
quoted
That's a mistake in Exynos manual. GICC_DIR is at 0x1000:
0x1000 from CPU base offset, so 0x3000 from GIC base.
From: Sam Protsenko <semen.protsenko@linaro.org> Date: 2021-08-05 11:26:54
Hi Krzysztof,
On Thu, 5 Aug 2021 at 10:22, Krzysztof Kozlowski
[off-list ref] wrote:
The GIC-400 CPU interfaces address range is defined as 0x2000-0x3FFF (by
ARM).
Reported-by: Sam Protsenko <semen.protsenko@linaro.org>
Reported-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Krzysztof Kozlowski <redacted>
---
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
From: Krzysztof Kozlowski <hidden> Date: 2021-08-09 10:40:12
On Thu, 5 Aug 2021 09:21:10 +0200, Krzysztof Kozlowski wrote:
The GIC-400 CPU interfaces address range is defined as 0x2000-0x3FFF (by
ARM).
Applied, thanks!
[1/1] arm64: dts: exynos: correct GIC CPU interfaces address range on Exynos7
commit: 01c72cad790cb6cd3ccbe4c1402b6cb6c6bbffd0
Best regards,
--
Krzysztof Kozlowski [off-list ref]