From: Clemens Koller <clemens.koller@anagramm•de>
To: murahari@samsung•com
Cc: "linuxppc-dev@ozlabs•org" <linuxppc-dev@ozlabs•org>
Subject: Re: copy_from_user problem
Date: Thu, 11 Aug 2005 13:02:32 +0200 [thread overview]
Message-ID: <42FB3048.7000202@anagramm.de> (raw)
In-Reply-To: <0IL100L2IEO6NG@ms13.samsung.com>
Hi, Murahari!
> I am working on a character driver for reading and writing the registers to FPGA
> in our system.
You didn't tell much about your system.
But checkout the examples in the book "Linux Device Drivers, 3rd Edition".
(http://lwn.net/images/pdf/LDD3/)
which is worth buying, too!
You might be missing some simple __user casts for your data
structures you want to copy...
And you might need to ioremap the memory area of your fpga or whatever
you need to access.
> epc : 8011f774 Tainted: GF
^^^^^^^^^^^
And you might end up with less support here if you use a tainted Kernel.
Greets,
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany
http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19
next prev parent reply other threads:[~2005-08-11 11:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-11 2:52 copy_from_user problem V MURAHARI
2005-08-11 11:02 ` Clemens Koller [this message]
2005-08-11 14:29 ` T Michael Turney
-- strict thread matches above, loose matches on Subject: below --
2008-02-26 1:47 Maynard Johnson
2008-02-26 2:56 ` Benjamin Herrenschmidt
2008-02-26 14:49 ` Maynard Johnson
2008-02-26 15:01 ` Nathan Lynch
2008-02-26 15:30 ` Nathan Lynch
2008-02-26 15:36 ` Maynard Johnson
2008-02-26 23:22 ` Benjamin Herrenschmidt
2008-02-27 12:27 ` Maynard Johnson
2008-02-27 12:40 ` Arnd Bergmann
2008-02-27 20:24 ` Benjamin Herrenschmidt
2008-02-26 5:29 ` Paul Mackerras
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=42FB3048.7000202@anagramm.de \
--to=clemens.koller@anagramm$(echo .)de \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=murahari@samsung$(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