From: Grant Grundler <grundler@cup.hp.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] Dino PCI and I/O spaces
Date: Mon, 14 Jun 1999 17:48:20 -0700 [thread overview]
Message-ID: <199906150048.RAA19186@milano.cup.hp.com> (raw)
In-Reply-To: Your message of "Tue, 15 Jun 1999 00:05:46 PDT." <E10tfnY-0006em-00@the-village.bc.nu>
Alan Cox wrote:
> > > accesses. There seems to be no way to do byte sized config accesses, do
> > > I just read 32bits mask and write 32bits ?
> >
> > I thought Dino will forward the byte enables to the PCI bus.
> > PCI-PCI bridge numbering I think depends on this.
>
> So how do I set those. The documentaiton also says the low two bits of
> the register read back as 0. I guess that doesnt actually imply that the
> write of it has no affect.
The PCI_CONFIG_ADDR register (offset 0x64) is used to source the
word address. So it's not surprising the lower order bits are RO.
"Byte enables" are GSC and PCI bus signals - not register contents.
The PA processor generates byte enable signals on the GSC bus and
Dino forwards those for the appropriate bytes (swapped to match
the swapping/endian conversion done for the PCI_CONFIG_DATA register.)
The byte enable signals are taken when a processor read/write targets
the PCI_CONFIG_DATA register (offset 0x68). The contents of PCI_CONFIG_ADDR
and bytes enable signals from GSC bus are combined to generate a read/write
transaction on the PCI bus.
(Disclaimer: I'm not as certain of the above as it sounds though I
believe it's correct - remember, I'm a SW engineer :^)
> > On these boxes it's "uncomplicated" since the host physical address
> > is the same as the PCI bus address. I mention this since it's not
> > the case for all HP platforms.
>
> Ok. We have a clear notion of bus/physical/virtual seperation, and
> translation macros. Linux stuff all uses
>
> virt_to_bus() - to convert to bus space
> virt_to_phys() - to convert to physical space
Excellent.
later,
grant
>
> Alan
>
Grant Grundler
Enterprise Systems Technology Lab
+1.408.447.7253
prev parent reply other threads:[~1999-06-15 0:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-14 15:15 [parisc-linux] Dino PCI and I/O spaces Alan Cox
1999-06-14 15:21 ` Matthew Wilcox
1999-06-14 15:21 ` Alan Cox
1999-06-14 15:37 ` Matthew Wilcox
1999-06-14 16:10 ` Alan Cox
1999-06-14 20:15 ` Grant Grundler
1999-06-14 23:05 ` Alan Cox
1999-06-15 0:48 ` Grant Grundler [this message]
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=199906150048.RAA19186@milano.cup.hp.com \
--to=grundler@cup.hp.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=parisc-linux@thepuffingroup.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 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.