LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Alexey Dobriyan <adobriyan@sw.ru>, linux-kernel@vger.kernel.org
Subject: Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"
Date: Wed, 06 Feb 2008 07:49:52 +1100 [thread overview]
Message-ID: <1202244592.7079.68.camel@pasglop> (raw)
In-Reply-To: <86802c440802050207j60385efbif6f693dc0b1fd297@mail.gmail.com>
> so x86_64 will work well?
>
> the problem is that BIOS does not assign one resource for you tg3. and
> kernel pcibios_assign_to_unassign (?) try
> to assign resource to your card.
But the kernel shouldn't try to assign a resource in the 64 bits space
to a card behind a bridge... at least not a non-prefetchable resource
since those can't be forwarded (P2P bridges only define a 32 bits window
for non-prefetchable resources).
So it does look to me like the kernel may be doing something wrong. I
haven't had a chance to look at the logs in details yet (just woke up).
> revert the patch happen to work, you only have 2g less RAM (?), so
> 0x8000000 still can be used.
>
> sometime you could get hang if your MB have two HT chains. ...because
> BIOS already allocate two io range for the two chain.
> and kernel may assign resource from the range1 belong to HT1 to device
> under HT0.
> solution: need pci root bios to provide _CRS to replace...
> and i have one patch but it only take care of 64 bit kernel for this case.
>
>
> easy solution for you: try to get one updated BIOS.
next prev parent reply other threads:[~2008-02-05 20:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-04 15:12 Alexey Dobriyan
2008-02-04 21:54 ` Benjamin Herrenschmidt
2008-02-05 9:17 ` Alexey Dobriyan
2008-02-05 10:07 ` Yinghai Lu
2008-02-05 20:49 ` Benjamin Herrenschmidt [this message]
2008-02-06 10:05 ` Alexey Dobriyan
2008-02-06 10:40 ` Yinghai Lu
2008-02-06 21:15 ` Benjamin Herrenschmidt
2008-02-07 10:07 ` Alexey Dobriyan
2008-02-06 1:05 ` Benjamin Herrenschmidt
2008-02-04 21:57 ` Benjamin Herrenschmidt
2008-02-04 21:59 ` Benjamin Herrenschmidt
2008-02-13 22:52 ` Rafael J. Wysocki
2008-02-13 23:01 ` Benjamin Herrenschmidt
2008-02-13 23:03 ` Alexey Dobriyan
2008-02-13 23:06 ` Rafael J. Wysocki
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=1202244592.7079.68.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=adobriyan@sw.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=yhlu.kernel@gmail.com \
--subject='Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).