Re: [RFE PATCH 2/2] rtc, add write functionality to sysfs

2013-02-23 Thread Alessandro Zummo
ying there isn't any, its just not clear from your patch why this > is a good thing.) > > Also CC'ing Alessandro for his input. I'd like to keep the interfaces as simple as possible but I'm open to improvements if there are good use cases. -- Best regards, Al

Re: [RFE PATCH 2/2] rtc, add write functionality to sysfs

2013-02-25 Thread Alessandro Zummo
tions? if it's useful, then just go for it. > OOC, Alessandro, why is the date & time split into two fields? because date and time are two different things and we expect sysfs to preferably have one value for each entry. -- Best regards, Alessandro Zummo, Tower Technologies - Torino

Re: [RFE PATCH 1/2] x86, rtc, ntp, Do full rtc synchronization with ntp

2013-02-25 Thread Alessandro Zummo
us objection ;) looks reasonable. I prefer == 0 instead of !rtc_valid_tm(&tm), but it's just a cosmetic issue. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kerne

Re: [rtc-linux] [patch 2.6.24-git] rtc: avoid legacy drivers with generic framework

2008-02-11 Thread Alessandro Zummo
rivers if they want (or need) to. > > Signed-off-by: David Brownell <[EMAIL PROTECTED]> Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list

Re: Re-send of patch to broader audience

2013-06-06 Thread Alessandro Zummo
me. Acked-by: Alessandro Zummo -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 19/36] rtc: convert class code to use dev_groups

2013-07-28 Thread Alessandro Zummo
On Wed, 24 Jul 2013 15:05:22 -0700 Greg Kroah-Hartman wrote: > The dev_attrs field of struct class is going away soon, dev_groups > should be used instead. This converts the rtc class code to use the > correct field. > > Cc: Alessandro Zummo > Signed-off-by:

Re: [rtc-linux] state of GEN_RTC vs rtc subsystem

2008-02-20 Thread Alessandro Zummo
only real open issue is related to the ntp synchronization mode and will be solved only when we can get rid of it :) -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [rtc-linux] Re: state of GEN_RTC vs rtc subsystem

2008-02-20 Thread Alessandro Zummo
ing 254,0. I would eventually ack a patch that adds /dev/rtc at 10,135 as an alias for /dev/rtc0. however the best solution would be to upgrade hwclock. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send t

Re: rtc: vt8500: Fix year field in vt8500_rtc_set_time

2013-01-15 Thread Alessandro Zummo
up the patches directly from the rtc mailing list, unless there's an arch specific tree to carry it. This one seems fine so I'm sure it's just an overlook -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe

Re: [PATCH 3/3 v2] iio: add rtc-driver for HID sensors of type time

2012-12-16 Thread Alessandro Zummo
ed to go in any arch's main tree, which is the suggested way as, with modern chipsets, the RTCs shares hw with many other drivers. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsu

Re: [GIT PATCH] scsi fixes for 2.6.25-rc2

2008-02-26 Thread Alessandro Zummo
C driver in then. It has > > been acked by Jean Delvare and David Brownell. Byron or Jean, can you > > try to submit it again? > > I'm not the driver author and RTC drivers aren't under my > responsibility. Ask Alessandro Zummo instead. I'm all ok for inclusion

Re: [PATCH 0/4] PM: Do not destroy/create devices while suspended (rev. 2)

2008-01-02 Thread Alessandro Zummo
ync stuff should be done outside of the kernel. given the mean accuracy of RTC chips and other sync factors, imho you haven't so much to gain with an in-kernel sync code. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubsc

Re: [PATCH 0/4] PM: Do not destroy/create devices while suspended (rev. 2)

2008-01-02 Thread Alessandro Zummo
the kernel/time/ntp.c stuff should be removed on all systems? I'd say yes, but I think that would be dangerous to my own life :) -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "u

Re: RTC wakealarm write-only, still has 644 permissions

2007-11-29 Thread Alessandro Zummo
On Thu, 29 Nov 2007 10:10:12 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > > I think the right thing to do there is just insist that in the RTC > framework, alarms should always follow the one-shot model. /me agrees. -- Best regards, Alessandro Zummo, Tower Techno

