lkml.org 
[lkml]   [2009]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] enable x2APIC without interrupt remapping under KVM

* Gleb Natapov <gleb@redhat.com> wrote:

> On Sun, Jul 19, 2009 at 06:27:35PM +0200, Ingo Molnar wrote:
> >
> > * Gleb Natapov <gleb@redhat.com> 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


\
 
 \ /
  Last update: 2009-07-19 20:01    [W:0.039 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site