Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3959365imm; Mon, 6 Aug 2018 13:51:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdUJA1Zw6rRITrA0pA1o2rKYAZKOCZGm35grQPn8QboWEJ5MTTCnK+s8JYMidnXzttvdQiK X-Received: by 2002:a62:3703:: with SMTP id e3-v6mr18766736pfa.117.1533588668004; Mon, 06 Aug 2018 13:51:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533588667; cv=none; d=google.com; s=arc-20160816; b=XDBEoWlerlJJeQclPwqxfDSw8qwGx7r0ywq0MDoqmSaaTvRSp0DtICONGRmVk7KDhm w3CN0pWe7b+4vPBLIhy+pstEJH+Pwn6jauigwNpGTKbLqCIRbFN8r+Au8yY48d0b0pi2 ZBVF51pKRNh/QE/sqOtrTF9xmTdB/zaB19BJvT94IDJfNXFxBbFymxcV5SdGW5rCM8WK B0OOBLCfub0/oSEtJGPWl36F3UF/J6DEteDFAvhER1w+WKUsGNSesDzV06HLlN8/XImk arf+//E622IdvcDkTwdqmSLSwMVXkQ0gBs54qR/EpZljk1N/MwOTB9ENZnag+IrxwM6Y 9wtQ== 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:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature :arc-authentication-results; bh=/SIi06och/J4rq+55NDnmt6+wnMN2uj+Z35u/gBo6Bk=; b=pBV1pEouhG+6t/VwfeYmVNsDkj+8mlgTaTAnbV0bD8sM/5cel4u2xpwGCjzNF3sp3q F1rjFw7wNW6PO9s1OXLBEA5AckL7DoL25EEEtaWI/+Me6gGfTBEtwNgqdO5ypY2PBWAh 8ius643PWQJePG7yZQC7Skx3Cj0Ypi0UHasyBQ/RGJiO5/Yw7D/9DpZtFpCluow2S9ds K25s9rSNpGbFOG/duZNZgjmikCWM8ZWaaZX5OK0MF1n2kNT2HJftI1jSnhJZHQkTRXhr jWpYdp1o6tTxvIyq92v6r/it6nDVZRrYpR4a1KGywMQthFDPKw2rZAx5506M+HrbZV9G xDaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=KMiZrihS; 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 b35-v6si11765823plb.273.2018.08.06.13.50.53; Mon, 06 Aug 2018 13:51:07 -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=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=KMiZrihS; 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 S2387958AbeHFWpK (ORCPT + 99 others); Mon, 6 Aug 2018 18:45:10 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:46823 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727665AbeHFWpK (ORCPT ); Mon, 6 Aug 2018 18:45:10 -0400 Received: by mail-pl0-f65.google.com with SMTP id t17-v6so6103013ply.13 for ; Mon, 06 Aug 2018 13:34:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=/SIi06och/J4rq+55NDnmt6+wnMN2uj+Z35u/gBo6Bk=; b=KMiZrihShMzp/zTyytMtpz0+2SYHiSx+BkXjBuwnhqsM+Kq9NnMhxdZAp8h+D8kARO mfCoyWzqK1mm7gkTFTU96Uk6MYn8ooGdnBhmN7nFDXAVKvxqpy4dVvX+UNkSML34KMO6 c3ouCrM0oyBoVZObTMtkGVAOpqbDczXK1O6oDm+0lxApmmnlOd5ApUwXvammD7wZZ00k PI8KhZdHT6csRuAGVibWNgIiZ9t6i5Q8RIW+WzNHl9kX4tIW1HXphZ4EMsY8dnOVZ2Mm +rDv1lch4w+UY12YhV61XKdEQKyAPsfWkMpr07e7hAmE7/QEzdO5kCMPOWRyGBGNMLj2 yFRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=/SIi06och/J4rq+55NDnmt6+wnMN2uj+Z35u/gBo6Bk=; b=WBSKHsdW+STGgzQKL+ctursjm16PlQnWyr0/IDf3bkFNkmZ4G2g9Y3om5UIZM/CYQH zsxEVB2ZU1BXtW7ZQpe8Z39E9+bDKqqIdzreBuz7eXjxVCpCJ6+/8LeUntFEN99VJWbf zQHC2+4tOSD0ZbeNgfVv37HpL89ObhMYkMi05bbTtnl9Etwlz8uc9IgJiybAueBXWsg3 6ulauK3qoEOAIlEKUHxBGAPn0XlIrdiwpsCNyZw/1R17wR7VnSmoO9qbQ0ComgktPRcx S15jxGZ9KRxv9V4Xg7I4bm2axaZd0ZHWb0V6yteGMfuIQS600zgE8BcMTcAZu5OcAtdk DFwg== X-Gm-Message-State: AOUpUlHBrKnNc4EMPwYWkfiaIDi7pFriO3uc0aQeVzBOE5WaAPPqIjML TUWG8NdwRzZDR9h1N7urtqEsNQ== X-Received: by 2002:a17:902:184:: with SMTP id b4-v6mr15497160plb.340.1533587664132; Mon, 06 Aug 2018 13:34:24 -0700 (PDT) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id m20-v6sm25096182pfg.61.2018.08.06.13.34.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Aug 2018 13:34:23 -0700 (PDT) Date: Mon, 06 Aug 2018 13:34:23 -0700 (PDT) X-Google-Original-Date: Mon, 06 Aug 2018 12:46:19 PDT (-0700) Subject: Re: [PATCH 09/11] RISC-V: Support per-hart timebase-frequency In-Reply-To: <20180803123357.GC18301@lst.de> CC: atish.patra@wdc.com, Christoph Hellwig , 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 From: Palmer Dabbelt To: Christoph Hellwig Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.