]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r234561
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 26 May 2012 09:13:24 +0000 (09:13 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 26 May 2012 09:13:24 +0000 (09:13 +0000)
commitc631a393df43f0e1868c9da5721817f88ccb780f
tree0cde3f6ea0090e9ea09eb738fc909cf4f7a498fb
parenta7a4cc89cc77d37faf54b0772086e216da44a095
MFC: r234561

Interrupts must be disabled while handling a partial cache line flush,
as otherwise the interrupt handling code may modify data in the non-DMA
part of the cache line while we have it stashed away in the temporary
stack buffer, then we end up restoring a stale value.

PR: 160431
Submitted by: Ian Lepore

git-svn-id: svn://svn.freebsd.org/base/stable/9@236085 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/arm/busdma_machdep.c