summaryrefslogtreecommitdiffstats
path: root/arch/mips64
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2001-02-16 03:26:34 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2001-02-16 03:26:34 +0000
commit32d720e84fb594066b2c3b0e8727a5341e03ebea (patch)
tree855707555dbb1d835eedfefda2602171c6147317 /arch/mips64
parente25ac8bd2505cccb57f4af28acf1fa9a2e024e52 (diff)
Add in support to specify the proper L2 cache line size to eliminate false
sharing.
Diffstat (limited to 'arch/mips64')
-rw-r--r--arch/mips64/config.in2
-rw-r--r--arch/mips64/defconfig1
-rw-r--r--arch/mips64/defconfig-ip221
-rw-r--r--arch/mips64/defconfig-ip271
4 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips64/config.in b/arch/mips64/config.in
index a424f5561..5aa50eb73 100644
--- a/arch/mips64/config.in
+++ b/arch/mips64/config.in
@@ -44,6 +44,7 @@ if [ "$CONFIG_SGI_IP22" = "y" ]; then
define_bool CONFIG_BOARD_SCACHE y
define_bool CONFIG_ARC_MEMORY y
define_bool CONFIG_SGI y
+ define_int CONFIG_L1_CACHE_SHIFT 5
fi
if [ "$CONFIG_SGI_IP27" = "y" ]; then
@@ -52,6 +53,7 @@ if [ "$CONFIG_SGI_IP27" = "y" ]; then
define_bool CONFIG_COHERENT_IO y
define_bool CONFIG_PCI y
define_bool CONFIG_QL_ISP_A64 y
+ define_int CONFIG_L1_CACHE_SHIFT 7
fi
if [ "$CONFIG_ISA" != "y" ]; then
diff --git a/arch/mips64/defconfig b/arch/mips64/defconfig
index 8f8b780b2..84157caef 100644
--- a/arch/mips64/defconfig
+++ b/arch/mips64/defconfig
@@ -24,6 +24,7 @@ CONFIG_ARC64=y
CONFIG_COHERENT_IO=y
CONFIG_PCI=y
CONFIG_QL_ISP_A64=y
+CONFIG_L1_CACHE_SHIFT=7
# CONFIG_ISA is not set
# CONFIG_EISA is not set
# CONFIG_MCA is not set
diff --git a/arch/mips64/defconfig-ip22 b/arch/mips64/defconfig-ip22
index 39518cb59..43b521604 100644
--- a/arch/mips64/defconfig-ip22
+++ b/arch/mips64/defconfig-ip22
@@ -17,6 +17,7 @@ CONFIG_ARC32=y
CONFIG_BOARD_SCACHE=y
CONFIG_ARC_MEMORY=y
CONFIG_SGI=y
+CONFIG_L1_CACHE_SHIFT=5
# CONFIG_ISA is not set
# CONFIG_EISA is not set
# CONFIG_PCI is not set
diff --git a/arch/mips64/defconfig-ip27 b/arch/mips64/defconfig-ip27
index 8f8b780b2..84157caef 100644
--- a/arch/mips64/defconfig-ip27
+++ b/arch/mips64/defconfig-ip27
@@ -24,6 +24,7 @@ CONFIG_ARC64=y
CONFIG_COHERENT_IO=y
CONFIG_PCI=y
CONFIG_QL_ISP_A64=y
+CONFIG_L1_CACHE_SHIFT=7
# CONFIG_ISA is not set
# CONFIG_EISA is not set
# CONFIG_MCA is not set