From: Arne Georg Gleditsch <arne.gleditsch@numascale.com>
To: Steffen Persvold <sp@numascale.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
Daniel J Blueman <daniel@numascale-asia.com>,
Ingo Molnar <mingo@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
H Peter Anvin <hpa@zytor.com>,
linux-kernel@vger.kernel.org, x86@kernel.org,
Jesse Barnes <jbarnes@virtuousgeek.org>,
linux-pci@vger.kernel.org
Subject: Re: [PATCH 3/3] Add NumaChip quirk
Date: Tue, 25 Oct 2011 20:09:46 +0200 [thread overview]
Message-ID: <4EA6FB6A.2020800@numascale.com> (raw)
In-Reply-To: <4EA6F2F4.9080005@numascale.com>
On 25. okt. 2011 19:33, Steffen Persvold wrote:
> On 10/25/2011 19:15, Bjorn Helgaas wrote:
>> NumaChip sounds like an exception because you know you never care
>> about using those BARs. But I'm curious -- it looks like Linux didn't
>> even try to assign resources to them. I thought something in the
>> pci_assign_unassigned_resources() path would have tried to do
>> something with them. If we *did* assign resources to those BARs, I
>> assume nothing would break, since there's no driver that actually uses
>> them. Right?
>>
>
> Correct, the BARs are there and if something sensible were written to
> them (and MemorySpace was enabled in the Command register) NumaChip
> *would* respond to mmio accesses to that address range.
A minor point: adjusting the BARs would not strictly speaking be
sufficient for the NumaChip to respond, as it would never see these
accesses unless the [MMIO address range]->[HyperTransport node/link]
registers of the CPU NorthBridges were also updated with the relevant
ranges. This is a bit messy, but in a way much the same issue as when
secondary southbridges are connected to secondary CPUs in any other
HyperTransport-based system.
Perhaps an alternative to this NumaChip-specific quirk would be to
special-case BARs belonging to "PCI" devices 00:18 - 00:1f in AMD
Opteron systems. These always indicate coherent HT devices and fiddling
with the CPU NB maps are going to be required if anything is changed
regarding the BAR assignments here.
--
Arne.
next prev parent reply other threads:[~2011-10-25 19:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-18 8:22 [PATCH 1/3] Add Numachip APIC support Daniel J Blueman
2011-10-18 8:22 ` [PATCH 2/3] Add multi-node boot support Daniel J Blueman
2011-10-18 8:22 ` [PATCH 3/3] Add NumaChip quirk Daniel J Blueman
2011-10-25 13:54 ` Thomas Gleixner
2011-10-25 14:17 ` Jesse Barnes
2011-10-26 3:12 ` Daniel J Blueman
2011-10-25 14:38 ` Bjorn Helgaas
2011-10-25 15:36 ` Steffen Persvold
2011-10-25 17:15 ` Bjorn Helgaas
2011-10-25 17:33 ` Steffen Persvold
2011-10-25 18:09 ` Arne Georg Gleditsch [this message]
2011-10-25 20:03 ` Bjorn Helgaas
2011-10-25 19:57 ` Bjorn Helgaas
-- strict thread matches above, loose matches on Subject: below --
2011-10-26 6:07 [PATCH 1/3] Add Numachip APIC support Daniel J Blueman
2011-10-26 6:07 ` [PATCH 3/3] Add NumaChip quirk Daniel J Blueman
2011-07-22 10:44 [PATCH 1/3] Add Numachip APIC support Daniel J Blueman
2011-07-22 10:44 ` [PATCH 3/3] Add NumaChip quirk Daniel J Blueman
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=4EA6FB6A.2020800@numascale.com \
--to=arne.gleditsch@numascale.com \
--cc=bhelgaas@google.com \
--cc=daniel@numascale-asia.com \
--cc=hpa@zytor.com \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=sp@numascale.com \
--cc=tglx@linutronix.de \
--cc=x86@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.