RE: clock_gettime function doesn't scale to real time.. and changing CNTFRQ_EL0 doesn't make any change..(arm64)

2022-11-08 Thread Siddh Raman Pant
On Tue, 08 Nov 2022 10:45:55 +0530 Chan Kim wrote: > > Hello all, > > I fixed this problem and now the time measurement and commands like sleep > works just fine. > > Two points I fixed : > - I had 'clock-frequency' property set with wrong frequency in my timer node > in the device tree so I

RE: clock_gettime function doesn't scale to real time.. and changing CNTFRQ_EL0 doesn't make any change..(arm64)

2022-11-07 Thread Chan Kim
omeone later. >Thank you! > >Chan Kim > >>-Original Message- >>From: Chan Kim >>Sent: Saturday, November 5, 2022 8:46 PM >>To: 'Siddh Raman Pant' >>Cc: 'Kernel Newbies' >>Subject: RE: clock_gettime function doesn't scale to real time.. and >&g

RE: clock_gettime function doesn't scale to real time.. and changing CNTFRQ_EL0 doesn't make any change..(arm64)

2022-11-07 Thread Chan Kim
t;-Original Message- >>From: Siddh Raman Pant >>Sent: Saturday, November 5, 2022 4:51 AM >>To: Chan Kim >>Cc: Kernel Newbies >>Subject: Re: clock_gettime function doesn't scale to real time.. and >>changing CNTFRQ_EL0 doesn't make any change..(arm64) >> &

RE: clock_gettime function doesn't scale to real time.. and changing CNTFRQ_EL0 doesn't make any change..(arm64)

2022-11-05 Thread Chan Kim
the pc_clock_gettime function as you showed to see how it works. Thanks for the advices. Chan Kim >-Original Message- >From: Siddh Raman Pant >Sent: Saturday, November 5, 2022 4:51 AM >To: Chan Kim >Cc: Kernel Newbies >Subject: Re: clock_gettime function doesn't scale to real ti

Re: clock_gettime function doesn't scale to real time.. and changing CNTFRQ_EL0 doesn't make any change..(arm64)

2022-11-04 Thread Siddh Raman Pant
On Fri, 04 Nov 2022 14:34:15 +0530, Chan Kim wrote: > Hello linux experts and newbies, > > I have ported linux on our arm64 fpga board. Both 5.10.0 and 5.15.xx works > ok with minimal config. > > I have run a simple application and timed the processing time using > clock_gettime function. > >

Re: clock_gettime function doesn't scale to real time.. and changing CNTFRQ_EL0 doesn't make any change..(arm64)

2022-11-04 Thread Linus Probert
On Fri, Nov 04, 2022 at 06:04:15PM +0900, Chan Kim wrote: > Hello linux experts and newbies, > > I have ported linux on our arm64 fpga board. Both 5.10.0 and 5.15.xx works > ok with minimal config. > I have run a simple application and timed the processing time using > clock_gettime function. >

clock_gettime function doesn't scale to real time.. and changing CNTFRQ_EL0 doesn't make any change..(arm64)

2022-11-04 Thread Chan Kim
Hello linux experts and newbies, I have ported linux on our arm64 fpga board. Both 5.10.0 and 5.15.xx works ok with minimal config. I have run a simple application and timed the processing time using clock_gettime function. It felt like it took almost 2.3 seconds but the program say it took only