mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
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:
committed by
Tao Huang
parent
44cbfbc637
commit
bc0263dea7
@@ -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) {
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user