Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932847AbaKPAWQ (ORCPT ); Sat, 15 Nov 2014 19:22:16 -0500 Received: from mail-pd0-f177.google.com ([209.85.192.177]:61167 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932375AbaKPATm (ORCPT ); Sat, 15 Nov 2014 19:19:42 -0500 From: Kevin Cernekee To: ralf@linux-mips.org Cc: f.fainelli@gmail.com, jfraser@broadcom.com, dtor@chromium.org, tglx@linutronix.de, jason@lakedaemon.net, linux-mips@linux-mips.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 14/22] MIPS: BMIPS: Fix L1_CACHE_SHIFT when BMIPS5000 is selected Date: Sat, 15 Nov 2014 16:17:38 -0800 Message-Id: <1416097066-20452-15-git-send-email-cernekee@gmail.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1416097066-20452-1-git-send-email-cernekee@gmail.com> References: <1416097066-20452-1-git-send-email-cernekee@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org BMIPS platforms can select multiple CPUs, in which case we'll need to use the greatest common denominator (= 1 << 7 = 128 bytes, for the BMIPS5000 L2). Signed-off-by: Kevin Cernekee --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 3d56928..c0130ec 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -1473,6 +1473,7 @@ config CPU_BMIPS select WEAK_ORDERING select CPU_SUPPORTS_HIGHMEM select CPU_HAS_PREFETCH + select MIPS_L1_CACHE_SHIFT_7 help Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors. -- 2.1.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/