Toybrick

标题: rk3588 rk3568 gic v3 的 ITS 问题请教 [打印本页]

作者: songsong    时间: 2022-9-16 11:38
标题: rk3588 rk3568 gic v3 的 ITS 问题请教
买的 rk3588 rk3568 ,在研究 gic v3 的 ITS 时,发现在 irq-gic-v3-its.c 文件里加了 rk 的宏:

if (IS_ENABLED(CONFIG_NO_GKI) &&
            (of_machine_is_compatible("rockchip,rk3568") ||
             of_machine_is_compatible("rockchip,rk3588")))
                tmp &= ~GICR_PENDBASER_SHAREABILITY_MASK;



if (IS_ENABLED(CONFIG_NO_GKI) &&
            (of_machine_is_compatible("rockchip,rk3568") ||
             of_machine_is_compatible("rockchip,rk3588")))
                tmp &= ~GICR_PROPBASER_SHAREABILITY_MASK;


if (IS_ENABLED(CONFIG_NO_GKI) &&
            (of_machine_is_compatible("rockchip,rk3568") ||
             of_machine_is_compatible("rockchip,rk3588")))
                tmp &= ~GITS_CBASER_SHAREABILITY_MASK;


想请教下 为什么需要在这里修改 ITS:关掉 ITS 的SHAREABILITY属性,但是不把这个补丁没有推到社区呢? 会有 GKI 限制啊

作者: songsong    时间: 2022-9-17 16:19
分析了下,,应该是 rk 的 soc 设计上在 3588 也不支持 inner cacheable 的,rk,你们要加油啊




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3