From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933319AbbIYUgg (ORCPT ); Fri, 25 Sep 2015 16:36:36 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:45421 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933204AbbIYUge (ORCPT ); Fri, 25 Sep 2015 16:36:34 -0400 Subject: Re: [PATCH 0/2] convert to use generic irq handler To: Grygorii Strashko , Linus Walleij , Alexandre Courbot , ssantosh@kernel.org, tony@atomide.com References: <1443209283-20781-1-git-send-email-grygorii.strashko@ti.com> Cc: linux-omap@vger.kernel.org, Austin Schuh , philipp@peloton-tech.com, linux-rt-users@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org From: "santosh.shilimkar@oracle.com" Organization: Oracle Corporation Message-ID: <5605B045.9080205@oracle.com> Date: Fri, 25 Sep 2015 13:36:21 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1443209283-20781-1-git-send-email-grygorii.strashko@ti.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/25/15 12:28 PM, Grygorii Strashko wrote: > This patch series contains patches which fixes wrong APIs usage in atomic > context on RT-kernel. The final goal is to make TI OMAP GPIO driver > compatible with -RT kernel as much as possible. > > Patch 1: required to be compatible with -RT kernel, because PM runtime's > irq_safe mode is incompatible with -RT. > Patch 2: This patch converts TI OMAP GPIO driver to use generic irq > handler instead of chained IRQ handler. This way OMAP GPIO driver will be > compatible with RT-kernel where it will be forced thread IRQ handler > while in non-RT kernel it still will be executed in HW IRQ context. > > Boot, basic gpio functionality tested on: > dra7-evm, BeagleBone(white), am43xx-gpevm, am437x-sk > Manually tested on dra7-evm including suspend/resume and wakeup. > > Links on RFC: > https://lkml.org/lkml/2015/8/18/161 > https://lkml.org/lkml/2015/8/18/162 > > Grygorii Strashko (2): > gpio: omap: move pm runtime in irq_chip.irq_bus_lock/sync_unlock > gpio: omap: convert to use generic irq handler > Acked-by: Santosh Shilimkar