From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: Arjan van de Ven <arjan@infradead.org>
Cc: OGAWA Hirofumi <hogawa@miraclelinux.com>,
Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH -mm] MMCONFIG: Fix x86_64 ioremap base_address
Date: Sat, 23 Dec 2006 20:49:49 +0900 [thread overview]
Message-ID: <87fyb6n86a.fsf@duaron.myhome.or.jp> (raw)
In-Reply-To: <1166869244.3281.590.camel@laptopd505.fenrus.org> (Arjan van de Ven's message of "Sat\, 23 Dec 2006 11\:20\:44 +0100")
Hi,
Arjan van de Ven <arjan@infradead.org> writes:
> On Sat, 2006-12-23 at 10:02 +0900, OGAWA Hirofumi wrote:
>> Current -mm's mmconfig has some problems of remapped range.
>>
>> a) In the case of broken MCFG tables on Asus etc., we need to remap
>> 256M range, but currently only remap 1M.
>
> I respectfully disagree. If the MCFG table is broken, we should not use
> it AT ALL. It's either a correct table, and we can use it, or it's so
> broken that we know it never has been tested etc etc, we're just better
> of to not trust it in that case.
Hm.. I see. Sounds sane to me. Well, my patch didn't add the new
workaround of broken table, it just fixes the oops of existence workaround.
Current workaround is the following (both of linus and -mm),
if (pci_mmcfg_config_num == 1 &&
cfg->pci_segment_group_number == 0 &&
(cfg->start_bus_number | cfg->end_bus_number) == 0)
/* Assume it can access 256M range */
But, if the system has bus number 0 only, it's a correct table.
We may need to detect the broken system. blacklist?
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
next prev parent reply other threads:[~2006-12-23 11:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-23 1:02 OGAWA Hirofumi
2006-12-23 10:20 ` Arjan van de Ven
2006-12-23 11:49 ` OGAWA Hirofumi [this message]
2006-12-25 12:36 ` Arjan van de Ven
2006-12-25 15:49 ` Olivier Galibert
2006-12-25 18:50 ` OGAWA Hirofumi
2006-12-25 19:01 ` OGAWA Hirofumi
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=87fyb6n86a.fsf@duaron.myhome.or.jp \
--to=hirofumi@mail.parknet.co.jp \
--cc=akpm@osdl.org \
--cc=arjan@infradead.org \
--cc=hogawa@miraclelinux.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®