All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Montgomery <tjmontgo@mailbag.com>
To: linuxppc-dev <linuxppc-dev@lists.linuxppc.org>, tjmontgo@mailbag.com
Subject: 64 bit memory access
Date: Fri, 29 Dec 2000 11:08:55 -0600	[thread overview]
Message-ID: <3A4CC527.BF9431A7@mailbag.com> (raw)


Hello,

I have a quandary.

My platform is a PowerPC (MPC750) based embedded machine.

I have a device (memory-mapped) that I need to access that lives on an
internal peripheral bus but has the unfortunate constraint of allowing
only 64bit-wide writes.  Any write of a smaller width results in an
exception generated by the memory controller.

Drivers exist for this device for other, lesser OSs that use FP regs to
write the 64bit quantity to the bus (using lfd and stfd).  However, from
what I gather, using the FP regs in kernel drivers under Linux kernel
(2.4.0test12-based) seems to be a no-no.

I am afraid I am at an impasse.

I need to:
1.) figure out a way to perform a 64bit write via other means
OR
2.) make sure I don't screw up user mode FP usage (potential consequence
of dinking with FP while in the kernel?)

Any suggestions/insight would be appreciated.

Regards,
Tim

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2000-12-29 17:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-29 17:08 Tim Montgomery [this message]
2000-12-29 18:09 ` 64 bit memory access Dan Malek
2000-12-29 20:52   ` Tony Mantler

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=3A4CC527.BF9431A7@mailbag.com \
    --to=tjmontgo@mailbag.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 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.