Re: [PATCH] [irq] Fix boot failure when irqaffinity is passed.

2017-10-31 Thread Rakib Mullick
On Tue, Oct 31, 2017 at 5:29 PM, Ingo Molnar wrote: > > > Not applied, because this patch causes the following build warning: > > kernel/irq/irqdesc.c:43:6: warning: the address of ‘irq_default_affinity’ > will always evaluate as ‘true’ [-Waddress] > Ah, sorry I didn't look into the build log.

Re: [PATCH] [irq] Fix boot failure when irqaffinity is passed.

2017-10-31 Thread Ingo Molnar
* Rakib Mullick wrote: > When irqaffinity kernel param is passed in a CPUMASK_OFFSTACK=y build > kernel, it fails to boot. zalloc_cpumask_var() cannot be used before > initializing mm stuff (slab allocator) to allocate cpumask. So, use > alloc_bootmem_cpumask_var(). Also in init_irq_default_affi

[PATCH] [irq] Fix boot failure when irqaffinity is passed.

2017-10-25 Thread Rakib Mullick
When irqaffinity kernel param is passed in a CPUMASK_OFFSTACK=y build kernel, it fails to boot. zalloc_cpumask_var() cannot be used before initializing mm stuff (slab allocator) to allocate cpumask. So, use alloc_bootmem_cpumask_var(). Also in init_irq_default_affinity() removes unneeded ifdef, the