]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: rockchip: fixes the gic400 2nd region size for rk3368
authorCaesar Wang <wxt@rock-chips.com>
Wed, 18 May 2016 14:41:50 +0000 (22:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Aug 2016 16:10:50 +0000 (18:10 +0200)
commit3d2a967d44cc7ab0ae42b19a40c956e1686c8d5d
treefbdc11e403a147abf0bb3a6287150e38cf0db8da
parentedf2ba9be7cb46f070d4c9bcd71e8ea88c730344
arm64: dts: rockchip: fixes the gic400 2nd region size for rk3368

commit ad1cfdf518976447e6b0d31517bad4e3ebbce6bb upstream.

The 2nd additional region is the GIC virtual cpu interface register
base and size.

As the gic400 of rk3368 says, the cpu interface register map as below

:

-0x0000 GICC_CTRL
.
.
.
-0x00fc GICC_IIDR
-0x1000 GICC_IDR

Obviously, the region size should be greater than 0x1000.
So we should make sure to include the GICC_IDR since the kernel will access
it in some cases.

Fixes: b790c2cab5ca ("arm64: dts: add Rockchip rk3368 core dtsi and board dts for the r88 board")
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[added Fixes and stable-cc]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3368.dtsi