RE: [RESEND,PATCH v2 1/1] riscv: Add timer_get_us() for tracing

2020-11-11 Thread Pragnesh Patel
rick >; Alan Kao >Subject: Re: [RESEND,PATCH v2 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 > >> Hi Rick, >> >> >-Ori

Re: [RESEND,PATCH v2 1/1] riscv: Add timer_get_us() for tracing

2020-11-09 Thread Rick Chen
gt;Kadam ; Simon Glass ; Sean > >Anderson ; palmerdabb...@google.com; rick > >; Alan Kao > >Subject: Re: [RESEND,PATCH v2 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

RE: [RESEND,PATCH v2 1/1] riscv: Add timer_get_us() for tracing

2020-11-09 Thread Pragnesh Patel
rick >; Alan Kao >Subject: Re: [RESEND,PATCH v2 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 > >> From: Pragnesh Patel [mailto:pragnesh.pa...@sifive.com] &g

Re: [RESEND,PATCH v2 1/1] riscv: Add timer_get_us() for tracing

2020-11-09 Thread Rick Chen
t; Jian-Zhi Chen(陳建志); Pragnesh Patel; Sean Anderson; Claudiu Beznea; Simon Glass > Subject: [RESEND,PATCH v2 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 > a timer ticks and

[RESEND,PATCH v2 1/1] riscv: Add timer_get_us() for tracing

2020-11-05 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 --- drivers/timer/andes_plmt_timer.c | 16 +++-