Received: by 10.223.185.116 with SMTP id b49csp3506122wrg; Mon, 19 Feb 2018 00:53:16 -0800 (PST) X-Google-Smtp-Source: AH8x227bF/7RWcWKFNq15HfvRgN/Jxw/TxCTZ3oGWCLvmaJjnSXfjjTmot2zH4nVuu/QmRkJ0n2o X-Received: by 10.101.85.15 with SMTP id f15mr11633227pgr.153.1519030395934; Mon, 19 Feb 2018 00:53:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519030395; cv=none; d=google.com; s=arc-20160816; b=pdbfa1GEgPMCT0jIjh6GxhHlDcY0JuHFw1zSrr/Nu8d0D3iM+cLfIxyBPCk17ms5wH JxCq8pR8VNcF1x+S2FWlVKLsvc+BVQgEuABrs0OP49gBhJ5bfxZHxULaQTLO54B1YI5D 45SINmv1y9uJCfMLtXvn7qB1S5MVI0YAidbvvHyBSYwe1Ub++McQ6Q9cBlN3N9MHjO+u hfMCfUqaqINyEtw1RWZZ5jZFwQsOCJI5RHRdYp4g01nnYQig3MRLGpWYxwoh90yUqy7h q9VohaJuZ2JC71kox7BapVS9hazDiVcT0xwNbTlSebptHGlXdi2VClEAFoL0vxJ4cdty 3hxg== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=ycdeQPJwNWh6Tugl77e2x78tKrQ+Mpd4m+iqU2jQlAY=; b=J8POMIrO1VyukoIpsQMaOzxiv2M6GWFzXhlnhUl4hlumEjQWGBH49yiUVBZFMp1d3u fn66o3KWbD2tbKQyqXP3v5b/1LfdH7xcs4cDMEzmA+1qfREtK+tOx3imvgyvhSzdY0rf MWht2O59mkN54t9XsyLvwLEU4Jzw9Rn9bU4x2tJIEMZe6gXWcJpGCL8/CBpcrZCamd+x AypOJjL/Mc9wgqzZSGL8oO/Xij+qzFngpbE6nahfMq3e91vkrZMizO/ohKh5Gct64QaH v5Tm9GsJ9XjNCyF46JWut/9s/9eB5SrW3GFgC1hLzLVKzUkT94v+Y5ZqGBwJYHPzC48r icPQ== 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 y14-v6si5913723plr.485.2018.02.19.00.53.01; Mon, 19 Feb 2018 00:53:15 -0800 (PST) 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 S1752318AbeBSIwT (ORCPT + 99 others); Mon, 19 Feb 2018 03:52:19 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:56097 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752232AbeBSIwR (ORCPT ); Mon, 19 Feb 2018 03:52:17 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 72B5B20715; Mon, 19 Feb 2018 09:52:15 +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, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 2E6AD2046F; Mon, 19 Feb 2018 09:52:05 +0100 (CET) Date: Mon, 19 Feb 2018 09:52:05 +0100 From: Maxime Ripard To: =?iso-8859-1?Q?Myl=E8ne?= Josserand Cc: wens@csie.org, linux@armlinux.org.uk, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, clabbe.montjoie@gmail.com, thomas.petazzoni@bootlin.com, quentin.schulz@bootlin.com Subject: Re: [PATCH v3 6/7] arm: dts: sun8i: a83t: Fix undefined offset with virtual timer Message-ID: <20180219085205.jh6bcmbzcxqffkhk@flea.lan> References: <20180219081837.15482-1-mylene.josserand@bootlin.com> <20180219081837.15482-7-mylene.josserand@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="swcqkmnxnqqwxqtn" Content-Disposition: inline In-Reply-To: <20180219081837.15482-7-mylene.josserand@bootlin.com> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --swcqkmnxnqqwxqtn Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Feb 19, 2018 at 09:18:36AM +0100, Myl=E8ne Josserand wrote: > The ARM architected timers use an offset between their physical and > virtual counters. That offset should be configured by the bootloader > in CNTVOFF. >=20 > However, the A83t bootloader fails to do so, and we end up with an > undefined offset (which in our case is random), meaning that each CPU > will have a different time, which isn't working very well. >=20 > Fix that by setting the arm,cpu-registers-not-fw-configured that will > make Linux use the physical timers instead of the virtual ones. One > possible side effect would be that the virtualization features would > be disabled. However, due to the way the GIC has been integrated in > the system, it is already unusable so we're effectively not losing any > feature. >=20 > Signed-off-by: Myl=E8ne Josserand One small nitpick on this one (and the previous one), arm in the subject prefix should be uppercase. Thanks! Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com --swcqkmnxnqqwxqtn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlqKkDQACgkQ0rTAlCFN r3SXPQ/9HiMOITN6rhCMOcwolM6if0cK1KZMFq1LLftQXV5N/6JUdehvV7aSZfC6 YRGq3Nmz33cgnwnZcuZzWTwSSCOwtQox2P6G91q5W/nT8cMvP+nS6j8RoNVAdxkn SfqI+yJzAxkW9fJy2lWtohIzPRShorGlnkEhq9hK7/6W5dQtEXUEKvjrY2eW2RPy UmV4XtPcXGb++A+mnLyTq7NtcYu4zFRkrierrVefi6GHFeHlxIlWqP2KdkpZl5qM mV+pulcZhMT/7u8EwBYlJI/0eAPz7IkwzqCFAn4K3oV6RwXP4Icx0aejgbcMyspB ySy4L1XxqzuB9zxZX/bPyeo9vFddMULl39w+K23Ivil0KIdo9Ec8aDegpSOa+4zW z5fZkoJmMdYtA1ZPA9G2p9NHk4akNoEniZxhA3L2HmJ1wcXcYW8wOxLuGCHU/Len SgiJyg0I+X5v4smtcNrvoILH9KcuvLzUjDFInqaiGCJyUWaoqbeNcer6UpX7in8s kMVllEu6QXYaIrQ2khujCknj4InyMqv1pgIoOuYULbxxZ1g/B/UYng9okd3kw1Am Oyakr/GgPLtE14cHmqBu9wLVkYclzvIULNVqzHvDWAgaGphw0JLtx8XKzeDfClfU juEzyz1BaDY+zWYZ8eaoaZ2QGpBrK5xVFsl6z++20HykBUwsE0I= =s1e8 -----END PGP SIGNATURE----- --swcqkmnxnqqwxqtn--