lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150302160559.GA3756@atomide.com>
Date:	Mon, 2 Mar 2015 08:05:59 -0800
From:	Tony Lindgren <tony@...mide.com>
To:	Valentin Rothberg <Valentin.Rothberg@...6.fr>
Cc:	ssantosh@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] omap_l3_smx.c: remove IRQF_DISABLED flag

* Valentin Rothberg <Valentin.Rothberg@...6.fr> [150302 05:39]:
> The IRQF_DISABLED flag is a NOOP and scheduled to be removed.  According
> to commit e58aa3d2d0cc ("genirq: Run irq handlers with interrupts
> disabled") running IRQ handlers with interrupts enabled can cause stack
> overflows when the interrupt line of the issuing device is still active.
> 
> Signed-off-by: Valentin Rothberg <Valentin.Rothberg@...6.fr>

Applying into omap-for-v4.1/l3 thanks.

Regards,

Tony

> ---
>  drivers/bus/omap_l3_smx.c | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/bus/omap_l3_smx.c b/drivers/bus/omap_l3_smx.c
> index 597fdae..360a5c0 100644
> --- a/drivers/bus/omap_l3_smx.c
> +++ b/drivers/bus/omap_l3_smx.c
> @@ -251,18 +251,16 @@ static int omap3_l3_probe(struct platform_device *pdev)
>  	}
>  
>  	l3->debug_irq = platform_get_irq(pdev, 0);
> -	ret = request_irq(l3->debug_irq, omap3_l3_app_irq,
> -		IRQF_DISABLED | IRQF_TRIGGER_RISING,
> -		"l3-debug-irq", l3);
> +	ret = request_irq(l3->debug_irq, omap3_l3_app_irq, IRQF_TRIGGER_RISING,
> +			  "l3-debug-irq", l3);
>  	if (ret) {
>  		dev_err(&pdev->dev, "couldn't request debug irq\n");
>  		goto err1;
>  	}
>  
>  	l3->app_irq = platform_get_irq(pdev, 1);
> -	ret = request_irq(l3->app_irq, omap3_l3_app_irq,
> -		IRQF_DISABLED | IRQF_TRIGGER_RISING,
> -		"l3-app-irq", l3);
> +	ret = request_irq(l3->app_irq, omap3_l3_app_irq, IRQF_TRIGGER_RISING,
> +			  "l3-app-irq", l3);
>  	if (ret) {
>  		dev_err(&pdev->dev, "couldn't request app irq\n");
>  		goto err2;
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