From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964829AbbLOJWz (ORCPT ); Tue, 15 Dec 2015 04:22:55 -0500 Received: from down.free-electrons.com ([37.187.137.238]:37484 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933146AbbLOJWu (ORCPT ); Tue, 15 Dec 2015 04:22:50 -0500 Date: Tue, 15 Dec 2015 10:22:48 +0100 From: Alexandre Belloni To: Stephen Boyd , Boris Brezillon Cc: Nicolas Ferre , Jean-Christophe Plagniol-Villard , Michael Turquette , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: Re: [PATCH v3 00/13] ARM: at91: PMC driver rework Message-ID: <20151215092248.GA8574@piout.net> References: <1449248628-3486-1-git-send-email-alexandre.belloni@free-electrons.com> <20151210180652.40eb8bc4@bbrezillon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151210180652.40eb8bc4@bbrezillon> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen, Do you mind us taking that through the at91 and arm-soc trees? On 10/12/2015 at 18:06:52 +0100, Boris Brezillon wrote : > On Fri, 4 Dec 2015 18:03:35 +0100 > Alexandre Belloni wrote: > > > Hi, > > > > This patch set is a cleanup that properly separate drivers needing to access the > > PMC (PM and USB) from the clock driver by exposing the PMC as a syscon. > > > > This also allows to implement a fix for preempt-rt. Currently, at91 platform are > > crashing when using preempt-rt because the irq handler are transformed in > > threaded irq handler but at the time the pmc registers its clocks, it is not > > possible to creat threads, leading to a NULL pointer dereference in the kernel. > > > > The new infrastructure uses polling until it is late enough to register threaded > > irqs. > > > > Note that there is an ugly global spinlock for the peripheral and generated > > clocks. More infrastructure is needed in syscon to get rid of that one. We will > > be working on that. > > To the whole series, > > Acked-by: Boris Brezillon > -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com