Re: [-next] !irqd_can_balance() WARNINGs at irq_move_masked_irq()

From: Sergey Senozhatsky
Date: Fri Jun 19 2015 - 13:15:20 EST


On (06/20/15 00:47), Jiang Liu wrote:
> Hi Sergey,
> Could you please help to apply the debug patch below
> and check the log message?
> Thanks!

Hi,
sure, as soon as I get back that box.

-ss

> Gerry
> --------------------------------------------------------------------
> diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c
> index 40cf79a55fe7..28a65d94fd89 100644
> --- a/arch/x86/kernel/hpet.c
> +++ b/arch/x86/kernel/hpet.c
> @@ -578,8 +578,11 @@ static void hpet_msi_capability_lookup(unsigned int
> start_timer)
> continue;
>
> irq = hpet_assign_irq(hpet_domain, hdev, hdev->num);
> - if (irq < 0)
> + if (irq <= 0) {
> + pr_warn("irqdomain: fails to allocate irq for
> hpet%d\n",
> + hdev->num);
> continue;
> + }
>
> sprintf(hdev->name, "hpet%d", i);
> hdev->num = i;
> -----------------------------------------------------------------------
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/