From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Kumar Gala <kumar.gala@freescale.com>
Cc: Eugene Surovegin <ebs@ebshome.net>,
linuxppc-dev list <linuxppc-dev@lists.linuxppc.org>
Subject: Re: [RFC] Simple ioremap cache
Date: Mon, 07 Jun 2004 10:27:22 -0500 [thread overview]
Message-ID: <1086622041.10517.59.camel@gaston> (raw)
In-Reply-To: <2E7C06A3-B893-11D8-92B4-000393DBC2E8@freescale.com>
> > 1) Should this feature be enabled for all ppc32 archs or only for 4xx?
> > I
> > made ioremap profile for 2.6.6 kernel running on my G4 Powerbook and
> > haven't noticed a lot of ioremap regions overlap (there was one
> > instance where
> > my patch would have helped if I've increased cache size to 32 entries).
>
> This may be due to use of BATs on PPC Classic.
I don't think I use a BAT anymore for IOs on pmac. But I also don't
declare overlapping regions. The only places where I may actually
have a few overlaps are some parts of the mac-io ASIC like the DBDMA
regs since they are offset by 0x400 and I ioremap them separately
in each driver.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-06-07 15:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-05 0:29 [RFC] Simple ioremap cache Eugene Surovegin
2004-06-07 7:46 ` Marius Groeger
2004-06-07 8:48 ` Eugene Surovegin
2004-06-07 9:12 ` Marius Groeger
2004-06-07 9:26 ` Eugene Surovegin
2004-06-07 14:58 ` Kumar Gala
2004-06-07 15:27 ` Benjamin Herrenschmidt [this message]
2004-06-07 17:47 ` Kumar Gala
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=1086622041.10517.59.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=ebs@ebshome.net \
--cc=kumar.gala@freescale.com \
--cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).