From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Cochran Subject: Re: [v2] net: gianfar_ptp: move set_fipers() to spinlock protecting area Date: Mon, 8 Jan 2018 19:39:37 -0800 Message-ID: <20180109033937.fnppxraqb7ylikdg@localhost> References: <20180109030233.16013-1-yangbo.lu@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Fabio Estevam , Claudiu Manoil , netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Yangbo Lu Return-path: Content-Disposition: inline In-Reply-To: <20180109030233.16013-1-yangbo.lu@nxp.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Tue, Jan 09, 2018 at 11:02:33AM +0800, Yangbo Lu wrote: > set_fipers() calling should be protected by spinlock in > case that any interrupt breaks related registers setting > and the function we expect. This patch is to move set_fipers() > to spinlock protecting area in ptp_gianfar_adjtime(). > > Signed-off-by: Yangbo Lu Acked-by: Richard Cochran