From patchwork Mon Dec 11 07:49:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mylene Josserand X-Patchwork-Id: 846834 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qDD3uF9t"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ywFWP5PrLz9s83 for ; Mon, 11 Dec 2017 18:50:57 +1100 (AEDT) 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:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XSmMgvjfX2Bh7pgpJPEDMXO6+Wvsx15YMu84KZhoELk=; b=qDD3uF9tCPVMXW pykjKH3MblXnSBeD0ObHQu7mpKnZy4UghJ9Fn0eubzuor/OjiNz2mmA90Gn2YPmnZ/LXqZFhbs6/K 9BljeetOoTdsVAPEdeQ4bhqaeuyPueZl+aVBUVtWF7fcM5YjgWaCBkZMtWAgSYxIemhOgVPnGugok DxNvvyFvKV2V06rFcYqcC+jRQzdmxhF0VUb4VKt41x/qXh6ufZjYHIr+NS21mKqYblgTAb0QNDNn7 /gTYjDxoEYsacDvXA+9yrDumfvOFmmTFp6ncte1M4S41DsSBXzUZNwJW1oTUvmMR4jV8aCK5Z3rt7 qVz5+vn6dJuNbSou5Ijw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eOIrT-0008AD-KI; Mon, 11 Dec 2017 07:50:51 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eOIrA-0007u7-Ri for linux-arm-kernel@lists.infradead.org; Mon, 11 Dec 2017 07:50:35 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 5414A20646; Mon, 11 Dec 2017 08:50:09 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from dell-desktop.lan (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 0D40020390; Mon, 11 Dec 2017 08:50:09 +0100 (CET) From: =?utf-8?q?Myl=C3=A8ne_Josserand?= To: maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH 0/4] Sunxi: Add SMP support on A83T Date: Mon, 11 Dec 2017 08:49:57 +0100 Message-Id: <20171211075001.6100-1-mylene.josserand@free-electrons.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171210_235033_080289_BBB4F0DF X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thomas.petazzoni@free-electrons.com, devicetree@vger.kernel.org, mylene.josserand@free-electrons.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hello everyone, This series adds SMP support for Allwinner Sun8i-a83t with MCPM (Multi-Cluster Power Management). Series information: - Based on last linux-next (next-20171211) - Had dependencies on Chen Yu's patch that add MCPM support: https://patchwork.kernel.org/patch/6402801/ Patch 01: Convert the mcpm driver (initially for A80) to be able to use it for A83T. This SoC has a bit flip that needs to be handled. Patch 02: Add registers nodes (prcm, cpucfg and r_cpucfg) needed for MCPM. Patch 03: Add CCI-400 node for a83t. Patch 04: Fix the use of virtual timers that hangs the kernel in case of SMP support. If you have any remarks/questions, let me know. Thank you in advance, Mylène Mylène Josserand (4): ARM: sunxi: mcpm: Add support for A83T arm: dts: sun8i: a83t: Add registers needed for MCPM arm: dts: sun8i: a83t: Add CCI-400 node arm: dts: sun8i: a83t: Set timer node to use phy timer arch/arm/boot/dts/sun8i-a83t.dtsi | 57 +++++++++++++++++++++++++ arch/arm/mach-sunxi/Kconfig | 1 + arch/arm/mach-sunxi/mcpm.c | 90 ++++++++++++++++++++++++++++++++++++--- 3 files changed, 143 insertions(+), 5 deletions(-) Tested-by: Corentin Labbe