Re: [PATCH 09/11] RISC-V: Support per-hart timebase-frequency

2018-08-07 Thread Atish Patra
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-frequenc

Re: [PATCH 09/11] RISC-V: Support per-hart timebase-frequency

2018-08-06 Thread Palmer Dabbelt
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

Re: [PATCH 09/11] RISC-V: Support per-hart timebase-frequency

2018-08-04 Thread Christoph Hellwig
Actually I had a slight change of heart: I'm going to drop both timebase frequence patches and the enable method documentation one from this series as they aren't strictly required to get a booting qemu kernel.

Re: [PATCH 09/11] RISC-V: Support per-hart timebase-frequency

2018-08-03 Thread Christoph Hellwig
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 p

Re: [PATCH 09/11] RISC-V: Support per-hart timebase-frequency

2018-08-02 Thread Atish Patra
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/ri

[PATCH 09/11] RISC-V: Support per-hart timebase-frequency

2018-08-02 Thread Christoph Hellwig
From: Palmer Dabbelt Follow the updated DT specs and read the timebase-frequency from the CPU 0 node. Signed-off-by: Palmer Dabbelt [hch: updated changelog] Signed-off-by: Christoph Hellwig --- arch/riscv/kernel/time.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-)