aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDinesh Maniyam <dinesh.maniyam@intel.com>2022-06-01 15:57:25 +0800
committerTien Fong Chee <tien.fong.chee@intel.com>2022-06-17 16:27:05 +0800
commitd192adafebcd5e742a229aedbdcc7d6957d68f02 (patch)
treee467e18924e43c3717c024d4fbdf3290eb29935f
parent5474fb894cba4de1f8735e02155ca85d81af03de (diff)
downloadu-boot-d192adafebcd5e742a229aedbdcc7d6957d68f02.zip
u-boot-d192adafebcd5e742a229aedbdcc7d6957d68f02.tar.gz
u-boot-d192adafebcd5e742a229aedbdcc7d6957d68f02.tar.bz2
drivers: cache: ncore: Disable snoop filter
There is hardware bug in NCORE CCU IP and it is causing an issue in the coherent directory tracking of outstanding cache lines. The workaround is disabling snoop filter. Signed-off-by: Dinesh Maniyam <dinesh.maniyam@intel.com> Reviewed-by: Tien Fong Chee <tien.fong.chee@intel.com>
-rw-r--r--drivers/cache/cache-ncore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/cache/cache-ncore.c b/drivers/cache/cache-ncore.c
index 3beff78..117d2b9 100644
--- a/drivers/cache/cache-ncore.c
+++ b/drivers/cache/cache-ncore.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
/*
- * Copyright (C) 2019 Intel Corporation <www.intel.com>
+ * Copyright (C) 2019-2022 Intel Corporation <www.intel.com>
*
*/
#include <dm.h>
@@ -81,8 +81,8 @@ static void ncore_ccu_init_dirs(void __iomem *base)
hang();
}
- /* Enable snoop filter, a bit per snoop filter */
- setbits_le32((ulong)CCU_DIR_REG_ADDR(base, DIRUSFER, i),
+ /* Disable snoop filter, a bit per snoop filter */
+ clrbits_le32((ulong)CCU_DIR_REG_ADDR(base, DIRUSFER, i),
BIT(f));
}
}