From: "Travis B. Sawyer" <tsawyer+linuxppc@sandburst•com>
To: Matt Porter <mporter@kernel•crashing.org>
Cc: Ralph Siemsen <rsiemsen@rossvideo•com>,
ppcembed <linuxppc-embedded@ozlabs•org>
Subject: Re: 2.6 4xx GPIO OCP driver?
Date: Sat, 26 Feb 2005 17:31:20 -0500 [thread overview]
Message-ID: <4220F8B8.7040407@sandburst.com> (raw)
In-Reply-To: <20050225172941.A30499@cox.net>
Matt Porter wrote:
> On Fri, Feb 25, 2005 at 04:19:41PM -0500, Ralph Siemsen wrote:
>>Will that work on the 440 where the devices sit above 4GB mark? Or must
>>one rely on there being an existing TLB mapping to bring them into
>>32-bit space?
EINVAL.
mmap certainly didn't like the phys address of gpio. Tried that.
>
>
> Ack...that's the one thing we are missing. :-/ I had forgotten
> that driver/char/mem.c calls remap_pfn_range() directly rather
> than io_remap_page_range(). Had it called the latter, we'd be OK
> since the "bigphys" fixup could take place. We can fix /dev/mem to
> call io_remap_page_range() when on ppc32 && 36-bit phys...other arches
> do similar tricks in that driver.
>
Sounds like a plan, I'd be happy to test it out.
> If everybody is happy with mmaping /dev/mem then we can go try that
> route.
>
Thanx,
Travis
next prev parent reply other threads:[~2005-02-26 22:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-25 19:40 2.6 4xx GPIO OCP driver? Steven Blakeslee
2005-02-25 20:25 ` Travis B. Sawyer
2005-02-25 20:30 ` Matt Porter
2005-02-25 20:51 ` Travis B. Sawyer
2005-02-25 21:19 ` Ralph Siemsen
2005-02-26 0:29 ` Matt Porter
2005-02-26 22:31 ` Travis Sawyer
2005-02-26 22:31 ` Travis B. Sawyer [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-02-25 17:17 Travis B. Sawyer
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=4220F8B8.7040407@sandburst.com \
--to=tsawyer+linuxppc@sandburst$(echo .)com \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
--cc=mporter@kernel$(echo .)crashing.org \
--cc=rsiemsen@rossvideo$(echo .)com \
/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