[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1602171710350.19512@nanos>
Date: Wed, 17 Feb 2016 17:12:04 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: tchalamarla@...iumnetworks.com
cc: tj@...nel.org, stripathi@....com, linux-ide@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH V3] AHCI: Workaround for ThunderX Errata#22536
On Tue, 16 Feb 2016, tchalamarla@...iumnetworks.com wrote:
> +#ifdef CONFIG_ARM64
> +/* Due to ERRATA#22536, ThunderX need to handle
> + * HOST_IRQ_STAT differently.
> + * Work around is to make sure all pending IRQs
> + * are served before leaving handler
> + */
> +static irqreturn_t ahci_thunderx_irq_handler(int irq, void *dev_instance)
> +{
> + struct ata_host *host = dev_instance;
> + struct ahci_host_priv *hpriv;
> + unsigned int rc = 0;
> + void __iomem *mmio;
> + u32 irq_stat, irq_masked;
> + unsigned int handled = 1;
> +
> + VPRINTK("ENTER\n");
Come on. This VPRINK stuff is really pointless. Enable irq tracepoints, they
already track the enter/exit of interrupt handlers ....
Thanks,
tglx
Powered by blists - more mailing lists