From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: [PATCH v4 09/13] serial: amba-pl011: Pass FIQ information to KGDB. Date: Thu, 19 Jun 2014 17:36:03 -0700 Message-ID: <20140620003603.GA30850@kroah.com> References: <1401961994-18033-1-git-send-email-daniel.thompson@linaro.org> <1403174303-25456-1-git-send-email-daniel.thompson@linaro.org> <1403174303-25456-10-git-send-email-daniel.thompson@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1403174303-25456-10-git-send-email-daniel.thompson@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Daniel Thompson Cc: Mark Rutland , kernel@stlinux.com, kgdb-bugreport@lists.sourceforge.net, Linus Walleij , Jiri Slaby , Dirk Behme , Russell King , Nicolas Pitre , patches@linaro.org, Anton Vorontsov , Kumar Gala , "David A. Long" , linux-serial@vger.kernel.org, Catalin Marinas , kernel-team@android.com, devicetree@vger.kernel.org, linaro-kernel@lists.linaro.org, Pawel Moll , Ian Campbell , Jason Wessel , Rob Herring , John Stultz , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Colin List-Id: devicetree@vger.kernel.org On Thu, Jun 19, 2014 at 11:38:19AM +0100, Daniel Thompson wrote: > If the AMBA bus has provided the pl011 with a FIQ resource (i.e. a > second IRQ) then speculatively register it with KGDB when the polling > driver is initialized. > > By providing this information to KGDB the serial driver offers > "permission" for KGDB to route the UART interrupt signal from the > drivers own handler to KGDBs FIQ handler (which will eventually use the > UART's polled I/O callbacks to interact with the user). This permission > also implies the amba-pl011 driver has already unmasked RX interrupts > (otherwise the FIQ handler will never trigger). > > Signed-off-by: Daniel Thompson > Cc: Russell King > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > Cc: linux-serial@vger.kernel.org > --- Acked-by: Greg Kroah-Hartman From mboxrd@z Thu Jan 1 00:00:00 1970 From: gregkh@linuxfoundation.org (Greg Kroah-Hartman) Date: Thu, 19 Jun 2014 17:36:03 -0700 Subject: [PATCH v4 09/13] serial: amba-pl011: Pass FIQ information to KGDB. In-Reply-To: <1403174303-25456-10-git-send-email-daniel.thompson@linaro.org> References: <1401961994-18033-1-git-send-email-daniel.thompson@linaro.org> <1403174303-25456-1-git-send-email-daniel.thompson@linaro.org> <1403174303-25456-10-git-send-email-daniel.thompson@linaro.org> Message-ID: <20140620003603.GA30850@kroah.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Jun 19, 2014 at 11:38:19AM +0100, Daniel Thompson wrote: > If the AMBA bus has provided the pl011 with a FIQ resource (i.e. a > second IRQ) then speculatively register it with KGDB when the polling > driver is initialized. > > By providing this information to KGDB the serial driver offers > "permission" for KGDB to route the UART interrupt signal from the > drivers own handler to KGDBs FIQ handler (which will eventually use the > UART's polled I/O callbacks to interact with the user). This permission > also implies the amba-pl011 driver has already unmasked RX interrupts > (otherwise the FIQ handler will never trigger). > > Signed-off-by: Daniel Thompson > Cc: Russell King > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > Cc: linux-serial at vger.kernel.org > --- Acked-by: Greg Kroah-Hartman