opensubscriber
   Find in this group all groups
 
Unknown more information…

l : linux-m68k@vger.kernel.org 19 February 2008 • 5:57PM -0500

Re: mac_esp bus error handling, was Re: setjmp/longjmp?
by Andreas Schwab

REPLY TO AUTHOR
 
REPLY TO GROUP




Finn Thain <fthain@tele...> writes:

> My best guess is that there is a crash when the driver interrupts the
> wrong task at the wrong time and then does some PDMA, which generates an
> (expected) bus error, but trapping that bus error somehow leaves the
> machine in the wrong state for the task that was interrupted, leading to
> the crash? Perhaps the PDMA bus error handler needs to do some sort of
> fixup in some circumstances?

The exception mechanism is designed to protect against invalid user
space addresses.  They cannot be used for protecting against invalid
kernel space addreses, which should never happen anyway.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse...
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@vger...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.