[linux-yocto] [PATCH v5.2 rt] mmc: cavium-thunderx: Drop the IRQF_NO_THREAD constraint
Bruce Ashfield
bruce.ashfield at gmail.com
Sun Oct 13 16:42:16 PDT 2019
In message: [PATCH v5.2 rt] mmc: cavium-thunderx: Drop the IRQF_NO_THREAD constraint
on 10/10/2019 Kevin Hao wrote:
> The IRQF_NO_THREAD is added by a Marvell SDK patch 238e623e1024 ("mmc:
> cavium: fix swiotlb buffer is full") in order to get back some of the
> performance loss. But in some cases (such as rt kernel), we do need the
> capability to thread irq handler. Otherwise we would get warnings because
> the normal spin lock is used in the irq handler. So drop this constraint.
>
> Signed-off-by: Kevin Hao <haokexin at gmail.com>
> ---
> Hi Bruce,
>
> Please merge this to v5.2/standard/preempt-rt/cn96xx
merged
Bruce
>
> drivers/mmc/host/cavium-thunderx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/cavium-thunderx.c b/drivers/mmc/host/cavium-thunderx.c
> index 7fbf33e34217..3afe788d0d9e 100644
> --- a/drivers/mmc/host/cavium-thunderx.c
> +++ b/drivers/mmc/host/cavium-thunderx.c
> @@ -49,7 +49,7 @@ static int thunder_mmc_register_interrupts(struct cvm_mmc_host *host,
> /* register interrupts */
> for (i = 0; i < nvec; i++) {
> ret = devm_request_irq(&pdev->dev, pci_irq_vector(pdev, i),
> - cvm_mmc_interrupt, IRQF_NO_THREAD,
> + cvm_mmc_interrupt, 0,
> cvm_mmc_irq_names[i], host);
> if (ret)
> return ret;
> --
> 2.14.4
>
More information about the linux-yocto
mailing list