Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp480647imm; Tue, 7 Aug 2018 23:49:08 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwS7S3XYLr2Yh6qEqcNdvL3F8a0h1/Zauf+gzkgJ6KnpXKSWCJ/aEki5nObbU0res9fnuq7 X-Received: by 2002:a17:902:c6b:: with SMTP id 98-v6mr1336007pls.233.1533710948150; Tue, 07 Aug 2018 23:49:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533710948; cv=none; d=google.com; s=arc-20160816; b=pTiZfAyWVW+fIYrKq/irj5A2fhjNKoB1DGZpR83XmvlNyUqwRgw6VmEpy/8qHfMbAJ I+UIFnNTsK+BnMwxmgC5pR5Outq6VK2f8DzzWPM25Mb2dE2RYODWj9ohu7pg6oM7Bb3j ZX8zcTF+idTug+PoA3vzCcboMjFgwN7w1hHWXQcFzw13J/cRNZVg7qbED2MnHg4QIoP/ WqgpMB03/uq9vh42BBn/JVuK8BSx0pYsGzG6fMFqLgpvC5dBx/m0geYPqbctKvPNHB9H Rdv/uprB9XhOuUJY0O90qgR1gZgaCZLs7jJHiLMCxa9/27pObcunvyY8ne8TZF/KAq8j dd5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=MzNQcyz3n5ZVqxT9LmFFfUWvJRw8fYknt/7oHlYY/ZU=; b=gvN8Yka6i2RyubaeAz6cgi70F27ozZzlMFslf82UBP7uH1mK1YzoMNnK9fD773ugO2 81Js/DmDK61NQ64GyvXHlEg/nY+cYyHx9A4gsyFWWWvktCHdIvWBrmpkPaBMIyiw+WC2 p/0n6CjA/+2Vq0R8Sklj5MvgMXpbwP+REo3M/xUsLO9c1gGAi5siFDgqWnTCay3Xe1hC JfF/tYmETcnM+X2YmCs41OYVh9xMHdgXYDtseIVmi9QZP8KXMDVXwlxkcJzB+OMbKaXi 7tM+60STRWa0BjPOWqLpjFTg28vxMQCeFMSZglD5Dk5a3HCFwlA0qIHQqsmpl5NWEfCF lYow== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=XTpWUxGe; 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 b31-v6si3668461pgl.437.2018.08.07.23.48.53; Tue, 07 Aug 2018 23:49:08 -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; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=XTpWUxGe; 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 S1727167AbeHHJFb (ORCPT + 99 others); Wed, 8 Aug 2018 05:05:31 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:60559 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726954AbeHHJFb (ORCPT ); Wed, 8 Aug 2018 05:05:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1533710846; x=1565246846; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=FpxQH/OYAaUlpNJTt4nGXW12eE4Jmmh7sk8flcywfPk=; b=XTpWUxGeTCFe1LGQsGjJCqxKx94ISX9D+JjFWBrXFhHCxAdfblZMGutI OZAZ/+THkPbfqgsROg0IjVTZLb0xkrpb4SJT7jjewgmqRQH4QqdJwa6ZV MK6zGo+InjNYmd9LUz6id8PJJ1ukEYF2xuuXjg1jp4QipE8f1zU/RKJMq p684aolC1ckZ3XP2mZe6D3wemmewJxOcJ1K1cXHcxlMgmY7VLSCACudsd TvVoTOWIRX6V55YcRhZ+8wPYACj+LNLQcEHrrfH7burzROsk6dijVeY28 LNY86gCy1xEWJPHqFApA2OTPisaKjzMQKfpj8x7gzgJT64iTmdQrxS7st A==; X-IronPort-AV: E=Sophos;i="5.51,456,1526313600"; d="scan'208";a="184347156" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 08 Aug 2018 14:47:25 +0800 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep02.wdc.com with ESMTP; 07 Aug 2018 23:34:54 -0700 Received: from ch8yk72.ad.shared (HELO [10.86.56.196]) ([10.86.56.196]) by uls-op-cesaip01.wdc.com with ESMTP; 07 Aug 2018 23:47:16 -0700 Subject: Re: [PATCH 09/11] RISC-V: Support per-hart timebase-frequency To: Palmer Dabbelt , Christoph Hellwig Cc: "tglx@linutronix.de" , "jason@lakedaemon.net" , "marc.zyngier@arm.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "aou@eecs.berkeley.edu" , "anup@brainfault.org" , "linux-kernel@vger.kernel.org" , "linux-riscv@lists.infradead.org" , "shorne@gmail.com" References: From: Atish Patra Message-ID: Date: Tue, 7 Aug 2018 23:47:13 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/6/18 1:34 PM, Palmer Dabbelt wrote: > On Fri, 03 Aug 2018 05:33:57 PDT (-0700), Christoph Hellwig wrote: >> On Thu, Aug 02, 2018 at 03:19:49PM -0700, Atish Patra wrote: >>> On 8/2/18 4:50 AM, Christoph Hellwig wrote: >>>> From: Palmer Dabbelt >>>> >>>> Follow the updated DT specs and read the timebase-frequency from the >>>> CPU 0 node. >>>> >>> >>> However, the DT in the HighFive Unleashed has the entry at the wrong place. >>> >>> Even the example in github also at wrong place. >>> https://github.com/riscv/riscv-device-tree-doc/pull/8/commits/2461d481329c55005fcbe684f0d6bdb3b7f0a432 >>> >>> DT should be consistent between Documentation and the one in the hardware. >>> I can fix them in bbl & submit a bbl patch. But I am not sure if that's an >>> acceptable way to do it. >> >> I'll need to have comments from Palmer and/or someone else at SiFive >> here. Personally I really don't care where we document the timebase, >> as this patch supports both locations anywhere. For now I'll just update >> the commit log to state that more explicitly. > > You're welcome to submit a BBL patch to make this all match, but from my > understanding of the device tree spec putting timebase-frequency in either > place should be legal so it's not a critical fix. That said, it's better to > have them match than not match. > ok. I will add it my TODO list as a low priority task. Following DT entries can be fixed for now. 1. timebase-frequency 2. next-level-cache Regards, Atish