Re: [PATCH] readX_relaxed interface
From: Jesse Barnes
Date: Fri Jan 16 2004 - 12:22:20 EST
On Thu, Jan 15, 2004 at 09:00:10PM -0800, Linus Torvalds wrote:
> If you care about machine check errors, use a special interface for that.
> A _really_ special one. Especially as on many systems you'll likely have
> to read status registers etc (and clear them before doing the IO) to see
> the errors.
>
> So that way you can get errors working, AND it won't actually make normal
> code any uglier.
How about one that allows you to register an error handling function for
a given address range and/or device? That would cover both read() and
write() cases, and would be optional so drivers wouldn't be forced to
become more complicated.
Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/