Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754933AbbFSRPR (ORCPT ); Fri, 19 Jun 2015 13:15:17 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:34913 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752406AbbFSRPP (ORCPT ); Fri, 19 Jun 2015 13:15:15 -0400 Date: Sat, 20 Jun 2015 02:14:31 +0900 From: Sergey Senozhatsky To: Jiang Liu Cc: Thomas Gleixner , Sergey Senozhatsky , Borislav Petkov , linux-kernel@vger.kernel.org, Sergey Senozhatsky Subject: Re: [-next] !irqd_can_balance() WARNINGs at irq_move_masked_irq() Message-ID: <20150619171431.GB1412@swordfish> References: <20150619071123.GA511@swordfish> <55843EC9.9000401@linux.intel.com> <55843F79.4000606@linux.intel.com> <5584418D.50408@linux.intel.com> <558447AF.30703@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <558447AF.30703@linux.intel.com> User-Agent: Mutt/1.5.23+89 (0255b37be491) (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1186 Lines: 37 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/