From: Arjan van de Ven <arjan@infradead.org>
To: "Yinghai Lu" <yhlu.kernel@gmail.com>
Cc: "Andi Kleen" <andi@firstfloor.org>, "Ingo Molnar" <mingo@elte.hu>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
"Andrew Morton" <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
"Pavel Machek" <pavel@ucw.cz>,
"Thomas Gleixner" <tglx@linutronix.de>,
"H. Anvin" <hpa@zytor.com>, "Greg Kroah-Hartman" <gregkh@suse.de>
Subject: Re: [rfc] hw resource debugging checks
Date: Mon, 14 Apr 2008 07:12:06 -0700 [thread overview]
Message-ID: <20080414071206.2a5ba029@laptopd505.fenrus.org> (raw)
In-Reply-To: <86802c440804132201j69ab8776lb331d906726a005c@mail.gmail.com>
On Sun, 13 Apr 2008 22:01:23 -0700
"Yinghai Lu" <yhlu.kernel@gmail.com> wrote:
> On Sun, Apr 13, 2008 at 8:52 PM, Arjan van de Ven
> <arjan@infradead.org> wrote:
> >
> > On Sun, 13 Apr 2008 12:29:30 -0700
> > "Yinghai Lu" <yhlu.kernel@gmail.com> wrote:
> >
> > > On Sun, Apr 13, 2008 at 11:29 AM, Andi Kleen
> > > <andi@firstfloor.org> wrote:
> > > > > even I could talk to BIOS
> > > > > engineers everyday and tell them how to fix the problem in
> > > > > BIOS, some still can not be fixed because of the legacy
> > > > > BIOS framework or big mess.
> > > >
> > > > ... so you opt to create the big mess in the kernel. Great.
> > > >
> > > > And it does not even fixes a real problem, but getting
> > > > mmconfig or the numa bus discovery to work is not really a too
> > > > serious issue anyways. At best it is the icing on the cake to
> > > > enable some relatively obscure functionality and be a little
> > > > more efficient, but nothing really fundamental.
> > > >
> > > > But for those things just expecting a working modern BIOS is
> > > > quite reasonable.
> > >
> > > it does fix real problem. when big system with several HT links,
> > > and every link some pcie slots.
> > > you fully load pci-e cards (with pci bridge). BIOS will stop
> > > assign io/mmio resource to left device if it run out of io port
> > > range. (though it is supposed to go on to allocate mmio to left
> > > devices) ( modern pcie device only need mmio with drivers)
> > >
> > > With pre set range allocation in NB pci conf, kernel could
> > > allocate the resource in every peer root bus ranges.
> > > (the code for assign resource to device that is not assigned
> > > resource by BIOS --- already in kernel)
> > >
> >
> > there is a really big difference between assigning PCI device
> > resources and doing a whole thing like MMCFG from scratch.
> >
> that MCONF patchset for AMD fam10h include
> 1. get mmconfig from MSR, MCFG is using that too, if that is right,
> and we will get MCONF support when acpi support is off, and MCFG is
> broken.
> 2. or assign 0xfc00000000 to that MSR, that is safe too.
using MCONF when the ACPI support isn't there is just a deathtrap.
To be honest, if you want to break the AMD machines out there, who am
I to care about that, I work for Intel. But I'm worried someone thinks
this can be done for Intel based systems too, and then carry over all
the bad bugs to those as well ;(
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
next prev parent reply other threads:[~2008-04-14 14:17 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 19:59 x86 git tree broken Rafael J. Wysocki
2008-04-10 20:13 ` Ingo Molnar
2008-04-10 20:25 ` Rafael J. Wysocki
2008-04-10 20:29 ` Ingo Molnar
2008-04-10 20:38 ` Ingo Molnar
2008-04-10 22:28 ` Rafael J. Wysocki
2008-04-11 19:26 ` x86 git tree broken (bisected) Rafael J. Wysocki
2008-04-11 20:23 ` Rafael J. Wysocki
2008-04-11 20:29 ` Rafael J. Wysocki
2008-04-11 20:26 ` Yinghai Lu
2008-04-11 20:51 ` Rafael J. Wysocki
2008-04-11 21:11 ` Yinghai Lu
2008-04-11 21:21 ` Rafael J. Wysocki
2008-04-11 21:31 ` Yinghai Lu
2008-04-13 8:24 ` Yinghai Lu
2008-04-13 8:41 ` Yinghai Lu
2008-04-13 16:14 ` Rafael J. Wysocki
2008-04-14 9:02 ` Ingo Molnar
2008-04-13 16:12 ` Rafael J. Wysocki
2008-04-13 18:07 ` Yinghai Lu
2008-04-13 18:47 ` Rafael J. Wysocki
2008-04-13 18:53 ` Yinghai Lu
2008-04-13 18:54 ` Yinghai Lu
2008-04-13 22:00 ` Yinghai Lu
2008-04-13 22:10 ` Rafael J. Wysocki
2008-04-13 22:32 ` Yinghai Lu
2008-04-13 23:41 ` Rafael J. Wysocki
2008-04-13 23:45 ` H. Peter Anvin
2008-04-14 0:09 ` Rafael J. Wysocki
2008-04-14 0:12 ` H. Peter Anvin
2008-04-14 0:19 ` Rafael J. Wysocki
2008-04-14 1:42 ` Yinghai Lu
2008-04-14 9:16 ` Ingo Molnar
2008-04-14 18:08 ` Yinghai Lu
2008-04-14 20:21 ` Rafael J. Wysocki
2008-04-14 21:06 ` Yinghai Lu
2008-04-14 21:09 ` Rafael J. Wysocki
2008-04-14 21:36 ` Yinghai Lu
2008-04-13 7:51 ` Ingo Molnar
2008-04-13 7:59 ` Yinghai Lu
2008-04-13 7:58 ` [rfc] hw resource debugging checks (was: Re: x86 git tree broken (bisected)) Ingo Molnar
2008-04-13 8:18 ` Yinghai Lu
2008-04-13 9:19 ` Ingo Molnar
2008-04-13 9:39 ` [rfc] hw resource debugging checks Andi Kleen
2008-04-13 17:53 ` Arjan van de Ven
2008-04-13 18:19 ` Yinghai Lu
2008-04-13 18:29 ` Andi Kleen
2008-04-13 19:29 ` Yinghai Lu
2008-04-14 3:52 ` Arjan van de Ven
2008-04-14 5:01 ` Yinghai Lu
2008-04-14 14:12 ` Arjan van de Ven [this message]
2008-04-14 18:11 ` Yinghai Lu
2008-04-13 15:48 ` [rfc] hw resource debugging checks (was: Re: x86 git tree broken (bisected)) Arjan van de Ven
2008-04-10 20:51 ` x86 git tree broken Ingo Molnar
2008-04-10 22:27 ` Rafael J. Wysocki
2008-04-11 6:43 ` 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=20080414071206.2a5ba029@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=andi@firstfloor.org \
--cc=gregkh@suse.de \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=pavel@ucw.cz \
--cc=rjw@sisk.pl \
--cc=tglx@linutronix.de \
--cc=yhlu.kernel@gmail.com \
/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
all inboxes | Powered by JetHome®