Re: [RESEND] [PATCH] RTC: assure proper memory ordering with respect to RTC_DEV_BUSY flag (was Re: RTC: convert mutex to bitfield)

2007-12-02 Thread Alessandro Zummo
Piggin. > > Signed-off-by: Jiri Kosina <[EMAIL PROTECTED]> missed it, sorry. Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the

Re: [PATCH 1/7] Blackfin RTC driver: the frequency function is in units of Hz, not units of seconds, so lock our driver down to 1 Hz

2007-12-04 Thread Alessandro Zummo
> stampit(); > - rtc->rtc_dev->irq_freq = freq; > - return 0; > + return -ENOTTY; > } .. why ENOTTY here? -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line &q

Re: [rtc-linux] Re: [PATCH 1/7] Blackfin RTC driver: the frequency function is in units of Hz, not units of seconds, so lock our driver down to 1 Hz

2007-12-04 Thread Alessandro Zummo
On Tue, 4 Dec 2007 11:29:11 -0500 "Mike Frysinger" <[EMAIL PROTECTED]> wrote: > > On Dec 4, 2007 11:26 AM, Alessandro Zummo <[EMAIL PROTECTED]> wrote: > > Bryan Wu <[EMAIL PROTECTED]> wrote: > > > > Hi, I fannly got some time to rev

Re: [rtc-linux] Re: [PATCH 1/7] Blackfin RTC driver: the frequency function is in units of Hz, not units of seconds, so lock our driver down to 1 Hz

2007-12-04 Thread Alessandro Zummo
ilities > of the hardware > > sound about right ? yes, it is. I agree about deleting it. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [rtc-linux] Re: [PATCH 1/7] Blackfin RTC driver: the frequency function is in units of Hz, not units of seconds, so lock our driver down to 1 Hz

2007-12-04 Thread Alessandro Zummo
On Tue, 4 Dec 2007 11:56:54 -0500 "Mike Frysinger" <[EMAIL PROTECTED]> wrote: > On Dec 4, 2007 11:49 AM, Alessandro Zummo <[EMAIL PROTECTED]> wrote: > > On Tue, 4 Dec 2007 11:47:56 -0500 > > "Mike Frysinger" <[EMAIL PROTECTED]> wrote: > &

Re: [rtc-linux] Re: BUG: lock held when returning to user space

2007-10-29 Thread Alessandro Zummo
our patch and I'm happy to ack it. Thank you very much a thanks to Gabriel for the bug report! -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: BUG: lock held when returning to user space

2007-10-29 Thread Alessandro Zummo
onvert rtc->char_lock into bit operation. > > Signed-off-by: Jiri Kosina <[EMAIL PROTECTED]> Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this lis

Re: [rtc-linux] [PATCH] rtc: m48t59 fix section mismatch warning

2007-10-30 Thread Alessandro Zummo
t; > WARNING: vmlinux.o(.data+0x1b140): Section mismatch: reference to > .init.text:m48t59_rtc_probe (between 'm48t59_rtc_platdrv' and > 'm48t59_nvram_attr') > > Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Thanks Randy! Signed-off-by: Alessandro Zum

Re: [rtc-linux] [PATCH] s3c2410: fixup after arch moves

2007-07-24 Thread Alessandro Zummo
On Tue, 24 Jul 2007 13:40:04 +0100 Ben Dooks <[EMAIL PROTECTED]> wrote: > > Fixup the changes from moving around the arch > support for s3c24xx based systems. > > Signed-off-by: Ben Dooks <[EMAIL PROTECTED]> Acked-by: Alessandro Zummo <[EMAIL PROTECTED]>

Re: [rtc-linux] Re: rtc-ds1307.c: array overrun

2007-07-24 Thread Alessandro Zummo
CUT HERE > Fix a typo turned up by a Coverity check: referring to the wrong register, > which could cause problems restarting DS1338 RTCs after their oscillator > halted. (For example, if the backup battery died.) > > Signed-off-by: David Brownell <[EMAIL PROTEC

Re: [rtc-linux] Re: rtc max frequency setting

2007-08-04 Thread Alessandro Zummo
is the best way to do that on modern kernels? The rtc class is missing sysfs interface to the maximum settable value. I guess I'll have to add it. I should be able to find the time in the next few days. However, I agree that they both shold be using an userspace high freq timer :)

Re: [rtc-linux] Re: rtc max frequency setting

2007-08-06 Thread Alessandro Zummo
(date, S_IRUGO, rtc_sysfs_show_date, NULL), __ATTR(time, S_IRUGO, rtc_sysfs_show_time, NULL), __ATTR(since_epoch, S_IRUGO, rtc_sysfs_show_since_epoch, NULL), + __ATTR(max_user_freq, S_IRUGO | S_IWUSR, rtc_sysfs_show_max_user_freq, + rtc_s

Re: [rtc-linux] [patch] tweak driver documentation for rtc periodic

2007-11-09 Thread Alessandro Zummo
> Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [patch] remove __devinit markings from rtc_sysfs_add_device()

2007-01-21 Thread Alessandro Zummo
een trying to develop a rtc module and it kept crashing ... after > debugging it, i'm pretty sure ive traced it back to the devinit markings ... > dropping this lets my module load nicely :) thanks for spotting it! Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Bes

Re: [patch/rfc 0/6] rtc framework: remove class_device, use class suspend()/resume()

2007-02-22 Thread Alessandro Zummo
started to circulate, early last summer. > > It'll be good to have that finally gone! Hi David, thanks for your work. The interface system was originally in place because it seemed the right-thing-to-do. if it isn't, better to remove it ;) -- Best regards, Ale

Re: [rtc-linux] Re: [patch/rfc 0/6] rtc framework: remove class_device, use class suspend()/resume()

2007-02-23 Thread Alessandro Zummo
ht Thing may also have changed a bit over time! eheh :) given that Greg also agreed, you have my Acked-By: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this list: send the

rtc-ds1307 driver

2006-12-02 Thread Alessandro Zummo
claims to support. Jean would be very happy if we can remove drivers from i2c/chips ;) -- Best regards, Alessandro Zummo, Tower Technologies - Turin, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [patch 2.6.19-git] RTC Kconfig sorted by type

2006-12-08 Thread Alessandro Zummo
ss" and hard to make > sense of...) > > Signed-off-by: David Brownell <[EMAIL PROTECTED]> Thanks David, I was planning to do that myself.. you saved me some work! :) Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zumm

[PATCH] update MAINTAINERS with rtc-linux maling list info

2006-12-08 Thread Alessandro Zummo
) SUBSYSTEM P: Alessandro Zummo M: [EMAIL PROTECTED] -L: linux-kernel@vger.kernel.org +L: [EMAIL PROTECTED] S: Maintained REISERFS FILE SYSTEM -- Best regards, Alessandro Zummo, Tower Technologies - Turin, Italy http://www.towertech.it - To unsubscribe from this list

Re: [rtc-linux] [patch 2.6.19-git] rts-rs5c372 updates: more chips, alarm, 12hr mode, etc

2006-12-09 Thread Alessandro Zummo
ork on that board; the original > code to fetch the trim was broken. If "mode 1" really won't work, > that's almost certainly a bug in that board's I2C driver. Riku, can you please test it on your platform to see if mode 1 works nicely? -- Best reg

Re: [patch 2.6.19-git] rtc framework: rtc_wkalrm.enabled reporting updates

2006-12-12 Thread Alessandro Zummo
g their own thing here... > > Signed-off-by: David Brownell <[EMAIL PROTECTED]> Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies - Turin, Italy http://www.towertech.it - To unsubscribe from this list: send the line

Re: [patch 2.6.19-git] rtc, remove syslog spam on registration

2006-12-12 Thread Alessandro Zummo
id, please also cc [EMAIL PROTECTED] on future patches. Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies - Turin, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubscribe linux-kernel&q

Re: [patch 2.6.19-git] rts-rs5c372 updates: more chips, alarm, 12hr mode, etc

2007-01-04 Thread Alessandro Zummo
? Given that we can not test on more boards, I'd keep the most compatible method. Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this list: send the line &q

Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver

