Re: armv7 a few tc_counter_mask fixes

2017-12-22 Thread Artturi Alm
On Mon, Sep 18, 2017 at 08:53:43PM +0300, Artturi Alm wrote: > On Mon, Sep 18, 2017 at 03:41:56PM +0300, Artturi Alm wrote: > > On Mon, Sep 18, 2017 at 11:19:09AM +0100, Stuart Henderson wrote: > > > On 2017/09/18 04:28, Artturi Alm wrote: > > > > Do i really need to reference datasheets, or would

Re: armv7 a few tc_counter_mask fixes

2017-09-18 Thread Artturi Alm
On Mon, Sep 18, 2017 at 03:41:56PM +0300, Artturi Alm wrote: > On Mon, Sep 18, 2017 at 11:19:09AM +0100, Stuart Henderson wrote: > > On 2017/09/18 04:28, Artturi Alm wrote: > > > Do i really need to reference datasheets, or would someone explain to me > > > the value of this MSB robbing? > > > >

Re: armv7 a few tc_counter_mask fixes

2017-09-18 Thread Artturi Alm
On Mon, Sep 18, 2017 at 11:19:09AM +0100, Stuart Henderson wrote: > On 2017/09/18 04:28, Artturi Alm wrote: > > Do i really need to reference datasheets, or would someone explain to me > > the value of this MSB robbing? > > I think, if you're proposing a change, you should explain why that >

Re: armv7 a few tc_counter_mask fixes

2017-09-18 Thread Stuart Henderson
On 2017/09/18 04:28, Artturi Alm wrote: > Do i really need to reference datasheets, or would someone explain to me > the value of this MSB robbing? I think, if you're proposing a change, you should explain why that change should be made, rather than asking others to defend the current situation..

Re: armv7 a few tc_counter_mask fixes

2017-09-17 Thread Artturi Alm
On Fri, Sep 01, 2017 at 01:23:35AM +0300, Artturi Alm wrote: > Hi, > > I was looking at /sys/sys/timetc.h: > 46 struct timecounter { > 47 timecounter_get_t *tc_get_timecount; > 48 /* > 49 * This function reads the counter. It is not required to >

armv7 a few tc_counter_mask fixes

2017-08-31 Thread Artturi Alm
Hi, I was looking at /sys/sys/timetc.h: 46 struct timecounter { 47 timecounter_get_t *tc_get_timecount; 48 /* 49 * This function reads the counter. It is not required to 50 * mask any unimplemented bits out, as long as they are