From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.active-venture.com ([67.228.131.205]:60256 "EHLO mail.active-venture.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751397AbaAYSMh (ORCPT ); Sat, 25 Jan 2014 13:12:37 -0500 Message-ID: <52E3FE95.5040906@roeck-us.net> Date: Sat, 25 Jan 2014 10:12:37 -0800 From: Guenter Roeck MIME-Version: 1.0 To: Ezequiel Garcia , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-watchdog@vger.kernel.org CC: Wim Van Sebroeck , Jason Gunthorpe , Sebastian Hesselbarth , Arnd Bergmann , Daniel Lezcano , Fabio Estevam , Andrew Lunn , Thomas Petazzoni , Gregory Clement , Tawfik Bayouk , Lior Amsalem , Jason Cooper Subject: Re: [PATCH v4 04/18] watchdog: orion: Use atomic access for shared registers References: <1390431915-5115-1-git-send-email-ezequiel.garcia@free-electrons.com> <1390431915-5115-5-git-send-email-ezequiel.garcia@free-electrons.com> In-Reply-To: <1390431915-5115-5-git-send-email-ezequiel.garcia@free-electrons.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@vger.kernel.org On 01/22/2014 03:05 PM, Ezequiel Garcia wrote: > Since the timer control register is shared with the clocksource driver, > use the recently introduced atomic_io_clear_set() to access such register. > Given the watchdog core already provides serialization for all the > watchdog ops, this commit allows to remove the spinlock entirely. > > Signed-off-by: Ezequiel Garcia Reviewed-by: Guenter Roeck From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@roeck-us.net (Guenter Roeck) Date: Sat, 25 Jan 2014 10:12:37 -0800 Subject: [PATCH v4 04/18] watchdog: orion: Use atomic access for shared registers In-Reply-To: <1390431915-5115-5-git-send-email-ezequiel.garcia@free-electrons.com> References: <1390431915-5115-1-git-send-email-ezequiel.garcia@free-electrons.com> <1390431915-5115-5-git-send-email-ezequiel.garcia@free-electrons.com> Message-ID: <52E3FE95.5040906@roeck-us.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 01/22/2014 03:05 PM, Ezequiel Garcia wrote: > Since the timer control register is shared with the clocksource driver, > use the recently introduced atomic_io_clear_set() to access such register. > Given the watchdog core already provides serialization for all the > watchdog ops, this commit allows to remove the spinlock entirely. > > Signed-off-by: Ezequiel Garcia Reviewed-by: Guenter Roeck From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH v4 04/18] watchdog: orion: Use atomic access for shared registers Date: Sat, 25 Jan 2014 10:12:37 -0800 Message-ID: <52E3FE95.5040906@roeck-us.net> References: <1390431915-5115-1-git-send-email-ezequiel.garcia@free-electrons.com> <1390431915-5115-5-git-send-email-ezequiel.garcia@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1390431915-5115-5-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ezequiel Garcia , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-watchdog-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Wim Van Sebroeck , Jason Gunthorpe , Sebastian Hesselbarth , Arnd Bergmann , Daniel Lezcano , Fabio Estevam , Andrew Lunn , Thomas Petazzoni , Gregory Clement , Tawfik Bayouk , Lior Amsalem , Jason Cooper List-Id: devicetree@vger.kernel.org On 01/22/2014 03:05 PM, Ezequiel Garcia wrote: > Since the timer control register is shared with the clocksource driver, > use the recently introduced atomic_io_clear_set() to access such register. > Given the watchdog core already provides serialization for all the > watchdog ops, this commit allows to remove the spinlock entirely. > > Signed-off-by: Ezequiel Garcia Reviewed-by: Guenter Roeck -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html