2007-01-05 Thread Alessandro Zummo
stems can have a better grasp of the driver. - the name should be rtc-mc146818 to be coherent with the other drivers, but this can cause confusion. - please put yourself in MODULE_AUTHOR other than that, I'm fine with the code. I'd appreciate if someone (Woody?) can test this code on

Re: [patch 2.6.19-rc6] rtc class locking bugfixes

2006-11-19 Thread Alessandro Zummo
en't been part of anyone's kernel > regression test suite recently, at least not with lockdep running. > > Signed-off-by: David Brownell <[EMAIL PROTECTED]> Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies -

Re: [patch 2.6.19-rc6] Documentation/rtc.txt updates (for rtc class)

2006-11-19 Thread Alessandro Zummo
et Linux style guidelines, and to > work with the new RTC drivers. > > Signed-off-by: David Brownell <[EMAIL PROTECTED]> Thanks for your patches, David! Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies - Turin, Ital

Re: [patch 2.6.19-rc6] rtc framework handles periodic irqs

2006-11-19 Thread Alessandro Zummo
> > This means that drivers implementing irq_set_freq() will automatically > support RTC_IRQP_{READ,SET} ioctls; that logic doesn't need duplication > within the driver. > > Signed-off-by: David Brownell <[EMAIL PROTECTED]> Acked-by: Alessandro Zummo <[EMAIL PROTECTE

Re: NTP time sync

2006-11-26 Thread Alessandro Zummo
supposed to be? How do I create a static /dev/rtcN in > my /dev > directory if the major number isn't fixed? > Maybe I am just missing something, feel free to correct me :) udev ;) the concept of static numbers is quite old... -- Best regards, Alessandro Zummo, Tower Technol

Re: NTP time sync

2006-11-26 Thread Alessandro Zummo
supported on the new rtc subsystem. -- Best regards, Alessandro Zummo, Tower Technologies - Turin, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.ke

Re: [PATCH] rtc: ds1743 support

2006-11-30 Thread Alessandro Zummo
ec = readb(pdata->ioaddr_rtc + RTC_SECONDS); ? Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies - Turin, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

Re: [rtc-linux] RTC_CLASS is still considered as EXPERIMENTAL?

2007-06-19 Thread Alessandro Zummo
On Fri, 15 Jun 2007 20:19:59 +0200 Alessandro Zummo <[EMAIL PROTECTED]> wrote: > On Sat, 16 Jun 2007 01:10:37 +0900 (JST) > Atsushi Nemoto <[EMAIL PROTECTED]> wrote: > > > > > The generic RTC subsystem was added to kernel 2.6.17 which was > > released a ye

Re: [rtc-linux] Re: rtc_cmos: error after first write to wakealarm

2007-06-19 Thread Alessandro Zummo
would be nice, too. Well, I guess there is no documentation. Maybe we could add a dev_warn with an explicit message. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubscribe lin

Re: [rtc-linux] Re: rtc-dev.c & RTC_AIE_ON

2007-06-19 Thread Alessandro Zummo
On Tue, 19 Jun 2007 14:47:35 +0200 Rodolfo Giometti <[EMAIL PROTECTED]> wrote: > On Tue, Jun 19, 2007 at 02:20:06PM +0200, Alessandro Zummo wrote: > > > > 'cos they are two different things :) I don't know how > > the "Lightweight At Daemon" wor

Re: [rtc-linux] [PATCH 1/2] rtc: add rtc-m41txx driver

2007-06-19 Thread Alessandro Zummo
ark A. Greer <[EMAIL PROTECTED]> > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free Software Foundation. Unless this include is required by other files,

Re: [rtc-linux] [PATCH 2/2] rtc: watchdog support for rtc-m41t80 driver (take 2)

2007-06-22 Thread Alessandro Zummo
PROTECTED]> > Signed-off-by: Alexander Bigga <[EMAIL PROTECTED]> > --- Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubsc

Re: [rtc-linux] [PATCH 1/2] rtc: add rtc-m41t80 driver (take 2)

