[rtc-linux] Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer

2016-09-21 Thread Steven Rostedt
On Wed, 21 Sep 2016 09:26:20 +0200 (CEST) Thomas Gleixner wrote: > > As suggested by Steven, change the type of RTC value to save trace buffer. The original code did everything just like the above but stored every value into ints, I just said that the value could be stored

[rtc-linux] Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer

2016-09-21 Thread Steven Rostedt
On Wed, 21 Sep 2016 14:36:23 +0200 (CEST) Thomas Gleixner wrote: > On Wed, 21 Sep 2016, Steven Rostedt wrote: > > On Wed, 21 Sep 2016 09:26:20 +0200 (CEST) > > Thomas Gleixner wrote: > > > A single u64 does not take more storage space than this and it's

[rtc-linux] Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer

2016-09-21 Thread Thomas Gleixner
On Wed, 21 Sep 2016, Steven Rostedt wrote: > On Wed, 21 Sep 2016 09:26:20 +0200 (CEST) > Thomas Gleixner wrote: > > A single u64 does not take more storage space than this and it's a single > > store. > > So to use rtc_tm_to_time64()? Is the work to do the calculations of the

[rtc-linux] Re: [PATCH 1/3] dt-binding: rtc Add DT binding for NXP 85263 RTC

2016-09-21 Thread Alexandre Belloni
Rob, can you review those bindings? On 01/08/2016 at 17:50:32 +0200, Martin Fuzzey wrote : Please always include a commit message. > Signed-off-by: Martin Fuzzey > --- > .../devicetree/bindings/rtc/nxp,pcf85263.txt | 41 > >

[rtc-linux] Re: [PATCH v4 1/2] rtc-cmos: Clear ACPI-driven alarms upon resume

2016-09-21 Thread Alexandre Belloni
Hi, Thank you for your perseverance. On 20/09/2016 at 01:12:43 +0200, Gabriele Mazzotta wrote : > Currently ACPI-driven alarms are not cleared when they wake the > system. As consequence, expired alarms must be manually cleared to > program a new alarm. Fix this by correctly handling ACPI-driven

[rtc-linux] Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer

2016-09-21 Thread Thomas Gleixner
On Wed, 21 Sep 2016, Baolin Wang wrote: > On 21 September 2016 at 06:27, Thomas Gleixner wrote: > >> + TP_fast_assign( > >> + __entry->second = rtc_time->tm_sec; > >> + __entry->minute = rtc_time->tm_min; > >> + __entry->hour =

[rtc-linux] Re: [PATCH v2] rtc-cmos: Reject unsupported alarm values

2016-09-21 Thread Alexandre Belloni
On 02/09/2016 at 21:55:16 +0200, Gabriele Mazzotta wrote : > Some platforms allows to specify the month and day of the month in > which an alarm should go off, some others the day of the month and > some others just the time. > > Currently any given value is accepted by the driver and only the >

[rtc-linux] Re: [PATCH] rtc: ds1347: changed raw spi calls to register map calls

2016-09-21 Thread Alexandre Belloni
On 31/08/2016 at 23:03:58 +0530, Raghavendra Chandra Ganiga wrote : > From 633c012ba6c8f9bc6cf475d2434ca450cd06b18e Mon Sep 17 00:00:00 2001 > From: Raghavendra Ganiga > Date: Wed, 31 Aug 2016 22:56:41 +0530 > Subject: [PATCH] rtc: ds1347: changed raw spi calls to register

[rtc-linux] Re: [PATCH] rtc: ac100: Add NULL checking for devm_kzalloc call

2016-09-21 Thread Alexandre Belloni
On 09/09/2016 at 18:03:54 +0800, Axel Lin wrote : > devm_kzalloc can return NULL, add NULL checking to prevent NULL pointer > dereference. > > Signed-off-by: Axel Lin > --- > drivers/rtc/rtc-ac100.c | 3 +++ > 1 file changed, 3 insertions(+) > Applied, thanks. --