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: <52A597C4.3050406@linaro.org>
Date:	Mon, 09 Dec 2013 11:13:24 +0100
From:	Daniel Lezcano <daniel.lezcano@...aro.org>
To:	Michael Opdenacker <michael.opdenacker@...e-electrons.com>,
	tglx@...utronix.de
CC:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH][RESEND] clocksource: misc drivers: remove deprecated
 IRQF_DISABLED

On 12/09/2013 10:12 AM, Michael Opdenacker wrote:
> This patch proposes to remove the use of the IRQF_DISABLED flag
>
> It's a NOOP since 2.6.35 and it will be removed one day.
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@...e-electrons.com>
> ---

Hi Michael,

the three patches are applied to my tree for 3.14.

I changed a bit the changelog by replacing 'proposes to remove' by 
'removes' and added a capitalized letter for the first character of the 
short description (eg. remove deprecated => Remove deprecated).

In the future please take care of that.

Thanks for the cleanups.

   -- Daniel



>   drivers/clocksource/cadence_ttc_timer.c | 3 +--
>   drivers/clocksource/cs5535-clockevt.c   | 2 +-
>   drivers/clocksource/dw_apb_timer.c      | 3 +--
>   drivers/clocksource/nomadik-mtu.c       | 2 +-
>   drivers/clocksource/samsung_pwm_timer.c | 2 +-
>   drivers/clocksource/sh_cmt.c            | 3 +--
>   drivers/clocksource/sh_mtu2.c           | 3 +--
>   drivers/clocksource/sh_tmu.c            | 3 +--
>   8 files changed, 8 insertions(+), 13 deletions(-)
>
> diff --git a/drivers/clocksource/cadence_ttc_timer.c b/drivers/clocksource/cadence_ttc_timer.c
> index b2bb3a4bc205..dc35962ab59c 100644
> --- a/drivers/clocksource/cadence_ttc_timer.c
> +++ b/drivers/clocksource/cadence_ttc_timer.c
> @@ -388,8 +388,7 @@ static void __init ttc_setup_clockevent(struct clk *clk,
>   	__raw_writel(0x1,  ttcce->ttc.base_addr + TTC_IER_OFFSET);
>
>   	err = request_irq(irq, ttc_clock_event_interrupt,
> -			  IRQF_DISABLED | IRQF_TIMER,
> -			  ttcce->ce.name, ttcce);
> +			  IRQF_TIMER, ttcce->ce.name, ttcce);
>   	if (WARN_ON(err)) {
>   		kfree(ttcce);
>   		return;
> diff --git a/drivers/clocksource/cs5535-clockevt.c b/drivers/clocksource/cs5535-clockevt.c
> index ea210482dd20..db2105290898 100644
> --- a/drivers/clocksource/cs5535-clockevt.c
> +++ b/drivers/clocksource/cs5535-clockevt.c
> @@ -131,7 +131,7 @@ static irqreturn_t mfgpt_tick(int irq, void *dev_id)
>
>   static struct irqaction mfgptirq  = {
>   	.handler = mfgpt_tick,
> -	.flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_TIMER | IRQF_SHARED,
> +	.flags = IRQF_NOBALANCING | IRQF_TIMER | IRQF_SHARED,
>   	.name = DRV_NAME,
>   };
>
> diff --git a/drivers/clocksource/dw_apb_timer.c b/drivers/clocksource/dw_apb_timer.c
> index e54ca1062d8e..f3656a6b0382 100644
> --- a/drivers/clocksource/dw_apb_timer.c
> +++ b/drivers/clocksource/dw_apb_timer.c
> @@ -243,8 +243,7 @@ dw_apb_clockevent_init(int cpu, const char *name, unsigned rating,
>   	dw_ced->irqaction.dev_id	= &dw_ced->ced;
>   	dw_ced->irqaction.irq		= irq;
>   	dw_ced->irqaction.flags		= IRQF_TIMER | IRQF_IRQPOLL |
> -					  IRQF_NOBALANCING |
> -					  IRQF_DISABLED;
> +					  IRQF_NOBALANCING;
>
>   	dw_ced->eoi = apbt_eoi;
>   	err = setup_irq(irq, &dw_ced->irqaction);
> diff --git a/drivers/clocksource/nomadik-mtu.c b/drivers/clocksource/nomadik-mtu.c
> index ed7b73b508e0..152a3f3875ee 100644
> --- a/drivers/clocksource/nomadik-mtu.c
> +++ b/drivers/clocksource/nomadik-mtu.c
> @@ -187,7 +187,7 @@ static irqreturn_t nmdk_timer_interrupt(int irq, void *dev_id)
>
>   static struct irqaction nmdk_timer_irq = {
>   	.name		= "Nomadik Timer Tick",
> -	.flags		= IRQF_DISABLED | IRQF_TIMER,
> +	.flags		= IRQF_TIMER,
>   	.handler	= nmdk_timer_interrupt,
>   	.dev_id		= &nmdk_clkevt,
>   };
> diff --git a/drivers/clocksource/samsung_pwm_timer.c b/drivers/clocksource/samsung_pwm_timer.c
> index 85082e8d3052..5645cfc90c41 100644
> --- a/drivers/clocksource/samsung_pwm_timer.c
> +++ b/drivers/clocksource/samsung_pwm_timer.c
> @@ -264,7 +264,7 @@ static irqreturn_t samsung_clock_event_isr(int irq, void *dev_id)
>
>   static struct irqaction samsung_clock_event_irq = {
>   	.name		= "samsung_time_irq",
> -	.flags		= IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
> +	.flags		= IRQF_TIMER | IRQF_IRQPOLL,
>   	.handler	= samsung_clock_event_isr,
>   	.dev_id		= &time_event_device,
>   };
> diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c
> index 0965e9848b3d..c6186339dd52 100644
> --- a/drivers/clocksource/sh_cmt.c
> +++ b/drivers/clocksource/sh_cmt.c
> @@ -726,8 +726,7 @@ static int sh_cmt_setup(struct sh_cmt_priv *p, struct platform_device *pdev)
>   	p->irqaction.name = dev_name(&p->pdev->dev);
>   	p->irqaction.handler = sh_cmt_interrupt;
>   	p->irqaction.dev_id = p;
> -	p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | \
> -			     IRQF_IRQPOLL  | IRQF_NOBALANCING;
> +	p->irqaction.flags = IRQF_TIMER | IRQF_IRQPOLL | IRQF_NOBALANCING;
>
>   	/* get hold of clock */
>   	p->clk = clk_get(&p->pdev->dev, "cmt_fck");
> diff --git a/drivers/clocksource/sh_mtu2.c b/drivers/clocksource/sh_mtu2.c
> index 3cf12834681e..ec871bb1c146 100644
> --- a/drivers/clocksource/sh_mtu2.c
> +++ b/drivers/clocksource/sh_mtu2.c
> @@ -302,8 +302,7 @@ static int sh_mtu2_setup(struct sh_mtu2_priv *p, struct platform_device *pdev)
>   	p->irqaction.handler = sh_mtu2_interrupt;
>   	p->irqaction.dev_id = p;
>   	p->irqaction.irq = irq;
> -	p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | \
> -			     IRQF_IRQPOLL  | IRQF_NOBALANCING;
> +	p->irqaction.flags = IRQF_TIMER | IRQF_IRQPOLL | IRQF_NOBALANCING;
>
>   	/* get hold of clock */
>   	p->clk = clk_get(&p->pdev->dev, "mtu2_fck");
> diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c
> index 63557cda0a7d..75b935d53924 100644
> --- a/drivers/clocksource/sh_tmu.c
> +++ b/drivers/clocksource/sh_tmu.c
> @@ -462,8 +462,7 @@ static int sh_tmu_setup(struct sh_tmu_priv *p, struct platform_device *pdev)
>   	p->irqaction.handler = sh_tmu_interrupt;
>   	p->irqaction.dev_id = p;
>   	p->irqaction.irq = irq;
> -	p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | \
> -			     IRQF_IRQPOLL  | IRQF_NOBALANCING;
> +	p->irqaction.flags = IRQF_TIMER | IRQF_IRQPOLL | IRQF_NOBALANCING;
>
>   	/* get hold of clock */
>   	p->clk = clk_get(&p->pdev->dev, "tmu_fck");
>


-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

--
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