[PATCH][2.6] rtas error-inject support
Jake Moilanen
moilanen at austin.ibm.com
Wed Feb 4 03:27:30 EST 2004
> Wouldn't it simplify things if you had a read_proc function rather
> than having your ppc_rtas_errinjct_read function? As it is you must
> use copy_to_user rather than memcpy there.
>
Correct me if I'm wrong, but you can't use the file operations open and
release w/ read_proc. While it would simplify ppc_rtas_errinjct_read,
to do rtas error inject correctly, we need to have the open and close
file operation hooked. This will allow us to open and close the FW
errinjct facilities correctly.
One of the reasons the RPA architects designed error inject w/ this
"open token" in mind was to have only one error inject app to have
access to errinject at a time.
Thanks,
Jake
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list