From: Benjamin Herrenschmidt <benh@kernel•crashing.org>
To: Arnd Bergmann <arnd@arndb•de>
Cc: Olof Johansson <olof@lixom•net>,
linuxppc-dev@ozlabs•org, paulus@samba•org
Subject: Re: [PATCH] powerpc: make ioport_map() handle already mapped ranges
Date: Sun, 13 May 2007 11:46:04 +1000 [thread overview]
Message-ID: <1179020764.32247.45.camel@localhost.localdomain> (raw)
In-Reply-To: <200705130155.42414.arnd@arndb.de>
> There is a global io space range for all buses, which is maintained
> by the reserve_phb_iospace() call. You should get your I/O ports in there
> if you want them to just work. Note that while the reserve_phb_iospace()
> logic works in practice, it does have a few shortcomings that should
> eventually be resolved:
The solution is to use proper allocators for these.
As you pointed out on irc, it seems like the current __get_vm_area()
could match our needs. It might allow us to also get rid of imalloc.
I'll give that a go tomorrow.
Ben.
prev parent reply other threads:[~2007-05-13 1:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-12 14:32 [PATCH] powerpc: make ioport_map() handle already mapped ranges Olof Johansson
2007-05-12 22:18 ` Arnd Bergmann
2007-05-12 22:36 ` Olof Johansson
2007-05-12 23:55 ` Arnd Bergmann
2007-05-13 1:46 ` Benjamin Herrenschmidt [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=1179020764.32247.45.camel@localhost.localdomain \
--to=benh@kernel$(echo .)crashing.org \
--cc=arnd@arndb$(echo .)de \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=olof@lixom$(echo .)net \
--cc=paulus@samba$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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