2007-06-22 Thread Alessandro Zummo
hi Nemoto <[EMAIL PROTECTED]> > Signed-off-by: Alexander Bigga <[EMAIL PROTECTED]> > Acked-by: Mark A. Greer <[EMAIL PROTECTED]> Acked-by: Alessandro Zummo <[EMAIL PROTECTED]> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy

Re: [rtc-linux] Re: rtc_cmos: error after first write to wakealarm

2007-06-22 Thread Alessandro Zummo
a constant difference of 869984896 seconds. Is this a > bug? I'll have to check that. Sorry for the delay, i've been a bit busy. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this list: send the lin

Re: [rtc-linux] RTC_CLASS is still considered as EXPERIMENTAL?

2007-06-15 Thread Alessandro Zummo
; It is mature enough to remove EXPERIMENTAL label from RTC_CLASS, isn't > it? I'd say yes, I will submit a patch. ty. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubscribe

acpi regression on some laptops

2007-07-10 Thread Alessandro Zummo
help/pointers are appreciated. I dont't have a deep knowledge of the subsystems involved. [1] http://lkml.org/lkml/2007/6/21/360 -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this list: send the line &q

Re: acpi regression on some laptops

2007-07-11 Thread Alessandro Zummo
ts but, obviously, everything acpi related does not work. anything else I can try? The laptop does not have a serial port, so I can't capture the dmesg output. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from t

Re: acpi regression on some laptops

2007-07-11 Thread Alessandro Zummo
1020800 2001 178bfbff -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/

Re: acpi regression on some laptops

2007-07-12 Thread Alessandro Zummo
47541 444d4163 69746e65 > > 0001 00040f82 01020800 2001 178bfbff > > > > What chipset is it? I'm going to guess at nVidia MCP51, in which case.. > That's the third time that's worked on the MCP51. amd sb600/ati rs480. -- Best r

Re: [PATCH] Add driver for Dallas DS1682 elapsed time recorder

2007-05-10 Thread Alessandro Zummo
know if the rtc subsystem can offer help/framework for such a kind of driver. maybe it could be extended to incorporate it. probably the alarms could be handled in some way. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe

Re: + blackfin-on-chip-rtc-controller-driver.patch added to -mm tree

2007-03-01 Thread Alessandro Zummo
ace in the future, so users are advised not to count on it and device authors to not add properties. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [rtc-linux] Re: 2.6.21-rc2 : Oops in rtc_cmos...

2007-03-06 Thread Alessandro Zummo
ck > Support") > so that driver has claimed the CMOS RTC instead of "rtc-cmos.c". Disable it. > Then you'll be able to use this driver with no little surprises. maybe we should consider this in the Kconfig. -- Best regards, Alessandro Zummo, Tower Technolog

Re: 2.6.21-rc2 : Oops in rtc_cmos...

2007-03-07 Thread Alessandro Zummo
t; So then rtc0 couldn't be found. You'd get the same > > message if, say, the RTC was loaded as a module. > > It seems to me that the DRV_RTC_CMOS and the "standard" CONFIG_RTC > shouldn't be used at the same time... Am I correct on that ? > Wouldn't

Re: 2.6.23-rc6-mm1

2007-09-20 Thread Alessandro Zummo
id that. I'll try to code something as soon as I get back home. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECT

Re: [RESEND PATCHv2] drivers/rtc/rtc-snvs: Add clock support

2014-12-04 Thread Alessandro Zummo
On Thu, 04 Dec 2014 13:29:58 +0100 Stefan Agner wrote: > > Acked-by: Alessandro Zummo > > Through which tree is this going upstream? Andrew usually picks up those small patches, unless there's a more appropriate tree. -- Best regards, Alessandro Zummo, T

Re: [RFC PATCH v2 1/9] rtc: Provide y2038 safe rtc_class_ops.set_mmss() replacement

2015-01-13 Thread Alessandro Zummo
when required for readability. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [RFC PATCH v2 4/9] rtc/ab3100: Update driver to address y2038/y2106 issues

2015-01-13 Thread Alessandro Zummo
On Tue, 13 Jan 2015 23:44:52 +0800 Xunlei Pang wrote: > From: Xunlei Pang > > This driver has a number of y2038/y2106 issues. This should probably be evaluated by Linus Walleij -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.

Re: [RFC PATCH v2 3/9] rtc/test: Update driver to address y2038/y2106 issues

2015-01-13 Thread Alessandro Zummo
a non time64 test driver? -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http:

Re: [RFC PATCH v2 6/9] rtc/mxc: Modify rtc_update_alarm() not to touch the alarm time

2015-01-13 Thread Alessandro Zummo
On Tue, 13 Jan 2015 23:44:54 +0800 Xunlei Pang wrote: > rtc_class_ops's set_alarm() shouldn't deal with the alarm date, > as this is handled in the rtc core. Please CC the author and ask him. The same applies for the other drivers. -- Best regards, Alessandro Zummo, To

Re: [RFC PATCH v2 2/9] time: Provide y2106 safe get_seconds() replacement

2015-01-13 Thread Alessandro Zummo
On Tue, 13 Jan 2015 23:44:50 +0800 Xunlei Pang wrote: > -EXPORT_SYMBOL(get_seconds); > +EXPORT_SYMBOL(get_seconds64); Please leave get_seconds untouched -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from thi

Re: [RFC PATCH v2 3/9] rtc/test: Update driver to address y2038/y2106 issues

2015-01-14 Thread Alessandro Zummo
est regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html P

Re: [RFC PATCH v2 3/9] rtc/test: Update driver to address y2038/y2106 issues

2015-01-14 Thread Alessandro Zummo
On Wed, 14 Jan 2015 23:26:37 +0800 Xunlei Pang wrote: > But on the other hand, we will have no test for set_mmss64(), > because adding the set_mmss64() will make set_mmss() dysfunctional. add a module parameter -- Best regards, Alessandro Zummo, Tower Technologies - Torino,

Re: [RFC PATCH v3 0/8] Provide y2038/y2106 safe rtc_class_ops.set_mmss64()

2015-01-28 Thread Alessandro Zummo
On Thu, 29 Jan 2015 00:12:09 +0800 Xunlei Pang wrote: > ping Alessandro -EBUSY . saw that, looks fine anyhow, but would like to have a deeper look. we have still some time 'till 2038, right? ;) -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy

Re: [RFC PATCH v3 0/8] Provide y2038/y2106 safe rtc_class_ops.set_mmss64()

2015-03-19 Thread Alessandro Zummo
On Wed, 18 Mar 2015 10:37:26 -0700 John Stultz wrote: > On Wed, Jan 28, 2015 at 10:27 AM, Alessandro Zummo > wrote: > > On Thu, 29 Jan 2015 00:12:09 +0800 > > Xunlei Pang wrote: > > > >> ping Alessandro > > > > -EBUSY . saw that, looks fine anyh

Re: [rtc-linux] Re: [PATCH 3/3] rtc: hctosys: use function name in the error log

2015-04-01 Thread Alessandro Zummo
eems reasonable given that pr_fmt is widely used elsewhere. I don't like too much the need to have one define for each file, but it's the way it works :-/ -- Best regards, Alessandro Zummo - CEO, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe

Re: [5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time() and rtc_time_to_tm()

2015-06-03 Thread Alessandro Zummo
On Mon, 1 Jun 2015 21:59:09 +0200 Alexandre Belloni wrote: > I feel that we still have a bit of time before having to hurry and find > a proper solution ;) agreed :) -- Best regards, Alessandro Zummo - CEO, Tower Technologies - Torino, Italy http://www.towertech.it

Re: kernfs/rtc: circular dependency between kernfs and ops_lock

2014-02-24 Thread Alessandro Zummo
't try to delete a sysfs file which acquires a lock > while holding the same lock. Pretty interesting indeed. One option would be to remove the sys files before acquiring the lock. But I wonder if this could lead to other issues. -- Best regards, Alessandro Zummo, Tower Te

Re: [RFC V1 2/2] rtc: da9063: RTC driver

2014-03-05 Thread Alessandro Zummo
t; + return ret; > +} if the interrupt is mandatory you should request it before registering the rtc device. if it isn't, please return 0. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from th

