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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux