irqchip/gic-v3-its: flush base table if rk356x

Change-Id: Ia2b0dd3d47742c43939eb99d3f8adac8e1107603
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
This commit is contained in:
XiaoDong Huang
2021-01-11 19:51:18 +08:00
committed by Tao Huang
parent 44cbfbc637
commit bc0263dea7

View File

@@ -2355,8 +2355,12 @@ retry_baser:
tmp = baser->val;
if (of_machine_is_compatible("rockchip,rk3568") ||
of_machine_is_compatible("rockchip,rk3566"))
tmp &= ~GITS_BASER_SHAREABILITY_MASK;
of_machine_is_compatible("rockchip,rk3566")) {
if (tmp & GITS_BASER_SHAREABILITY_MASK)
tmp &= ~GITS_BASER_SHAREABILITY_MASK;
else
gic_flush_dcache_to_poc(base, PAGE_ORDER_TO_SIZE(order));
}
if ((val ^ tmp) & GITS_BASER_SHAREABILITY_MASK) {
/*