From: Muli Ben-Yehuda <muli@il.ibm.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Linus Torvalds <torvalds@osdl.org>,
linux-kernel@vger.kernel.org, Dave Jones <davej@redhat.com>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [patch] x86_64: fix boot hang caused by CALGARY_IOMMU_ENABLED_BY_DEFAULT
Date: Wed, 20 Dec 2006 20:09:53 +0200 [thread overview]
Message-ID: <20061220180953.GM30145@rhun.ibm.com> (raw)
In-Reply-To: <20061220162338.GC11804@elte.hu>
On Wed, Dec 20, 2006 at 05:23:38PM +0100, Ingo Molnar wrote:
> > I think that it makes sense to have it default y for the mainline
> > kernel and default n for the distro kernels, which is why I added the
> > option to make it possible to compile Calgary in but only enable it if
> > you want to use it. Previously if you compiled it in it would be used,
> > period. You may disagree, but fundamentally I think the mainline
> > kernel should be fairly experimental, which means enabling new code by
> > default.
>
> that's a totally wrong attitude - the mainline kernel is /not/
> experimental. A distro might or might not enable the new option, but
> we just dont enable experimental platform support code via "default
> y"...
I disagree, it seems to me most "experimental platform support code"
is simply enabled because it doesn't even have a CONFIG option (c.f.,
recent genirq and IO-APIC breakage on x86-64). With regards to this
specific option, you might even say that not defaulting to 'y' here
would be a regression in behaviour against previous released kernels,
which used Calgary if it was compiled in, no questions asked. So at
least in that sense, instructing the user to select y if unsure and
default y are appropriate.
> The other problem is that the changelog entry says that it's off by
> default, while in reality the new option switched this code on for
> my box, and broke it.
Sorry about that (both the wrong changelog entry and the fact that it
broke your box).
> > As to what actually happened, I'm betting your machine has both
> > Calgary and CalIOC2, the PCI-e version of Calgary, which is not yet
> > supported by pci-calgary.c. [...]
>
> no, what happened is what i described in my second patch. That 'new
> code' which was default-enabled had a bug which locked up my box.
Yes, I realized that once I've read your other mail.
Cheers,
Muli
next prev parent reply other threads:[~2006-12-20 18:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-20 10:28 [patch] x86_64: fix boot hang caused by CALGARY_IOMMU_ENABLED_BY_DEFAULT Ingo Molnar
2006-12-20 11:30 ` Muli Ben-Yehuda
2006-12-20 16:23 ` Ingo Molnar
2006-12-20 18:09 ` Muli Ben-Yehuda [this message]
2006-12-21 10:37 ` Ingo Molnar
2006-12-21 11:09 ` Muli Ben-Yehuda
2006-12-21 11:15 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061220180953.GM30145@rhun.ibm.com \
--to=muli@il.ibm.com \
--cc=akpm@osdl.org \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox