Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-22 Thread Leo Liang
s.denx.de>; Atish Patra ; > >palmerdabb...@google.com; Bin Meng ; Paul Walmsley > >( Sifive) ; Anup Patel ; Sagar > >Kadam ; Sean Anderson ; > >rick ; Alan Kao > >Subject: Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing > > > >[External Email] Do not click

RE: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-22 Thread Pragnesh Patel
dam ; Sean Anderson ; >rick ; Alan Kao >Subject: Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing > >[External Email] Do not click links or attachments unless you recognize the >sender and know the content is safe > >On Tue, Nov 17, 2020 at 08:30:21AM +, Pr

Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-22 Thread Leo Liang
..@google.com; Bin Meng > >; Paul Walmsley ( Sifive) ; > >Anup Patel ; Sagar Kadam > >; Sean Anderson ; rick > >; Alan Kao ; Leo Liang > > > >Subject: Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing > > > >[External Email] Do not click link

RE: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-17 Thread Pragnesh Patel
lan Kao ; Leo Liang > >Subject: Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing > >[External Email] Do not click links or attachments unless you recognize the >sender and know the content is safe > >Hi Pragnesh > >> From: Pragnesh Patel [mailto:pragnesh.pa.

Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-15 Thread Rick Chen
>Anup Patel ; Sagar Kadam > >; Sean Anderson ; rick > >; Alan Kao ; Leo Liang > > > >Subject: Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing > > > >[External Email] Do not click links or attachments unless you recognize the > >sender a

RE: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-15 Thread Pragnesh Patel
lan Kao ; Leo Liang > >Subject: Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing > >[External Email] Do not click links or attachments unless you recognize the >sender and know the content is safe > >Hi Pragnesh > >> From: Pragnesh Patel [mailto:pragnesh.pa.

Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-13 Thread Rick Chen
ifive.com; Rick > Jian-Zhi Chen(陳建志); Pragnesh Patel; Sean Anderson; Heinrich Schuchardt; Simon > Glass > Subject: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing > > Add timer_get_us() which is useful for tracing. > For S-mode U-Boot, CSR_TIMEH and CSR_TIME will provide >

RE: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-12 Thread Pragnesh Patel
...@wdc.com; Sagar Kadam ; >r...@andestech.com; Sean Anderson >Subject: RE: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing > >Hi Heinrich, > >>-Original Message- >>From: Heinrich Schuchardt >>Sent: 12 November 2020 12:49 >>To: Pragnesh Patel ; Sim

RE: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-11 Thread Pragnesh Patel
dc.com; Sagar Kadam ; >r...@andestech.com; Sean Anderson >Subject: Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing > >[External Email] Do not click links or attachments unless you recognize the >sender and know the content is safe > >On 11/12/20 8:09 AM, Heinrich Schuc

Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-11 Thread Heinrich Schuchardt
t; Cc: atish.pa...@wdc.com; palmerdabb...@google.com; u-boot@lists.denx.de; >>> bmeng...@gmail.com; Paul Walmsley ( Sifive) ; >>> anup.pa...@wdc.com; Sagar Kadam ; >>> r...@andestech.com; Sean Anderson ; Simon Glass >>> >>> Subject: Re: [PATCH v3 1/1] ri

Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-11 Thread Heinrich Schuchardt
bmeng...@gmail.com; Paul Walmsley ( Sifive) ; >> anup.pa...@wdc.com; Sagar Kadam ; >> r...@andestech.com; Sean Anderson ; Simon Glass >> >> Subject: Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing >> >> [External Email] Do not click links or attachments

RE: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-11 Thread Pragnesh Patel
; >r...@andestech.com; Sean Anderson ; Simon Glass > >Subject: Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing > >[External Email] Do not click links or attachments unless you recognize the >sender and know the content is safe > >On 11/11/20 12:56 PM, Pragnesh Pate

Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-11 Thread Heinrich Schuchardt
...@wdc.com; Sagar Kadam ; r...@andestech.com; Sean Anderson ; Simon Glass Subject: Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing [External Email] Do not click links or attachments unless you recognize the sender and know the content is safe On 11.11.20 11:14, Pragnesh Patel wrote: Add

RE: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-11 Thread Pragnesh Patel
; r...@andestech.com; Sean >Anderson ; Simon Glass >Subject: Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing > >[External Email] Do not click links or attachments unless you recognize the >sender and know the content is safe > >On 11.11.20 11:14, Pragnesh Patel wrote:

Re: [PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-11 Thread Heinrich Schuchardt
On 11.11.20 11:14, Pragnesh Patel wrote: > Add timer_get_us() which is useful for tracing. > For S-mode U-Boot, CSR_TIMEH and CSR_TIME will provide > a timer ticks and For M-mode U-Boot, mtime register will > provide the same. > > Signed-off-by: Pragnesh Patel The default implementation of get_ti

[PATCH v3 1/1] riscv: Add timer_get_us() for tracing

2020-11-11 Thread Pragnesh Patel
Add timer_get_us() which is useful for tracing. For S-mode U-Boot, CSR_TIMEH and CSR_TIME will provide a timer ticks and For M-mode U-Boot, mtime register will provide the same. Signed-off-by: Pragnesh Patel --- Changes in v3: - Added gd->arch.plmt in global data - For timer_get_us(), use readq(