From patchwork Sun Mar 18 17:11:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Monakov X-Patchwork-Id: 10291267 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EDCCB60291 for ; Sun, 18 Mar 2018 17:12:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6F2D28EED for ; Sun, 18 Mar 2018 17:12:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B825A28EF3; Sun, 18 Mar 2018 17:12:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 78B6A28EED for ; Sun, 18 Mar 2018 17:12:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:Message-ID: In-Reply-To:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TmB+xTFw4xulRat29UE2pK4ezW5Q0jRJBjDwDIvGcoc=; b=icjGtUyINnUxCq X0M0lFecX/K8/qaVHN9WnZmKMTFGtYSrs0KfBDZWdGXrE8U01UVM1Gz277D+l37GfU72XOJFIdDjJ CdF05ylFR0ws8TWkpewOb9nyHmDtRxSyMoailz1N0FBAtDtZ+I+4SOyG+Y+Wpp1fFasYD9ejlwxlF KtJguSAb21JWtUa1PAbeMJGNNlEZ5ZLLxfxSqs+PCWGOEiI94516znKz05vL4bEL7j07MXV3uDAmt uAQZde7pK9mPmMPuUxPmwEiOBlMr1KucFtK9McQEFTWQalXqvZNFeh7pTRbJMaUod4JwhUl9CTQqq vAmA+fy3LCB6Syh/loAQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1exbr5-0001I4-9f; Sun, 18 Mar 2018 17:12:23 +0000 Received: from bran.ispras.ru ([83.149.199.196] helo=smtp.ispras.ru) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1exbr1-0001Gd-Fd for linux-arm-kernel@lists.infradead.org; Sun, 18 Mar 2018 17:12:21 +0000 Received: from monopod.intra.ispras.ru (monopod.intra.ispras.ru [10.10.3.121]) by smtp.ispras.ru (Postfix) with ESMTP id C023F2127F; Sun, 18 Mar 2018 20:12:00 +0300 (MSK) Date: Sun, 18 Mar 2018 20:11:49 +0300 (MSK) From: Alexander Monakov To: Jisheng Zhang Subject: [PATCHv2 1/8] ARM: berlin: extend BG2CD Kconfig entry In-Reply-To: <20180314135832.0ebdeb66@xhacker.debian> Message-ID: References: <20180311160008.22928-1-amonakov@ispras.ru> <20180311160008.22928-2-amonakov@ispras.ru> <20180314135832.0ebdeb66@xhacker.debian> User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180318_101219_720452_022A1C3E X-CRM114-Status: UNSURE ( 6.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Antoine Tenart , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP BG2CD SoC uses r3p0 Cortex-A9 MPCore single-CPU cluster. Autoselect pertinent errata, the SCU and the global timer, and allow use of the local timer on uniprocessor kernels. PL310 L2 cache controller has revision r3p2; no errata to select. Signed-off-by: Alexander Monakov --- v2: address feedback from Jisheng: * do not autoselect any PL310 errata arch/arm/mach-berlin/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-berlin/Kconfig b/arch/arm/mach-berlin/Kconfig index 63ab1d368625..3d719cf645e3 100644 --- a/arch/arm/mach-berlin/Kconfig +++ b/arch/arm/mach-berlin/Kconfig @@ -23,8 +23,12 @@ config MACH_BERLIN_BG2 config MACH_BERLIN_BG2CD bool "Marvell Armada 1500-mini (BG2CD)" + select ARM_ERRATA_754322 + select ARM_ERRATA_775420 + select ARM_GLOBAL_TIMER select CACHE_L2X0 - select HAVE_ARM_TWD if SMP + select HAVE_ARM_SCU + select HAVE_ARM_TWD select PINCTRL_BERLIN_BG2CD config MACH_BERLIN_BG2Q