Received: by 10.213.65.68 with SMTP id h4csp1537308imn; Mon, 19 Mar 2018 06:56:51 -0700 (PDT) X-Google-Smtp-Source: AG47ELviYBSZKriwJSn5Oj1V1zA7SQ23KahjhmIBI/X9KvaIfOgS45ydgCfMENfkYKo/0XCeyEZq X-Received: by 2002:a17:902:7290:: with SMTP id d16-v6mr12475977pll.31.1521467811432; Mon, 19 Mar 2018 06:56:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521467811; cv=none; d=google.com; s=arc-20160816; b=EbABA1JgCiHwA61tzfeEmce8E/eY6g52w0d16SNO0vTc/UHamR6DVovcvQW0/STI+5 snILL1J/WQEM5go7KP13quOEvNSnuiJPPD4TER2QQaoxL/Pik67py1Zd2gA6baiRotf7 i0GLhX8a5hIYYKSC7X6L5pKNyQpbX1gqPGm6pHDWPFev2uJ1is2Mw33yTkiWnIC8UN0I A0PeopsIj4fRIifywQVW2FGLl/GiZpsYRSxrcoB9U2M03RkJOqEdMAmq2YAeYqlornfa uMAf9DVtBBii9kymAZe/nmeDCAYs5YRuSmXmObf7Gl82xI7C65LUYLQuud8RnUDnEucE 65Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=jBMPxyKklL8xsNZdKgCaEf/R84vlt8ooNI8Y14xzFQs=; b=fR1zE2mNEvT8k3XYSN/YVBpM+jihXi/zI0u52spD+2LKAfyNsHbsQXvOSn9fbSQY/E JadfRwqakpWf6yj8nJjNZfZcutMA6dWYl6rDdcjmGSj+ERhzclUnwRNsBGlVNV8ND1Ye S1ldZBNO5IqW9e4MlYKRksVN/6ZKFgsElxbCP42JHjcBRsTpmYowmMYz9Ur62UOVwUP8 jAMiIH4fsesMbZKNJCUgml0EEkbewVjNdzVJDrX9OC/+5D87a2ctEvsJzUG84qEABVlS f+nQNTMO73hZjraPhL+5NwHm7rIde/Z+6BlP9l6OO9E5SE5CKKP27pWWNUgqVriYfSqs iRkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11-v6si33612pls.520.2018.03.19.06.56.37; Mon, 19 Mar 2018 06:56:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933087AbeCSNzL convert rfc822-to-8bit (ORCPT + 99 others); Mon, 19 Mar 2018 09:55:11 -0400 Received: from mail.bootlin.com ([62.4.15.54]:60672 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755126AbeCSNzI (ORCPT ); Mon, 19 Mar 2018 09:55:08 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 05036200FB; Mon, 19 Mar 2018 14:55:06 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [185.94.189.188]) by mail.bootlin.com (Postfix) with ESMTPSA id 5C677206A0; Mon, 19 Mar 2018 14:55:05 +0100 (CET) Date: Mon, 19 Mar 2018 14:55:05 +0100 From: Maxime Ripard To: Chen-Yu Tsai Cc: =?utf-8?Q?Myl=C3=A8ne?= Josserand , Marc Zyngier , Russell King , Rob Herring , Mark Rutland , devicetree , quentin.schulz@bootlin.com, linux-kernel , LABBE Corentin , Thomas Petazzoni , linux-arm-kernel Subject: Re: [PATCH v4 10/10] ARM: sunxi: smp: Add initialization of CNTVOFF Message-ID: <20180319135505.py4evmbexm2asvlo@flea> References: <20180223133742.26044-1-mylene.josserand@bootlin.com> <20180223133742.26044-11-mylene.josserand@bootlin.com> <6329fbb6-13a1-41fe-f6cf-f2f0d4b2e5f9@arm.com> <20180318200715.363f3135@dell-desktop.home> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: User-Agent: NeoMutt/20180223 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 19, 2018 at 10:14:19AM +0800, Chen-Yu Tsai wrote: > On Mon, Mar 19, 2018 at 3:07 AM, Myl?ne Josserand > wrote: > > Hello Mark, > > > > Please, excuse me for this late answer and thank you for the review! > > > > On Wed, 7 Mar 2018 12:18:33 +0000 > > Marc Zyngier wrote: > > > >> On 23/02/18 13:37, Myl?ne Josserand wrote: > >> > On Cortex-A7, the CNTVOFF register from arch timer is uninitialized. > >> > >> Only on A7? Is that specific to your platform? > > > > I do not really know other Allwinner's platforms about this subject. At > > least, the sun9i-a80 which is a Cortex-a15/a7 does not need that but it > > is necessary for sun8i-a83t which is a cortex-a7. Maybe, Chen-Yu or > > Maxime could help us on it. > > AFAIK all Allwinner CPUs need it if there isn't a firmware (PSCI) layer > beneath the kernel that will do the setup. We just have > "arm,cpu-registers-not-fw-configured" set for all the other SoCs that > have in-kernel SMP support, which includes the A31, A23, A33 and A80. Most of these ones are here for historical reasons though. Now that we have U-Boot properly setting it up, we could probably remove it. Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com