From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755022AbZGSR72 (ORCPT ); Sun, 19 Jul 2009 13:59:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754676AbZGSR71 (ORCPT ); Sun, 19 Jul 2009 13:59:27 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:43530 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754574AbZGSR70 (ORCPT ); Sun, 19 Jul 2009 13:59:26 -0400 Date: Sun, 19 Jul 2009 19:59:14 +0200 From: Ingo Molnar To: Gleb Natapov Cc: Suresh Siddha , "linux-kernel@vger.kernel.org" , Sheng Yang , "kvm@vger.kernel.org" , "avi@redhat.com" Subject: Re: [PATCH] enable x2APIC without interrupt remapping under KVM Message-ID: <20090719175914.GA27205@elte.hu> References: <20090719114411.GN5638@redhat.com> <20090719162735.GB19434@elte.hu> <20090719164059.GC14176@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090719164059.GC14176@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Gleb Natapov wrote: > On Sun, Jul 19, 2009 at 06:27:35PM +0200, Ingo Molnar wrote: > > > > * Gleb Natapov wrote: > > > > > + if (!ret) { > > > + /* IR is required if there is APIC ID > 255 even when running > > > + * under KVM > > > + */ > > > > Eeek. > > > > > + if (x2apic_preenabled) { > > > + panic("x2apic enabled by bios. But IR enabling failed." > > > + " Check that CONFIG_X86_X2APIC and CONFIG_INTR_REMAP are" > > > + " enabled."); > > > > We dont want to break such messages mid-line, it makes it hard to > > git-grep for them. Also, the '. But' looks weird. > > So what should I do? Make really long line? i'd suggest short ones generally, like: "x2apic: enabled by BIOS but kernel init failed." also, referring to whether the config are enabled is a bit lame - we are in the kernel so we should know whether they are enabled. Ingo