Re: [PATCH] rtc: add support for maxim dallas rtc ds1347

2014-03-20 Thread Alessandro Zummo
data); > + > + ds1347_read_reg(&spi->dev, DS1347_STATUS_REG, &data); > + dev_info(&spi->dev, "DS1347 RTC Status Reg = 0x%02x\n", data); > + > + rtc = devm_rtc_device_register(&spi->dev, "ds1347", > +

Re: [PATCH] rtc: add support for maxim dallas rtc ds1347

2014-03-20 Thread Alessandro Zummo
On Thu, 20 Mar 2014 12:19:55 -0700 Joe Perches wrote: > This depends on how long you want to live, but it could be > > while (dt->tm_year >= 100) dt->tm_year % 100 ? -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.t

Re: [PATCH V1 2/2] rtc: da9063: RTC driver

2014-03-07 Thread Alessandro Zummo
On Thu, 6 Mar 2014 16:40:02 + "Opensource [Steve Twiss]" wrote: > Change History: > > Changes made to this driver since previous RFC V1 > Comments by Alessandro Zummo > - http://www.kernelhub.org/?p=2&msg=426327 > - Use return PTR_ERR(rtc->rtc_de

Re: X86: Impossible select Enhanced Real Time Clock Support (legacy PC RTC driver)

2014-04-28 Thread Alessandro Zummo
ve? as far as I know, no recent distribution is using the old code anymore and the new (well, not so new anymore) framework provides the same functionality. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this lis

Re: [rtc-linux] [PATCH] rtc: fix potential race condition and remove build errors

2014-05-19 Thread Alessandro Zummo
On Mon, 19 May 2014 21:28:20 +0530 Raghavendra Ganiga wrote: > also the sysfs will not create entry for alarm if > irq registration fails in probe > > Signed-off-by: Raghavendra Chandra Ganiga Acked-by: Alessandro Zummo -- Best regards, Alessandro Zummo, Tower Technolog

Re: [PATCH] rtc: add support for maxim dallas rtc ds1343 and ds1344

2014-04-30 Thread Alessandro Zummo
const char *alarm_str, *diodes = "disabled", *resistors = " "; > + > + regmap_read(priv->map, DS1343_CONTROL_REG, &data); is this thing really useful? what about having sysfs entries instead? -- Best regards, Alessandro Zummo, Tower Technologies - Torino, It

Re: query regarding not returning error if request_irq fails after rtc registration

2014-05-15 Thread Alessandro Zummo
arm > and alarm_irq_enable can return error since there is no irq handler > for the rtc interrupt > or is there any other solution > or let the set_alarm and alarm_irq_enable routine be as it is and will you can use a flag (or set the irq to -1) -- Best regards, Alessandro Zummo, Tower

Re: [PATCH] rtc: Add support for Microchip MCP795

2014-05-09 Thread Alessandro Zummo
On Tue, 6 May 2014 19:13:18 +0200 a...@atx.name wrote: > Adds driver for SPI RTC Microchip MCP795. Does only support saving/loading > time from the chip (i. e. no alarms/power events/ID). > > Signed-off-by: Josef Gajdusek Acked-by: Alessandro Zummo -- Best regards, Ales

Re: [PATCH] RTC: Fix infinite loop in initializing the alarm.

2014-04-08 Thread Alessandro Zummo
year-fixing loop expects the > time being invalid due to leap year. > > Fix reduces the loop to the leap years and adds final validity check. > > Signed-off-by: Ales Novak Seems reasonable. Acked-by: Alessandro Zummo -- Best regards, Alessandro Zummo, Tower Technolog

Re: [PATCH V1 2/2] rtc: da9063: RTC driver

2014-04-11 Thread Alessandro Zummo
whole patchset. thanks! -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vge

Re: [rtc-linux] [PATCH] rtc: add support for maxim dallas rtc ds1347

2014-03-21 Thread Alessandro Zummo
is a patch to add support for > maxim dallas rtc ds1347 > > Signed-off-by: Raghavendra Chandra Ganiga Acked-by: Alessandro Zummo -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line &q

Re: kernfs/rtc: circular dependency between kernfs and ops_lock

2014-03-25 Thread Alessandro Zummo
letting any rtc_class_open() users access it again */ - rtc_sysfs_del_device(rtc); rtc_dev_del_device(rtc); rtc_proc_del_device(rtc); device_unregister(&rtc->dev); -- Best regards, Alessandro Zummo, Tower Technologies - To

Re: [PATCH v2 07/10] regulator: Add driver for Maxim 77802 PMIC regulators

2014-06-19 Thread Alessandro Zummo
t; > > > I don't know what's the preferred workflow in these cases... > > That's fine. I'm happy to create shared branches when required. mfd tree will be ok. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towert

Re: rtc/hctosys.c Problem during kernel boot

2014-06-21 Thread Alessandro Zummo
I'm testing them and they're working fine so far. Will handle them the next week. -- Best regards, Alessandro Zummo Tower Technologies Sent from my iPhone, please excuse my brevity. > On 21/giu/2014, at 15:08, Alexander Holler wrote: > > Am 12.06.2014 01:53,

Re: [PATCH 0/2][RFC] Try to handle hctosys w/ rtc modules

2014-06-30 Thread Alessandro Zummo
hould be used at boot with a different identifier than rtcX (and move the option to the kernel command line) -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [RFC V1] mfd: da9063: Add support for AD silicon variant

2014-07-16 Thread Alessandro Zummo
ult to > support BB (or greater) silicon. any particular reason for not supporting both at the same time, either with a module option, platform data, dt, etc ? -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from th

Re: [rtc-linux] [PATCH] drivers/rtc/interface.c: check the error after __rtc_read_time()

2014-07-04 Thread Alessandro Zummo
> Signed-off-by: Hyogi Gim Acked-by: Alessandro Zummo -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kerne

Re: [rtc-linux] Re: [PATCH resend] mfd/rtc: s5m: Do not allocate RTC I2C dummy and regmap for unsupported chipsets

2014-04-17 Thread Alessandro Zummo
it to mfd or via another tree / next. The patch looks good to m. Acked-by: Alessandro Zummo -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Re: rtc/hctosys.c Problem during kernel boot

2014-06-12 Thread Alessandro Zummo
of hctosys, I have 3 patches, and 2 more to implement > rtc_read_timeval() for higher resolution clocks. Yes, I know the experience might be a painful one. Please send the patches and let's see if they fix the issue for John too. -- Best regards, Alessandro Zummo, Tower Technolo

Re: kernfs/rtc: circular dependency between kernfs and ops_lock

2014-03-31 Thread Alessandro Zummo
e(&dev->kobj, &nvram); if (is_valid_irq(cmos->irq)) { + free_irq(cmos->irq, cmos->rtc); - hpet_unregister_irq_handler(cmos_interrupt); + + if (is_hpet_enabled()) { + hpet_unregister_irq_handler(cmos_interrupt); +

Re: kernfs/rtc: circular dependency between kernfs and ops_lock

2014-03-31 Thread Alessandro Zummo
c device in the probe function, which should not be done. the last patches fixes it. I'll keep trying to trigger the bug on my systems. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line

Re: kernfs/rtc: circular dependency between kernfs and ops_lock

2014-03-31 Thread Alessandro Zummo
move_attrs could be called in the rtc base class, before the device removal? -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to m

Re: [rtc-linux] [PATCH 1/2] RTC: rtc-cmos: drivers/char/rtc.c features for DECstation support

2014-05-06 Thread Alessandro Zummo
t break anything on non-Alpha machines. Did you test it on x86? It would be fine if we can get a couple of Tested-by: -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [rtc-linux] Re: X86: Impossible select Enhanced Real Time Clock Support (legacy PC RTC driver)

2014-05-06 Thread Alessandro Zummo
sorry for the delay. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.o

Re: rtc: add support for maxim dallas rtc ds1343 and ds1344

2014-05-06 Thread Alessandro Zummo
mentation ok as per your last comment > on the proc interface. please provide the feedback. That's sounds like a plan. Please send the code when you're ready. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it -- To unsu

  1   2   >