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>] [day] [month] [year] [list]
Date:	Wed, 06 Dec 2006 08:03:57 +0100
From:	Thomas Gleixner <tglx@...utronix.de>
To:	akpm@...l.org
Cc:	seto.hidetoshi@...fujitsu.com, arjan@...radead.org, mingo@...e.hu,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: +
	cpei-gets-warning-at-kernel-irq-migrationc27-move_masked_irq.patch added to
	-mm tree

On Tue, 2006-12-05 at 22:44 -0800, akpm@...l.org wrote:
> It works, the warning disappeared and irqbalance still runs well.
> 
> Signed-off-by: Hidetoshi Seto <seto.hidetoshi@...fujitsu.com>
> Cc: Arjan van de Ven <arjan@...radead.org>
> Cc: Ingo Molnar <mingo@...e.hu>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Signed-off-by: Andrew Morton <akpm@...l.org>

Good catch.

Acked-by: Thomas Gleixner <tglx@...utronix.de>

> 
>  kernel/irq/proc.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff -puN kernel/irq/proc.c~cpei-gets-warning-at-kernel-irq-migrationc27-move_masked_irq kernel/irq/proc.c
> --- a/kernel/irq/proc.c~cpei-gets-warning-at-kernel-irq-migrationc27-move_masked_irq
> +++ a/kernel/irq/proc.c
> @@ -54,7 +54,8 @@ static int irq_affinity_write_proc(struc
>  	unsigned int irq = (int)(long)data, full_count = count, err;
>  	cpumask_t new_value, tmp;
>  
> -	if (!irq_desc[irq].chip->set_affinity || no_irq_affinity)
> +	if (!irq_desc[irq].chip->set_affinity || no_irq_affinity ||
> +				CHECK_IRQ_PER_CPU(irq_desc[irq].status))
>  		return -EIO;
>  
>  	err = cpumask_parse_user(buffer, count, new_value);
> _
> 
> Patches currently in -mm which might be from seto.hidetoshi@...fujitsu.com are
> 
> cpei-gets-warning-at-kernel-irq-migrationc27-move_masked_irq.patch
> 

-
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